emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master 9ce1d38: Use curved quotes in core elisp diagno


From: Paul Eggert
Subject: Re: [Emacs-diffs] master 9ce1d38: Use curved quotes in core elisp diagnostics
Date: Sun, 23 Aug 2015 22:47:52 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

Andreas Schwab wrote:
It's not a bug to double all % and expect format to do TRT.

I see you reverted translation by ‘format’ of curved quotes in format strings. While this preserves compatibility better, it also causes some diagnostics to use curved quotes even if ‘text-quoting-style’ specifies an ASCII style, which likely would cause problems in traditional Emacs setups that prefer ASCII styles.

One possible fix is along the lines of one of Dmitry's earlier suggestions: add a function that translates a curved-style string to the style specified by ‘text-quoting-style’, and have ‘message’, ‘error’, etc. invoke the new function on the format string before passing it to ‘format’. This avoids affecting the behavior of ‘format’ itself and so should address the compatibility concerns that you and Dmitry noted. I installed commit fbb5531fa11d13854b274d28ccd329c9b6652cfc in an attempt to do that. Comments as usual are welcome.



reply via email to

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