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: Richard Stallman
Subject: Re: [Emacs-diffs] master 9ce1d38: Use curved quotes in core elisp diagnostics
Date: Sun, 23 Aug 2015 20:08:32 -0400

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

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

That's not a feature -- it is just a way you can use the old 'format'
function.

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

I see no harm in that feature, but what is the difference between %q and %qs?

  > Digraphs were proposed, but not implemented:

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

That seems much cleaner, since it does not require moving fixed parts
of the message out of the format string.

Does anyone have an objection to this feature?

-- 
Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.




reply via email to

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