emacs-devel
[Top][All Lists]
Advanced

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

Re: Problem quitting properly from transient keymap with one keystroke


From: Stefan Monnier
Subject: Re: Problem quitting properly from transient keymap with one keystroke
Date: Fri, 20 Oct 2017 13:34:13 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> ​I understand.  Would it be possible to make the exit function run on both
> pre- and post-command hook so that it could use the results of the command​
> when needed and eliminate the need in many cases to call the quit function
> manually?  Or would that cause problems?

I think it would bump into other problems because the keep-pred
predicate expects to be called from pre-command-hook.

IOW, maybe it would have been a valid design, but it would be an
incompatible change.


        Stefan



reply via email to

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