unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#51040: No curved quotes in format-prompt and minibuffer-default-prompt-format
@ 2021-10-05 16:40 Stefan Kangas
  2021-10-05 16:44 ` Lars Ingebrigtsen
  2022-09-10  6:13 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 21+ messages in thread
From: Stefan Kangas @ 2021-10-05 16:40 UTC (permalink / raw)
  To: 51040; +Cc: Lars Ingebrigtsen

It seems like `format-prompt' and `minibuffer-default-prompt-format'
does not support curved quotes.  Should they?

To reproduce, evaluate this forms in emacs -Q:

    (format-prompt "foo `bar'" nil)

    => "foo `bar': "

And:

    (let ((minibuffer-default-prompt-format " (default `%s')"))
      (format-prompt "foo `bar'" t))

    => "foo `bar' (default `t'): "

My expectation is that I get this, where fancy quotes are supported:

    "foo ‘bar’ (default ‘t’): "

Now, this is easy to fix, but we need to decide if it's okay that
`format-prompt' just runs `substitute-command-keys' on these by default.
I believe that fix should be fine, but maybe I'm missing something.





^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2022-09-10  6:13 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-05 16:40 bug#51040: No curved quotes in format-prompt and minibuffer-default-prompt-format Stefan Kangas
2021-10-05 16:44 ` Lars Ingebrigtsen
2021-10-05 17:11   ` Stefan Kangas
2021-10-06  8:58     ` Lars Ingebrigtsen
2021-10-11 20:58       ` Stefan Kangas
2021-10-12 12:03         ` Lars Ingebrigtsen
2021-10-12 12:36           ` Stefan Kangas
2021-10-12 14:17           ` Eli Zaretskii
2021-10-12 12:52         ` Eli Zaretskii
2021-10-12 15:59           ` Stefan Kangas
2021-10-12 16:31             ` Eli Zaretskii
2021-10-12 17:26               ` Stefan Kangas
2021-10-12 18:43                 ` Eli Zaretskii
2021-10-12 23:21                   ` Stefan Kangas
2021-10-13 12:07                     ` Eli Zaretskii
2021-10-13 12:25                       ` Stefan Kangas
2021-10-13 13:22                         ` Eli Zaretskii
2022-09-10  5:30                     ` Lars Ingebrigtsen
2021-10-12 23:44                   ` Dmitry Gutov
2022-09-10  5:38             ` Lars Ingebrigtsen
2022-09-10  6:13 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).