From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Bochannek Subject: Re: Version 4.12 released Date: Thu, 23 Mar 2006 17:32:58 -0800 Message-ID: References: <5492cd0eaaf0116486b7ddd5c11c6ffc@science.uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FMbAt-0006bD-22 for emacs-orgmode@gnu.org; Thu, 23 Mar 2006 20:33:11 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FMbAr-0006b1-0V for emacs-orgmode@gnu.org; Thu, 23 Mar 2006 20:33:10 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FMbAq-0006ay-Jh for emacs-orgmode@gnu.org; Thu, 23 Mar 2006 20:33:08 -0500 Received: from [207.17.137.57] (helo=colo-dns-ext1.juniper.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1FMbBY-000426-6R for emacs-orgmode@gnu.org; Thu, 23 Mar 2006 20:33:52 -0500 Received: from merlot.juniper.net (merlot.juniper.net [172.17.27.10]) by colo-dns-ext1.juniper.net (8.11.3/8.9.3) with ESMTP id k2O1X5X47070 for ; Thu, 23 Mar 2006 17:33:05 -0800 (PST) (envelope-from alexb@juniper.net) Received: from ALEXB-LT ([172.23.1.3]) by merlot.juniper.net (8.11.3/8.11.3) with ESMTP id k2O1Wx504763 for ; Thu, 23 Mar 2006 17:32:59 -0800 (PST) (envelope-from alexb@juniper.net) In-Reply-To: <5492cd0eaaf0116486b7ddd5c11c6ffc@science.uva.nl> (Carsten Dominik's message of "Tue, 21 Mar 2006 16:59:50 +0100") 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: emacs-orgmode@gnu.org I looked over the emphasis expressions again and I really think it would be useful to allow non-emphasis symbol characters and single spaces. I have experimented a bit and the following *should* work, but for some reason sends my EmacsW32 into an infinite loop when I open a .org file. (if em '("\\(\\W\\|^\\)\\(\\*\\([[:graph:]]+?[ ]?\\)+?[[:graph:]]+?\\*\\)\\(\\W\\|$\\)" 2 'bold)) Suggestions as to what the problem might be are welcome. Also, I think the change to \W as delimiters is probably a good idea, but something more explicit may make more sense. I am thinking along the lines of "[[:punct:][:space:]]" as I had suggested earlier. I guess it would really depend on where one would expect to see an emphasized word. Keep in mind that $ and % are part of character class \w for example. Alex.