GNU bug report logs - #51040
No curved quotes in format-prompt and minibuffer-default-prompt-format

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Tue, 5 Oct 2021 16:41:02 UTC

Severity: minor

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Kangas <stefan <at> marxist.se>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 51040 <at> debbugs.gnu.org
Subject: bug#51040: No curved quotes in format-prompt and minibuffer-default-prompt-format
Date: Mon, 11 Oct 2021 13:58:58 -0700
[Message part 1 (text/plain, inline)]
tags 51040 + patch
thanks

Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Yeah, having a separate function for this would be good, because those
> bits are pretty confusing.  But as you say, in this `format-prompt'
> case, using `substitute-command-keys' is probably the right thing, since
> we could be actually using key defs in the prompt.

OK, so here's what I propose.  The first patch adds a function
`substitute-quotes' and could go to master, the second one changes
`format-prompt' to use `substitute-command-keys' and could go to
emacs-28.
[0001-New-function-substitute-quotes.patch (text/x-diff, attachment)]
[0002-Use-substitute-command-keys-in-format-prompt.patch (text/x-diff, attachment)]

This bug report was last modified 2 years and 254 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.