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 16:05:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

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

> Maybe a good `grep` would tell us all the cases where it's useful, but
> the ones I'm aware of are when we bind `down-mouse-N` to ignore so as to
> hide the global binding and let the subsequent `mouse-N` do the actual
> job (or vice versa).

Ah, right.  That sounds like a good usage of ignore.  I'm not sure about
these:

./lisp/vc/vc-bzr.el1013:    (define-key map [mouse-2] 'ignore)
./lisp/wdired.el172:    (define-key map "\C-m"     'ignore)
./lisp/wdired.el173:    (define-key map "\C-j"     'ignore)
./lisp/wdired.el174:    (define-key map "\C-o"     'ignore)
./lisp/mpc.el1121:    (define-key map [header-line follow-link] 'ignore)
./lisp/mpc.el1122:    (define-key map [mode-line follow-link] 'ignore)
./lisp/ido.el1632:       (define-key map "\C-x\C-d" 'ignore))


-- 
(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]