From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [Orgmode] Emphasis font-lock question. Date: Fri, 8 Sep 2006 14:27:23 +0200 Message-ID: <6905fe866ab79ff425d2c7e1ce1a166b@science.uva.nl> References: Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GLfSJ-000329-Us for emacs-orgmode@gnu.org; Fri, 08 Sep 2006 08:27:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GLfSI-0002xu-4T for emacs-orgmode@gnu.org; Fri, 08 Sep 2006 08:27:35 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLfSH-0002xX-Sd for emacs-orgmode@gnu.org; Fri, 08 Sep 2006 08:27:33 -0400 Received: from [146.50.4.51] (helo=imap.science.uva.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GLfSs-0003br-EK for emacs-orgmode@gnu.org; Fri, 08 Sep 2006 08:28:10 -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: Alex Bochannek Cc: emacs-orgmode On Sep 8, 2006, at 8:59, Alex Bochannek wrote: > I just upgraded to 4.47 after being on 4.12 since March and noticed > that emphasis font locking has changed a bit. I like the way it's been > rewritten, but org-emph-re still doesn't match a typical pattern I > use. For example: > > */usr/local/bin* > > Since org-emph-re uses "[^" border markers "]", and the first / is > part of markers, it won't emphasize. For now, I simply removed the > markers from the two character classes, but I thought I should run the > issue by people here. If I remember correctly, these classes are necessary to make emphasis work correctly with stacked emphasis, for example */this is italic and bold at the same time/*. I guess I could take them out if stacking is forbidden, in this case you example would fontify. Comments? - Carsten > > Comments? > > Alex. > > > _______________________________________________ > Emacs-orgmode mailing list > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477