emacs-devel
[Top][All Lists]
Advanced

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

Re: Always-true predicate?


From: Lars Ingebrigtsen
Subject: Re: Always-true predicate?
Date: Sat, 20 Feb 2021 15:20:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> `ignore` is interactive because it's handy for key-bindings where you
> want a given key sequence to be silently thrown away (as opposed to
> using nil which leaves other maps to decide what to do, and `undefined`
> which prevents other maps from giving it a meaning).
> It might even have been the original motivation for the `ignore` function.

Right.  It popped up a few minutes ago for me in `eww-mode-map' (see
latest message in the "Current mode command discovery" thread)...

I wonder whether we should have a different convenient way to do this,
because keys that silently do nothing doesn't seem ideal?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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