From: Emanuel Berg <embe8573@student.uu.se>
To: info-gnus-english@gnu.org
Subject: Re: overwriting c catchup shortcut in Group buffer
Date: Mon, 11 May 2015 00:10:00 +0200 [thread overview]
Message-ID: <87mw1cozif.fsf@debian.uxu> (raw)
In-Reply-To: <87k2wgusq3.fsf@jupiter.lan>
Stefan Huchler <stefan.huchler@mail.de> writes:
> (progn
> (defun spiderbit-gnus-group-prepare-setup ()
> "for `gnus-group-prepare'."
> (local-set-key (kbd "c") 'previous-line)
> (local-set-key (kbd "t") 'next-line)
> (local-set-key (kbd "h") 'backward-char)
> (local-set-key (kbd "n") 'forward-char))
> (add-hook 'gnus-group-prepare-hook
> 'spiderbit-gnus-group-prepare-setup))
Do you have a `progn' here in order to be able to
evaluate it all at once? Otherwise you don't need it.
> gnus-group-prepare-hook
> gnus-group-menu-hook
> gnus-group-mode-hook
Try without using hooks:
(require 'gnus-group)
(define-key gnus-group-mode-map "h" 'backward-char)
;; (define-key ...
--
underground experts united
http://user.it.uu.se/~embe8573
next prev parent reply other threads:[~2015-05-10 22:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-10 19:40 Stefan Huchler
2015-05-10 22:10 ` Emanuel Berg [this message]
2015-05-10 22:44 ` Stefan Huchler
[not found] ` <mailman.2723.1431297892.904.info-gnus-english@gnu.org>
2015-05-10 23:00 ` Emanuel Berg
2015-05-10 23:21 ` Stefan Huchler
[not found] ` <mailman.2726.1431300114.904.info-gnus-english@gnu.org>
2015-05-11 0:00 ` Emanuel Berg
2015-05-23 0:41 ` Stefan Huchler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mw1cozif.fsf@debian.uxu \
--to=embe8573@student.uu.se \
--cc=info-gnus-english@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).