From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Smart left single quote broken Date: Wed, 02 Sep 2015 15:38:29 +0200 Message-ID: <87io7t0wmi.fsf@nicolasgoaziou.fr> References: <87fv2xry1p.fsf@jack.tftorrey.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZX8Dp-0000yN-9s for emacs-orgmode@gnu.org; Wed, 02 Sep 2015 09:37:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZX8Dj-0001iz-Kj for emacs-orgmode@gnu.org; Wed, 02 Sep 2015 09:37:05 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:56660) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZX8Dj-0001XU-E4 for emacs-orgmode@gnu.org; Wed, 02 Sep 2015 09:36:59 -0400 In-Reply-To: <87fv2xry1p.fsf@jack.tftorrey.com> (T. F. Torrey's message of "Wed, 02 Sep 2015 02:05:38 -0700") 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: "T.F. Torrey" Cc: emacs-orgmode@gnu.org Hello, "T.F. Torrey" writes: > The smart quote code has gotten a little borked, at least in HTML. > > This: > > #+BEGIN_EXAMPLE > He said, "You should believe me, 'cause it's 'true'." > #+END_EXAMPLE > > Exports to this: > > #+BEGIN_EXAMPLE >

> He said, “You should believe me, ’cause it’s > ’true’.” >

> #+END_EXAMPLE > > The quote before "true" should be a left single quote, and it used to > be, There is indeed a bug, thank you. I'm going to fix it. > like this: > > #+BEGIN_EXAMPLE >

> He said, “You should believe me, ’cause it’s > ‘true’.” >

> #+END_EXAMPLE I don't think we ever achieved this result. At best, we can obtain: He said, “You should believe me, ‘cause it’s ‘true’.” I doubt it is possible to tell that 'cause begins with an apostrophe and not an opening single quote without grammatical analysis. Regards, -- Nicolas Goaziou