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: Sat, 22 Aug 2015 11:48:08 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

Dmitry Gutov wrote:

Regarding automatic translation in `format': do you anticipate someone,
somewhere, having a file with "‘add-to-list’" in its name

Emacs diagnostics that use quotes have never worked well when they quote a file name or any other string that contains quotes or newlines. This is true regardless of whether diagnostics quote 'like this', "like this", `like this', ‘like this’, or “like this”, like this:, etc. It would be helpful to devise and implement a syntax that would let Emacs quote arbitrary strings consistently and reliably, presumably by using backslash escapes for troublesome characters. Perhaps %q could do that, which would be an argument for preferring %q when quoting arbitrary strings in diagnostics.



reply via email to

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