all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: bruce.connor.am@gmail.com
Cc: Alan Mackenzie <acm@muc.de>, emacs-devel <emacs-devel@gnu.org>
Subject: Re: Translation of single quotes in doc strings is now optional.
Date: Fri, 19 Jun 2015 17:06:05 -0700	[thread overview]
Message-ID: <5584AE6D.9030801@cs.ucla.edu> (raw)
In-Reply-To: <CAAdUY-LCUDhvpYc3iH=aJw7XsTRNHQ8rtOKXrXdcRxif=JtM=g@mail.gmail.com>

Artur Malabarba wrote:
> How about defining a new function, `format-and-quote-translate', which
> converts all `' in the format-string to round quotes if desired?

Yes, that's the sort of thing I had in mind.  The idea is that 'message' will 
call the new function instead of plain 'format', and that other functions like 
'message' will be similar.  The new function will generate quotes in the style 
the user prefers (style setting established by the new custom variable, which 
probably needs renaming).  The name I came up with was 'format-message', since 
it'll be the format style that 'message' uses (and that's shorter and easier to 
remember than 'format-and-quote-translate'....)

This wouldn't suffice in general, as there are many instances that don't use 
'format' or anything like it.  However, it'd handle many (perhaps most) of the 
diagnostics that currently quote with grave accent.



  reply	other threads:[~2015-06-20  0:06 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
2015-06-19  9:17   ` Artur Malabarba
2015-06-20  0:06     ` Paul Eggert [this message]
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=5584AE6D.9030801@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=acm@muc.de \
    --cc=bruce.connor.am@gmail.com \
    --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.