emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Starting emacs followed directly by org-agenda search and visiti


From: Mike McLean
Subject: Re: [O] Starting emacs followed directly by org-agenda search and visiting file removes color formatting
Date: Wed, 3 Jul 2013 07:12:05 -0400

Good Morning

Did you ever find a resolution for this? I am experiencing very similar, né identical, symptoms.

Mike



On Mon, May 20, 2013 at 6:47 PM, John Hendy <address@hidden> wrote:
On Mon, May 20, 2013 at 5:15 PM, John Hendy <address@hidden> wrote:
> Sorry for the long title, but that's the summary! I fired up a fresh
> Emacs session and used =C-a s search-term RET= to navigate to a
> headline in the results by putting the cursor on the line and pressing
> RET.
>
> The file text was all black.
>
> If I visited the file directly, I had the typical color-coded text for
> headlines/keywords. I decided to replicate with a minimal config, and
> I was able to. Here's the context of the min config:
>
> #+begin_min-config
> ;; set load paths
> ;; set load dirs and global config options
> (add-to-list 'load-path "~/.elisp/org.git/lisp/")
> (add-to-list 'load-path "~/.elisp/org.git/contrib/lisp")
> #+end_min-config
>
> This was on a work file, and I couldn't initially replicate with a
> test file... but it appears it has to do with my header options.
> Here's the test file:
>
> #+begin_src org
> #+setupfile: "~/org/aux/setupfile.org"
> #+options: <:t num:t author:t creator:nil tags:t toc:nil date:t
> #+latex_header: \usepackage{lscape}
> #+latex_header: \usepackage{amsmath}
>
> * Test headline
>
> Some paragraph just to give me a keyword to search for
>
> ** Sub headline
>
> Some more text in the next headline
> #+end_src
>
> My process:
> - emacs -Q
> - M-x load-file RET ~/path/to/min-config RET
> - C-x C-f /path/to/file.org RET
> - C-c [ to add to agenda list
> - C-x C-k RET to kill buffer
> - M-x org-agenda RET s RET text RET
> - Navigate to test.org matching line RET
> - File looks like attached pic
>
> I deleted everything but my #+setupfile line and it still does that.

Last bit of input -- when this behavior is displayed, if I C-c C-c on
my options block at the top of the file, it returns to fontified
behavior and stays that way (even if meddling with headlines). It
appears that navigating to a headline with various #+keyword lines is
not letting Org recognize something. Refreshing the setup seems to
handles this. This is on:

Org-mode version 8.0.3 (release_8.0.3-139-g419b69 @
/home/jwhendy/.elisp/org.git/lisp/)

Happy to try anything else or provide more info. For now, I think I've
made enough noise about this!


Thanks,
John

>
> Without any #+ options at the top of the file, it appears in color.
>
>
> John



reply via email to

[Prev in Thread] Current Thread [Next in Thread]