From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Re: unicode chars in org-emphasis-regexp-components Date: Wed, 02 Mar 2011 10:19:07 +0800 Message-ID: <87hbbmtgbo.fsf@ericabrahamsen.net> References: <87oc6aq1ws.fsf@ericabrahamsen.net> <877hcw70nf.fsf@gnu.org> <87zkpsm48u.fsf@ericabrahamsen.net> <87lj12afeu.fsf@gnu.org> <87ipw3kxep.fsf@ericabrahamsen.net> <87wrkilo09.fsf@gnu.org> 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=44508 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Puben-00074z-Ps for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 21:19:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pubem-0006iI-Ip for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 21:19:17 -0500 Received: from mail-yi0-f41.google.com ([209.85.218.41]:40474) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pubem-0006i9-GL for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 21:19:16 -0500 Received: by yib2 with SMTP id 2so2810391yib.0 for ; Tue, 01 Mar 2011 18:19:15 -0800 (PST) In-Reply-To: <87wrkilo09.fsf@gnu.org> (Bastien's message of "Tue, 01 Mar 2011 19:00:22 +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: Bastien Cc: emacs-orgmode@gnu.org On Wed, Mar 02 2011, Bastien wrote: > Hi Eric, > > Eric Abrahamsen writes: > >> Okay, I was getting confused by the escaped double quotes. I've set it >> properly, so far as I can tell, but it's still failing to recognize >> emphasis markers when they're next to my unicode characters, >> specifically=E2=80=94the m-dash and ellipsis=E2=80=A6 >> >> Is this somehow debuggable, say in an elisp REPL using internal >> functions? Can I provide any more useful information? > > Yes - you may share the new value of org-emphasis-regexp-components > (with unicode characters) so that we can try ourselves. Should be a > matter of using the right representation of these chars when setting=20 > the variable. Here goes. Hopefully the tabs and newlines and invisible characters and whatnot will come through properly. I expect gnus will try to strip unprintable characters. At any rate, all I've added is the m-dash and ellipsis to the first two strings (and changed the number of allowed newlines to 5). org-emphasis-regexp-components (" ('\"{=E2=80=A6=E2=80=94" "=E2=80=A6=E2=80=94- .,:!?;'\")}\\" "=20=09 ,\"'" "." 5) Thanks!