bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#71429: Inconsistent y-or-n-p prompt behavior in Emacs Lisp


From: Stefan Monnier
Subject: bug#71429: Inconsistent y-or-n-p prompt behavior in Emacs Lisp
Date: Sat, 08 Jun 2024 13:41:14 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

> Or maybe you are saying that a Lisp program that binds
> search-spaces-regexp has a bug, because Lisp code is not supposed to
> bind that?

That, yes. Binding it should be done carefully only at those places
where the contained Lisp code is performing a search whose regexp was
built from interactive user input.

If you let bind that var and then call arbitrary code, I'd
expect breakage.


        Stefan






reply via email to

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