From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: Re: org fontifies outside of src blocks Date: Mon, 10 Jan 2011 05:31:25 -1000 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=41539 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcJiW-00038f-9L for emacs-orgmode@gnu.org; Mon, 10 Jan 2011 10:31:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PcJiV-00048o-5O for emacs-orgmode@gnu.org; Mon, 10 Jan 2011 10:31:32 -0500 Received: from oproxy3-pub.bluehost.com ([69.89.21.8]:34114) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PcJiU-00048T-Vr for emacs-orgmode@gnu.org; Mon, 10 Jan 2011 10:31:31 -0500 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dan Davison Cc: emacs-orgmode@gnu.org Hi Dan and Jeff, I remember slow response time and output to *Messages* when working outside code blocks, but no erroneous fontification of text outside code blocks. My hunch at the time was that emacs was determining what text to display and how to fontify it, and that it would do this regardless of whether code blocks were actually displayed. It has been a while since someone on the list pointed out the fix to me, but I haven't run into any problems since then and my buffers are fontified correctly. All the best, Tom On Jan 10, 2011, at 3:06 AM, Dan Davison wrote: > Jeff Horn writes: > >> Beautiful. Thanks, Tom! > > Hi Jeff, so you had two problems: > > 1. Erroneous fontification outside of blocks > 2. Slowness and too much output to *Messages* > > I was aware that Tom's fix fixes (2) on OS X, but I haven't heard of > (1) > before. Isn't it a bit weird that the same fix should fix (1)? > > Dan > >> >> On Sun, Jan 9, 2011 at 10:16 PM, Thomas S. Dye wrote: >>> Aloha Jeff, >>> >>> I think I had this issue. IIRC, this is a Mac issue. I think you >>> can fix >>> it with this: >>> >>> (setq font-lock-verbose nil) >>> >>> If not, let me know and I'll look harder. >>> >>> Tom >>> >>> On Jan 9, 2011, at 4:54 PM, Jeff Horn wrote: >>> >>>> Hey list, >>>> >>>> I have an annoying issue. When in *either* Aquamacs or terminal >>>> emacs, >>>> if I view my init file (it's in org rather than elisp) and I edit >>>> *anything* in the buffer, org attempts to fontify the text as >>>> emacs-lisp. >>>> >>>> It takes a few seconds for anything to show up in windowed emacsen. >>>> Terminal experiences no lag, so it's less of an issue. After >>>> typing a >>>> sentences, the message buffer has tens of instances of the >>>> following >>>> text: >>>> >>>> Fontifying org-src-fontification:emacs-lisp-mode... >>>> (regexps.................) >>>> >>>> Is this the expected behavior? I like fontification. I just only >>>> expect it to happen within a block, not outside of it. And yes, >>>> all of >>>> the blocks are closed correctly (I've double checked, but I used >>>> yasnippet to fill the buffer in the first place). >>>> >>>> Where should I start looking? :) >>>> >>>> -- >>>> Jeffrey Horn >>>> http://www.failuretorefrain.com/jeff/ >>>> >>>> _______________________________________________ >>>> Emacs-orgmode mailing list >>>> Please use `Reply All' to send replies to the list. >>>> Emacs-orgmode@gnu.org >>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >>> >>> > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode