From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: [DEV] Text quoting backports Date: Sun, 06 Sep 2015 10:43:31 -0400 Message-ID: <87mvwzip64.fsf@kyleam.com> References: <87a8t0jctj.fsf@kyleam.com> 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]:58582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYbAT-0002CY-0t for emacs-orgmode@gnu.org; Sun, 06 Sep 2015 10:43:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZYbAP-00064X-0l for emacs-orgmode@gnu.org; Sun, 06 Sep 2015 10:43:40 -0400 Received: from mail-qg0-f41.google.com ([209.85.192.41]:33468) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYbAO-00064Q-TG for emacs-orgmode@gnu.org; Sun, 06 Sep 2015 10:43:36 -0400 Received: by qgev79 with SMTP id v79so47965065qge.0 for ; Sun, 06 Sep 2015 07:43:36 -0700 (PDT) In-Reply-To: (rasmus@gmx.us's message of "Sun, 6 Sep 2015 13:24:11 +0000 (UTC)") 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 Rasmus writes: > Isn't this dependent on Emacs 25? Currently maint target emacs 23 and mas= ter > targets 24.3. They will only affect Emacs 25 users, but IIUC none of these would break the any supported Emacs versions. If the Emacs version doesn't have functions that look at text-quoting-style and change the output, quotes should appear how they do in the source. This is part of my motivation for wanting to revert the s/'.*'/=E2=80=98.*=E2=80=99/ and s/`.*'/=E2=80=98.*=E2=80=99/ changes. = That way, if the installed Emacs has a function that substitutes based on text-quoting-style, fine. Otherwise, things look how they did. The one new function is format-message, which is given a defalias to format if it's not defined. So again, things should continue as usual when not running Emacs 25. The changes that protect single quotes in docstrings will work in earlier versions, but they are needed in Emacs 25 to avoid (setq org-agenda-custom-commands '((\"h\" . \"HOME + Name tag searches\") ; describe prefix \"h\" ... being displayed in the help buffer as (setq org-agenda-custom-commands =E2=80=99(("h" . "HOME + Name tag searches") ; describe prefix "h" ... -- Kyle