emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: Vladimir Alexiev <vladimir@sirma.bg>
Cc: emacs-orgmode@gnu.org
Subject: Re: [CRASH] org-pretty-entities causes emacs to take 100% CPU
Date: Fri, 11 Feb 2011 15:26:54 -0700	[thread overview]
Message-ID: <87lj1mb429.fsf@gmail.com> (raw)
In-Reply-To: <loom.20110131T133610-124@post.gmane.org> (Vladimir Alexiev's message of "Mon, 31 Jan 2011 12:45:31 +0000 (UTC)")

Vladimir Alexiev <vladimir@sirma.bg> 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	other threads:[~2011-02-11 22:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-31 12:45 [CRASH] org-pretty-entities causes emacs to take 100% CPU Vladimir Alexiev
2011-02-11 22:26 ` Eric Schulte [this message]
2011-02-15  8:15   ` Vladimir Alexiev
2011-02-16 10:59     ` Bastien
2011-02-17 12:20       ` Vladimir Alexiev
2011-02-18  9:20         ` Bastien
2011-02-19  2:32           ` Lennart Borgman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lj1mb429.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=vladimir@sirma.bg \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).