From: Paul Eggert <eggert@cs.ucla.edu>
To: Alan Mackenzie <acm@muc.de>, emacs-devel@gnu.org
Subject: Re: Translation of single quotes in doc strings is now optional.
Date: Fri, 19 Jun 2015 01:13:55 -0700 [thread overview]
Message-ID: <5583CF43.8080207@cs.ucla.edu> (raw)
In-Reply-To: <20150618212538.GB4812@acm.fritz.box>
Alan Mackenzie wrote:
> Please regard this as a quick fix to ease problems that we've already
> discussed extensively elsewhere. Nevertheless, if curly quotes are
> going to become permanent in Emacs, something of the like is going to be
> needed on a permanent basis.
Although this quick fix adds complexity, perhaps it's worth it. Glenn fixed
some minor glitches introduced by the quick fix, and I just now patched most of
the other problems I found with it. I changed the values to be more mnemonic,
so that one can now use (setq 'help-quote-translation ?`) to get the traditional
Emacs quoting style. The default behavior when the user has not customized the
new variable is now to generate curved quotes when possible and to fall back on
straight quotes when in environments that can't handle curved quotes, as this
should yield better behavior on newer platforms without making things more
difficult on old-fashioned ones.
I'd like to use the new variable to customize quotes used in diagnostics too.
So perhaps we should rename it from help-quote-translation to just
quote-translation. But this can wait until we think through how diagnostic
handling should be done. A simple approach would be to extend 'format' via a `
flag, so that we can replace (format "Rename `%s' to `%s'" old new) with (format
"Rename %`s to %`s" old new) to get customizable quotes, but this would entail
changing several format calls in the source and I am trying to think of
something less intrusive.
next prev parent reply other threads:[~2015-06-19 8:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-18 21:25 Translation of single quotes in doc strings is now optional Alan Mackenzie
2015-06-19 8:13 ` Paul Eggert [this message]
2015-06-19 9:17 ` Artur Malabarba
2015-06-20 0:06 ` Paul Eggert
2015-06-19 10:44 ` Alan Mackenzie
2015-06-20 5:35 ` Paul Eggert
2015-06-19 10:46 ` Michael Albinus
2015-06-19 15:21 ` Paul Eggert
2015-06-19 15:41 ` Paul Eggert
2015-06-19 16:32 ` Michael Albinus
2015-06-20 0:33 ` Richard Stallman
2015-06-20 0:33 ` Richard Stallman
2015-06-20 1:04 ` Paul Eggert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5583CF43.8080207@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=acm@muc.de \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.