emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* fontification lost when using org-goto
@ 2016-04-07 14:32 Julien Cubizolles
  2016-04-07 15:03 ` Adam Porter
  0 siblings, 1 reply; 3+ messages in thread
From: Julien Cubizolles @ 2016-04-07 14:32 UTC (permalink / raw)
  To: emacs-orgmode

I'm using an emacs theme for fontification. The fontification is lost
whenever I use org-goto: no more colors, no more hidden stars. When I
leave the temporary buffer, the fontification is not restored until I
run M-x org-mode or update the #+ lines with C-c C-c.

I've encountered this problem with several themes (dracula, naquadah)
but not with emacs -Q. Are there some special faces to define ?

Julien.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: fontification lost when using org-goto
  2016-04-07 14:32 fontification lost when using org-goto Julien Cubizolles
@ 2016-04-07 15:03 ` Adam Porter
  2016-04-07 15:53   ` Julien Cubizolles
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Porter @ 2016-04-07 15:03 UTC (permalink / raw)
  To: emacs-orgmode

Julien Cubizolles <j.cubizolles <at> free.fr> writes:

> I've encountered this problem with several themes (dracula, naquadah)
> but not with emacs -Q. Are there some special faces to define ?

There are quite a few org-mode faces, like org-level-{1..8} for headings. 
Do you see this behavior with all themes?  For example, I use solarized, and
I've never seen this problem.

I'm probably wrong, but I feel like it's not an issue with a theme.  What
version of Org are you using?

I suggest using a new, clean Emacs profile, installing Org and those themes,
and see if the problem still happens.  If so, it's either Org or a theme. 
If not, it's probably a different package conflicting.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: fontification lost when using org-goto
  2016-04-07 15:03 ` Adam Porter
@ 2016-04-07 15:53   ` Julien Cubizolles
  0 siblings, 0 replies; 3+ messages in thread
From: Julien Cubizolles @ 2016-04-07 15:53 UTC (permalink / raw)
  To: emacs-orgmode

Adam Porter <adam@alphapapa.net> writes:

> Julien Cubizolles <j.cubizolles <at> free.fr> writes:
>
>> I've encountered this problem with several themes (dracula, naquadah)
>> but not with emacs -Q. Are there some special faces to define ?
>
> There are quite a few org-mode faces, like org-level-{1..8} for headings. 
> Do you see this behavior with all themes?  For example, I use solarized, and
> I've never seen this problem.
>
> I'm probably wrong, but I feel like it's not an issue with a theme.

No you're not and I am. I investigated further and have narrowed the
problem to the #+SETUPFILE keyword. The following minimal org file
exhibits the problem: C-c C-j removes all fontification from the file,
whatever the theme. Another keyword (invalide like #+SETUP or valid
#+LATEX_HEADER:) doesn't trigger this bug.

--8<---------------cut here---------------start------------->8---
#+SETUPFILE: setup.org
* Bilan
--8<---------------cut here---------------end--------------->8---
  
Julien.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-07 15:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-07 14:32 fontification lost when using org-goto Julien Cubizolles
2016-04-07 15:03 ` Adam Porter
2016-04-07 15:53   ` Julien Cubizolles

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).