From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacob Gerlach Subject: Loss of Fontification partway through file Date: Wed, 18 Jun 2014 20:41:55 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c29df0d11b1704fc25a489 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxQQQ-0008Te-FI for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 20:41:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxQQP-0007ry-3p for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 20:41:58 -0400 Received: from mail-qg0-x235.google.com ([2607:f8b0:400d:c04::235]:52362) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxQQO-0007rs-Tq for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 20:41:57 -0400 Received: by mail-qg0-f53.google.com with SMTP id i50so1506397qgf.12 for ; Wed, 18 Jun 2014 17:41:56 -0700 (PDT) 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: emacs-orgmode@gnu.org --001a11c29df0d11b1704fc25a489 Content-Type: text/plain; charset=UTF-8 Hello List, I just converted my init file to an init.org to load with babel. I prefer to view the source blocks with font lock (org-src-fontify-natively). My problem is that certain parts of the file don't show the fontification. I had a lot of trouble narrowing down my init to provide a good MWE/recipe for the behavior, but I can reproduce it with: $ emacs -q test.org M-: (package-initialize) RET M-: (setq org-src-fontify-natively t) RET The src block in the level 2 headings of the third heading below doesn't fontify for me. Minor changes (even changing one of the commented load paths) fix the issue, but not in any way that seems predictable to me. If I move headings around in init.org, the exact location where fontification stops varies, but once it stops, all remaining src blocks are un-fontified. Am I violating some sort of convention that is hanging up the fontification code? Thanks for any tips, Jake --------test.org--------------------- * Heading with some add-to-list's (some commented) #+BEGIN_SRC emacs-lisp :tangle yes (add-to-list 'foo "bar") ;; (add-to-list 'load-path "~/.emacs.d/jake-lisp/moos-mode/trunk") ;; (add-to-list 'load-path "~/.emacs.d/jake-lisp/moos-mode/devel") (add-to-list 'load-path "/home/jacob/.emacs.d/jake-lisp/ai-moos/devel") #+END_SRC * Heading with Note Note: Loading and initializing of package is done in .emacs to ensure that the newer version of org is loaded from elpa in favor of the version distributed with emacs #+BEGIN_SRC emacs-lisp :tangle yes (add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/")) #+END_SRC * Offending section ** Offending subsection #+BEGIN_SRC emacs-lisp :tangle yes (message "foobar") #+END_SRC ------------------------------------- org-version is a variable defined in `org.el'. Its value is "8.2.6" emacs-version is a variable defined in `C source code'. Its value is "24.3.1" --001a11c29df0d11b1704fc25a489 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello List,

I just converted= my init file to an init.org to load with b= abel. I
prefer to view the source blocks with font lock
(org-src-fontify-natively). My problem is that certain parts of the
file don't show the fontification.

I had a = lot of trouble narrowing down my init to provide a good
MWE/recip= e for the behavior, but I can reproduce it with:=C2=A0

$ emacs -q test.org
M-: (package-initialize) RET
M-: (setq org-src-fontify-natively t) RET

The src block in the level 2 headings of the third head= ing below
doesn't fontify for me. Minor changes (even changin= g one of the
commented load paths) fix the issue, but not in any = way that seems
predictable to me.

If I move headings around = in init.org, the exact location where
=
fontification stops varies, but once it stops, all remaining src
blocks are un-fontified.

Am I violating some = sort of convention that is hanging up the
fontification code?

Thanks for any tips,
Jake

--------test.org----------= -----------
* Headin= g with some add-to-list's (some commented)
#+BEGIN_SRC emacs-lisp :tangle yes
(add-to-list 'foo "bar&= quot;)
;; (add-to-li= st 'load-path "~/.emacs.d/jake-lisp/moos-mode/trunk")<= /div>
;; (add-to-list 'load-path &= quot;~/.emacs.d/jake-lisp/moos-mode/devel")
(add-to-list 'load-path "/home/jacob/= .emacs.d/jake-lisp/ai-moos/devel")
#+END_SRC
* Heading with Note
Note: Loading a= nd initializing of package is done in .emacs to
ensure that the newer version of org is loaded from elpa= in favor of
the version distributed with em= acs
#+BEGIN_SRC emacs-lisp :tangle yes
(add-to-list 'package-archives=
=C2=A0 =C2=A0 '("marmal= ade" .
=C2=A0 = =C2=A0 =C2=A0 "http://= marmalade-repo.org/packages/"))
#+END_SRC
* Offending section
** Offending subsection
#+BEGIN_SRC emacs-lisp :tangle yes
(message "foobar")
=
#+END_SRC
-------------------------------------

org-version is a va= riable defined in `org.el'.
Its value is "8.2.6"

emacs-version is a = variable defined in `C source code'.
Its value is "24.3.1"

<= /div>
--001a11c29df0d11b1704fc25a489--