From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike McLean Subject: Re: Starting emacs followed directly by org-agenda search and visiting file removes color formatting Date: Wed, 3 Jul 2013 07:12:05 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7ba9797259a1a104e0998968 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuKzC-0001FA-Sa for emacs-orgmode@gnu.org; Wed, 03 Jul 2013 07:12:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuKzB-0000HS-0E for emacs-orgmode@gnu.org; Wed, 03 Jul 2013 07:12:34 -0400 Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:65406 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuKzA-0000Ga-SU for emacs-orgmode@gnu.org; Wed, 03 Jul 2013 07:12:32 -0400 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id B3B2AC228 for ; Wed, 3 Jul 2013 07:12:27 -0400 (EDT) Received: from a-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id ABD71C227 for ; Wed, 3 Jul 2013 07:12:27 -0400 (EDT) Received: from mail-ie0-f170.google.com (unknown [209.85.223.170]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 499D4C224 for ; Wed, 3 Jul 2013 07:12:27 -0400 (EDT) Received: by mail-ie0-f170.google.com with SMTP id e11so15424926iej.29 for ; Wed, 03 Jul 2013 04:12:25 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Hendy Cc: emacs-orgmode --047d7ba9797259a1a104e0998968 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Good Morning Did you ever find a resolution for this? I am experiencing very similar, n= =C3=A9 identical, symptoms. Mike On Mon, May 20, 2013 at 6:47 PM, John Hendy wrote: > On Mon, May 20, 2013 at 5:15 PM, John Hendy wrote: > > Sorry for the long title, but that's the summary! I fired up a fresh > > Emacs session and used =3DC-a s search-term RET=3D 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 > > --047d7ba9797259a1a104e0998968 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Good Morning

Did you ever find a = resolution for this? I am experiencing very similar, n=C3=A9 identical, sym= ptoms.

Mike

=


On Mon, May 2= 0, 2013 at 6:47 PM, John Hendy <jw.hendy@gmail.com> wrote:<= br>
On Mon, May 20, 2013 at 5:15 PM, John Hendy <jw.hendy@gmail.com> wrote:
> Sorry for the long title, but that's = the summary! I fired up a fresh
> Emacs session and used =3DC-a s search-term RET=3D 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<= br> > 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<= br> made enough noise about this!


Thanks,
John

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


--047d7ba9797259a1a104e0998968--