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: Thu, 20 Aug 2015 12:32:01 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

Richard Stallman wrote:
Would someone like to summarize the various alternatives now
being considered for quotation in format strings?

Perhaps best illustrated with examples.

Here's what's implemented in master now (either works):

  (format "‘add-to-list’ can't use var ‘%s’; use ‘push’ or ‘cl-pushnew’" sym)

(format "%q can't use var %qs; use %qs or %qs" "add-to-list" sym "push" "cl-pushnew")

Digraphs were proposed, but not implemented:

(format "%<add-to-list%> can't use var %<%s%>; use %<push%> or %<cl-pushnew%>" sym)

There are lots of other possibilities of course, but these have been the main ones considered so far.



reply via email to

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