From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [bug?, ox] smartquotes and lines Date: Sun, 22 Feb 2015 18:43:51 +0100 Message-ID: <87twyd6duw.fsf@nicolasgoaziou.fr> References: <87egphg9di.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPaYK-0004dW-Lc for emacs-orgmode@gnu.org; Sun, 22 Feb 2015 12:42:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPaYF-00038j-Kk for emacs-orgmode@gnu.org; Sun, 22 Feb 2015 12:42:48 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:34318) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPaYF-00038b-Ed for emacs-orgmode@gnu.org; Sun, 22 Feb 2015 12:42:43 -0500 In-Reply-To: <87egphg9di.fsf@gmx.us> (rasmus@gmx.us's message of "Sun, 22 Feb 2015 18:10:33 +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: Rasmus Cc: emacs-orgmode@gnu.org Hello, Rasmus writes: > Consider this example: > > #+OPTIONS: ':t > "foo"---"bar" > > Expected output is (IMO) something like =E2=80=9Cfoo=E2=80=9D=E2=80=94=E2= =80=9Cbar=E2=80=9D. Actual output is > something like =E2=80=9Cfoo"=E2=80=94"bar=E2=80=9D, i.e. the quotes very = close to the em-dash are > not replaced. Note you can get the desired output by adding spaces around > the em-dash but that's undesirable in this case. > > Is this a feature? This is a limitation due to the regexps used by smart quotes. You can always defeat them. Regards, --=20 Nicolas Goaziou