emacs-devel
[Top][All Lists]
Advanced

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

Re: Translation of single quotes in doc strings is now optional.


From: Michael Albinus
Subject: Re: Translation of single quotes in doc strings is now optional.
Date: Fri, 19 Jun 2015 12:46:26 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Paul Eggert <address@hidden> writes:

> 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.

My usual rant: this is not backward compatible, and would bring
tramp*.el sources into trouble. And yes, Tramp sends this kind of
messages. 

Why not the other way around: let `format' translate the quotes, unless
they are written as (format "Rename \\=`%s' to \\=`%s'" old new)

Best regards, Michael.



reply via email to

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