* Re: overriding M-e in the group buffer
[not found] <ullurzuaw.fsf@softechnics.com>
@ 2003-07-21 20:00 ` Kai Großjohann
0 siblings, 0 replies; only message in thread
From: Kai Großjohann @ 2003-07-21 20:00 UTC (permalink / raw)
jeff.rancier@softechnics.com (Jeffery B. Rancier) writes:
> | (add-hook 'gnus-group-mode-hook
> | (function
> | (lambda ()
> | (global-set-key [(meta e)] 'jbr-end-fun)
> | )))
Instead of global-set-key, use (define-key gnus-group-mode-map (kbd
"M-e") 'jbr-end-fun).
I prefer the kbd syntax because it is the same as printed by C-h l
and C-h k (and friends), thus it is easy to learn.
I also suggest to set up a function, for you might like to change
what's inside that lambda, and when you do you will see surprising
results unless you restart Emacs.
--
~/.signature
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-07-21 20:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <ullurzuaw.fsf@softechnics.com>
2003-07-21 20:00 ` overriding M-e in the group buffer Kai Großjohann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).