From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [feature] Macros can't contain accents Date: Sat, 23 Jun 2012 10:58:49 +0200 Message-ID: <87bokao14m.fsf@gmail.com> References: <80ipejruq4.fsf@somewhere.org> <87k3yznmpk.fsf@gmail.com> <4FE55CCB.2000102@christianmoe.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SiMEO-0005FG-Be for emacs-orgmode@gnu.org; Sat, 23 Jun 2012 05:02:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SiMEM-0004z7-Ey for emacs-orgmode@gnu.org; Sat, 23 Jun 2012 05:02:11 -0400 Received: from plane.gmane.org ([80.91.229.3]:47076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SiMEM-0004yx-5Z for emacs-orgmode@gnu.org; Sat, 23 Jun 2012 05:02:10 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SiMEI-0004yE-QO for emacs-orgmode@gnu.org; Sat, 23 Jun 2012 11:02:06 +0200 In-Reply-To: <4FE55CCB.2000102@christianmoe.com> (Christian Moe's message of "Sat, 23 Jun 2012 08:06:03 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: mail@christianmoe.com Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org, Sebastien Vauban Hello, Christian Moe writes: > Accented and a variety of other non-ascii characters do work in > targets, IDs and CUSTOM_IDs, in my experience. Right. > Org-target-regexp is simply "<<\\([^<>]+\\)>>", so it's not > picky. Perhaps the same could be done for macros (replacing angle > brackets with curly braces), without screwing anything up...? I'd rather do the opposite and restrict them all: this kind of regexp is slow to parse and there is little gain to allow any character in targets since they are all invisible now. Regards, -- Nicolas Goaziou