emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: org fontifies outside of src blocks


From: Dan Davison
Subject: [Orgmode] Re: org fontifies outside of src blocks
Date: Mon, 10 Jan 2011 18:20:30 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin)

"Thomas S. Dye" <address@hidden> writes:

> 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

The slowness and superfluous output to *Messages* during fontification
is something which emacs does on OS X which is not related to code
blocks or Org-mode. I think the default value of `font-lock-verbose'
should be changed to nil in emacs24. I'll suggest it.

Dan

> 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 <address@hidden> 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 <address@hidden> 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.
>>>>> address@hidden
>>>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>>>
>>>>
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode




reply via email to

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