From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: unicode chars in org-emphasis-regexp-components Date: Sat, 19 Feb 2011 23:30:09 +0800 Message-ID: <87zkpsm48u.fsf@ericabrahamsen.net> References: <87oc6aq1ws.fsf@ericabrahamsen.net> <877hcw70nf.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=41105 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqolQ-0006fT-8z for emacs-orgmode@gnu.org; Sat, 19 Feb 2011 10:30:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqolP-00039m-40 for emacs-orgmode@gnu.org; Sat, 19 Feb 2011 10:30:28 -0500 Received: from lo.gmane.org ([80.91.229.12]:59097) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqolO-00039X-Ue for emacs-orgmode@gnu.org; Sat, 19 Feb 2011 10:30:27 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PqolN-0007D6-2U for emacs-orgmode@gnu.org; Sat, 19 Feb 2011 16:30:25 +0100 Received: from 123.121.209.127 ([123.121.209.127]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 19 Feb 2011 16:30:25 +0100 Received: from eric by 123.121.209.127 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 19 Feb 2011 16:30:25 +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 Sat, Feb 19 2011, Bastien wrote: > Hi Eric, > > Eric Abrahamsen writes: > >> Hi, I do a lot of plain text writing in org, and would love to be able >> to allow emphasis markup when it's up flush against m-dashes (x2014), >> n-dashes (x2013), and ellipses (x2026), possibly among other things. >> When I try to add these characters to org-emphasis-regexp-components via >> the customize interface, emacs complains about "junk at end of >> expression: —…–" and won't let me save it. Unicode's not junk! > > Can you share the value of your org-emphasis-regexp-components variable > so that we can test it? Also please tell us what version of Org/Emacs > you are using, especially if this turns out to be an Emacs issue. > > Thanks, I don't think I've changed this from the default: org-emphasis-regexp-components: (" ('\"{" "- .,:!?;'\")}\\" " \n,\"'" "." 5) org-version: Org-mode version 7.4 (release_7.4.400.gc7700) emacs-version: GNU Emacs 23.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0) of 2010-10-19 I'd kind of suspect the customize interface here, but I really don't know how to go about setting this variable properly with setq. Thanks! Eric