emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] [CRASH] org-pretty-entities causes emacs to take 100% CPU


From: Eric Schulte
Subject: Re: [Orgmode] [CRASH] org-pretty-entities causes emacs to take 100% CPU
Date: Fri, 11 Feb 2011 15:26:54 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Vladimir Alexiev <address@hidden> writes:

> 1. Evaluate this:
> (setq org-entities-user  ; name latex math-p html ascii latin1 utf8
>       '(("ok" nil nil "&#2714;" "OK" "OK" "✔")
>         ("nok" nil nil "&#2718;" "NOK" "NOK" "✘")))
> (setq org-pretty-entities t)    ; \ok -> ✔ in buffer
>
> 2. Put this in an org buffer
> - \ok Deploy on x
> - \nok Deploy on y
> - \nok Use a hosted version 
> It should display the UTF graphic chars above (checkmark and cross)
>
> 3. Step on the mark and move around
> - left/right: ok
> - up: gives error "Args out of range"
> - down: causes emacs to take 100% CPU, no response, have to kill it
> GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2010-11-10 on SHAN-PC
>
> Not 100% sure the above is reproducible (got tired of having to kill my 
> emacs),
> but if someone takes up debugging, I'll give more precise steps
>

I followed your recipe above, and could not reproduce the error you
describe.  As a side note, I would suggest changing the
org-entities-user value to the following for correct html rendering (at
least using my browser -- chrome)

(setq org-entities-user  ; name latex math-p html ascii latin1 utf8
      '(("ok" nil nil "&#x2714;" "OK" "OK" "✔")
        ("nok" nil nil "&#x2718;" "NOK" "NOK" "✘")))

Best -- Eric



reply via email to

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