From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Single outer smart quotes. Date: Sun, 13 Sep 2015 22:10:37 +0200 Message-ID: <877fnuulky.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34091) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbDa9-00024d-3x for emacs-orgmode@gnu.org; Sun, 13 Sep 2015 16:09:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZbDa8-0002RG-Af for emacs-orgmode@gnu.org; Sun, 13 Sep 2015 16:09:01 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:47610) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbDa8-0002R5-3Q for emacs-orgmode@gnu.org; Sun, 13 Sep 2015 16:09:00 -0400 In-Reply-To: (Leonard Randall's message of "Sat, 12 Sep 2015 01:34:57 +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: Leonard Randall Cc: emacs-orgmode Hello, Leonard Randall writes: > The new smart quotes algorithm does not seem to capture British style > quoting (single outer quotes, double inner quotes) correctly. It > treats all single quotes that are not enclosed in double quotes as > apostrophes. I assume that it was revised to deal with apostrophes > that occur on the outside of words, and I saw that it was updated > again just last week to deal with some edge cases. Correct. > Do you think that there is an easy way to make it recognise single > outer quotes without sacrificing the recent gains, or would it be > better just to treat American style quoting as the standard for source > files, and just add an en-gb entry to org-export-smart-quotes-alist > that converts double quotes to single quotes and vice versa? The latter. You can fix "en" entry in `org-export-smart-quotes-alist' and add a new "us" entry, if needed. Regards, -- Nicolas Goaziou