emacs-devel
[Top][All Lists]
Advanced

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

Solving bug#35564 (was: Use of minibuffer-prompt face when minibuffer is


From: Kévin Le Gouguec
Subject: Solving bug#35564 (was: Use of minibuffer-prompt face when minibuffer is not involved)
Date: Sat, 11 May 2019 15:50:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> So the problem is not the use of minibuffer-prompt but the fact that it
> overrides other faces while applying it.  That should be easy to fix by
> using `add-face-text-property` instead of `propertize`.

Yep, which is what the patch over at bug#35564#11 does.  Now it's mostly
a matter of deciding whether we want to solve this bug this way (IMO:
not if someone can simply come up with a better warning and do away with
my highlighted-prompt shenanigans).

If we do, I'll add a proper patch series to this report, to

1. fix y-or-n-p with add-face-text-property,
2. tweak dired's warning using text properties.




reply via email to

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