From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: [CRASH] org-pretty-entities causes emacs to take 100% CPU Date: Fri, 11 Feb 2011 15:26:54 -0700 Message-ID: <87lj1mb429.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=57159 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Po1SB-0002li-Bg for emacs-orgmode@gnu.org; Fri, 11 Feb 2011 17:27:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Po1S9-0003Q0-V9 for emacs-orgmode@gnu.org; Fri, 11 Feb 2011 17:27:03 -0500 Received: from mail-gx0-f169.google.com ([209.85.161.169]:46749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Po1S9-0003Pv-QW for emacs-orgmode@gnu.org; Fri, 11 Feb 2011 17:27:01 -0500 Received: by gxk5 with SMTP id 5so1406071gxk.0 for ; Fri, 11 Feb 2011 14:27:01 -0800 (PST) In-Reply-To: (Vladimir Alexiev's message of "Mon, 31 Jan 2011 12:45:31 +0000 (UTC)") 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: Vladimir Alexiev Cc: emacs-orgmode@gnu.org Vladimir Alexiev writes: > 1. Evaluate this: > (setq org-entities-user ; name latex math-p html ascii latin1 utf8 > '(("ok" nil nil "ચ" "OK" "OK" "=E2=9C=94") > ("nok" nil nil "ઞ" "NOK" "NOK" "=E2=9C=98"))) > (setq org-pretty-entities t) ; \ok -> =E2=9C=94 in buffer > > 2. Put this in an org buffer > - \ok Deploy on x > - \nok Deploy on y > - \nok Use a hosted version=20 > 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 e= macs), > 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 "✔" "OK" "OK" "=E2=9C=94") ("nok" nil nil "✘" "NOK" "NOK" "=E2=9C=98"))) Best -- Eric