emacs-devel
[Top][All Lists]
Advanced

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

Re: [External] : Re: master 513c5d827d: Use `format-prompt' in


From: Richard Stallman
Subject: Re: [External] : Re: master 513c5d827d: Use `format-prompt' in
Date: Tue, 06 Sep 2022 22:23:03 -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. ]]]

  > Not only that.  The readability is also diminished.  Compare

  >   (read-char-by-name
  >     "Unicode name, single char, or hex, default all: " t))

  > with

  >   (read-char-by-name
  >     (format-prompt "Unicode name, single char, or hex" "all")
  >     t)

  > To me, the first one tells very accurately what will the user see as
  > the prompt, while the second doesn't.

To be fair, the two arguments of `format-prompt' have a clear semantic
distinction.  The first is the general description of the argument to
be read, and the second is its default value.

But the issue with translation is practical, not a matter of how we
think of things.  Thanks for explaining the issue clearly.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





reply via email to

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