From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: entity font-locking problem when inserting text in middle of buffer Date: Fri, 04 Jun 2010 08:05:25 +0100 Message-ID: <87ljavcm6i.wl%ucecesf@ucl.ac.uk> References: <87d3w7gbtq.wl%ucecesf@ucl.ac.uk> Reply-To: e.fraga@ucl.ac.uk Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Fri_Jun__4_08:05:25_2010-1" Return-path: Received: from [140.186.70.92] (port=57162 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OKQzG-0001MA-UI for emacs-orgmode@gnu.org; Fri, 04 Jun 2010 03:07:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OKQyQ-00081x-AE for emacs-orgmode@gnu.org; Fri, 04 Jun 2010 03:05:50 -0400 Received: from vscane-a.ucl.ac.uk ([144.82.108.41]:36790) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKQyQ-00081M-2k for emacs-orgmode@gnu.org; Fri, 04 Jun 2010 03:05:46 -0400 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: Carsten Dominik Cc: org-mode mailing list --Multipart_Fri_Jun__4_08:05:25_2010-1 Content-Type: text/plain; charset=US-ASCII On Fri, 4 Jun 2010 08:34:05 +0200, Carsten Dominik wrote: > > Hi Eric, > > On Jun 3, 2010, at 9:23 PM, Eric S Fraga wrote: > > > Hello, > > > > I don't think this is something that can be fixed but it has been > > driving me crazy so I thought I'd email to point it out in case > > anybody else runs into it. If you have org-pretty-entities set to t, > > org-mode does a lovely job of showing all kinds of characters. > > However, the regexp for the font-locking for this makes sense for when > > adding text to the end of a buffer or with point immediately before > > any :alnum: character (e.g. not a space). It makes less sense if you > > start inserting some text in the middle of a sentence, say, which I do > > often when writing papers... [...] > I think that it should behave much better now, please give it a try. > Also the problem in comment lines should be gone, hopefully. Both aspects working just fine this morning! Many thanks. > > If, instead, point were at the first "t" in "some text", there's no > > problem inserting "\left". > > Good opportunity to plug cdlatex.el. If you have it installed and > then turn on org-cdlatex-mode, one of the many things that will work > then is: yes, time to look at org-cdlatex-mode again. I did look at it a while ago but it kind of dropped out of my conscious mind because I didn't really need it at that time (partly because this was before org beamer support...). Thanks for the reminder. --Multipart_Fri_Jun__4_08:05:25_2010-1 Content-Type: text/plain; charset=US-ASCII -- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D --Multipart_Fri_Jun__4_08:05:25_2010-1 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --Multipart_Fri_Jun__4_08:05:25_2010-1--