[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [DEV] Text quoting backports

From: Kyle Meyer
Subject: Re: [O] [DEV] Text quoting backports
Date: Sun, 06 Sep 2015 10:43:31 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Rasmus <address@hidden> writes:

> Isn't this dependent on Emacs 25? Currently maint target emacs 23 and master
> 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/'.*'/‘.*’/ and s/`.*'/‘.*’/ 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
   ’(("h" . "HOME + Name tag searches") ; describe prefix "h"


reply via email to

[Prev in Thread] Current Thread [Next in Thread]