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 16:02:56 +0800 Message-ID: <87ipw2lzkf.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: 8bit Return-path: Received: from [140.186.70.92] (port=59973 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Puh1n-0000Fj-IB for emacs-orgmode@gnu.org; Wed, 02 Mar 2011 03:03:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Puh1m-0006NZ-MM for emacs-orgmode@gnu.org; Wed, 02 Mar 2011 03:03:23 -0500 Received: from lo.gmane.org ([80.91.229.12]:35707) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Puh1m-0006NM-EJ for emacs-orgmode@gnu.org; Wed, 02 Mar 2011 03:03:22 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Puh1h-0005MC-Q8 for emacs-orgmode@gnu.org; Wed, 02 Mar 2011 09:03:17 +0100 Received: from 123.121.226.108 ([123.121.226.108]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Mar 2011 09:03:17 +0100 Received: from eric by 123.121.226.108 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Mar 2011 09:03:17 +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 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—the m-dash and ellipsis… >> >> 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 > the variable. I just realized that many LaTeX-style macros will export correctly as HTML entities, so in a sense this isn't strictly necessary. If "---" turns into an m-dash in both HTML and LaTeX then the problem is more or less solved, though on principle I'd definitely prefer that unicode work correctly. Also, there doesn't seem to be a working macro for curly quotes to HTML… Thanks again, Eric