From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: bug in org-export-smart-quotes Date: Fri, 27 Mar 2015 19:35:15 -0400 Message-ID: <871tka3tfw.fsf@alphaville.usersys.redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ybdmu-0005HI-6A for emacs-orgmode@gnu.org; Fri, 27 Mar 2015 19:35:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ybdmp-00060u-5Q for emacs-orgmode@gnu.org; Fri, 27 Mar 2015 19:35:40 -0400 Received: from plane.gmane.org ([80.91.229.3]:46120) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ybdmo-00060m-VQ for emacs-orgmode@gnu.org; Fri, 27 Mar 2015 19:35:35 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ybdmm-00058L-Nh for emacs-orgmode@gnu.org; Sat, 28 Mar 2015 00:35:32 +0100 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 Mar 2015 00:35:32 +0100 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 Mar 2015 00:35:32 +0100 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: emacs-orgmode@gnu.org Jay Dixit writes: > Thanks for the suggestion. Putting extra spaces in the original solves > the smart quotes issue, but creates unwanted spaces on either side of > the em dash: > I understand but I can't really help. If I'm right that the regexps are looking for a space[fn:1] (and that's a big if), then the only way to fix it is to modify one or more of them (see org-export-smart-quotes-regexps, which btw is a defconst, so not really meant to be modified), but I'm not up to that task. Let's hope that I'm wrong and somebody comes up with a simpler solution. Nick Footnotes: [fn:1] or, rather, for something that the dash does not satisfy