* (define-key my-sparse-map [(left)] nil) => (left) entry in keymap
@ 2005-11-02 18:11 Lennart Borgman
2005-11-02 19:15 ` Stefan Monnier
0 siblings, 1 reply; 4+ messages in thread
From: Lennart Borgman @ 2005-11-02 18:11 UTC (permalink / raw)
I believed that you could remove a key binding with (define-key keymap
key nil). However with a sparse keymap I instead get an entry that is
just (key). Is this a bug?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: (define-key my-sparse-map [(left)] nil) => (left) entry in keymap
2005-11-02 18:11 (define-key my-sparse-map [(left)] nil) => (left) entry in keymap Lennart Borgman
@ 2005-11-02 19:15 ` Stefan Monnier
2005-11-03 1:58 ` Lennart Borgman
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2005-11-02 19:15 UTC (permalink / raw)
Cc: Emacs Devel
> I believed that you could remove a key binding with (define-key keymap key
> nil). However with a sparse keymap I instead get an entry that is just
> (key). Is this a bug?
No,
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: (define-key my-sparse-map [(left)] nil) => (left) entry in keymap
2005-11-02 19:15 ` Stefan Monnier
@ 2005-11-03 1:58 ` Lennart Borgman
2005-11-03 4:07 ` Stefan Monnier
0 siblings, 1 reply; 4+ messages in thread
From: Lennart Borgman @ 2005-11-03 1:58 UTC (permalink / raw)
Cc: Emacs Devel
Stefan Monnier wrote:
>>I believed that you could remove a key binding with (define-key keymap key
>>nil). However with a sparse keymap I instead get an entry that is just
>>(key). Is this a bug?
>>
>>
>
>No,
>
>
Thanks, that helped ;-) -- now I see how it works: nil has the meaning
"no binding at all, not even default".
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: (define-key my-sparse-map [(left)] nil) => (left) entry in keymap
2005-11-03 1:58 ` Lennart Borgman
@ 2005-11-03 4:07 ` Stefan Monnier
0 siblings, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2005-11-03 4:07 UTC (permalink / raw)
Cc: Emacs Devel
>>> I believed that you could remove a key binding with (define-key keymap key
>>> nil). However with a sparse keymap I instead get an entry that is just
>>> (key). Is this a bug?
>> No,
> Thanks, that helped ;-) -- now I see how it works: nil has the meaning "no
> binding at all, not even default".
... nor inherited.
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-11-03 4:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-02 18:11 (define-key my-sparse-map [(left)] nil) => (left) entry in keymap Lennart Borgman
2005-11-02 19:15 ` Stefan Monnier
2005-11-03 1:58 ` Lennart Borgman
2005-11-03 4:07 ` Stefan Monnier
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.