From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: "Smart" quotes Date: Thu, 24 May 2012 00:17:03 +0200 Message-ID: <87d35u8rvk.fsf@gmail.com> References: <4FBB08CA.5060705@kli.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXJuX-0000uS-Df for emacs-orgmode@gnu.org; Wed, 23 May 2012 18:20:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SXJuV-0007L9-Jc for emacs-orgmode@gnu.org; Wed, 23 May 2012 18:20:04 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:52220) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXJuV-0007HE-BN for emacs-orgmode@gnu.org; Wed, 23 May 2012 18:20:03 -0400 Received: by wibhm14 with SMTP id hm14so4033885wib.12 for ; Wed, 23 May 2012 15:20:01 -0700 (PDT) In-Reply-To: <4FBB08CA.5060705@kli.org> (Mark E. Shoulson's message of "Mon, 21 May 2012 23:32:26 -0400") 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: "Mark E. Shoulson" Cc: org-mode mailing list Hello, "Mark E. Shoulson" writes: > "Smart" quotes can be annoying when they aren't smart enough. But when > they work you can miss them. I'm attaching a patch that defines a > custom variable org-smart-quotes (nil by default), which when non-nil > causes the " and ' characters to display as =E2=80=9Csmart=E2=80=9D quote= s, hopefully > the right ones. They're still ' and " in the underlying text, just > overlaid with =E2=80=9C=E2=80=9D. This is not related to entities, so code shouldn't be in org-entities.el. Also, quotes are dependent on locale[fn:1]. English/US only quotes look like a niche to me. Would it be possible to modify the patch and have this feature handle LANGUAGE keyword, or at least have a support for it? Regards, [fn:1] https://en.wikipedia.org/wiki/Non-English_usage_of_quotation_marks --=20 Nicolas Goaziou