From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: Need gnus-group-load-hook?
Date: 19 Apr 1997 04:06:11 +0200 [thread overview]
Message-ID: <m2hgh3sr58.fsf@proletcult.slip.ifi.uio.no> (raw)
In-Reply-To: Norman Walsh's message of 18 Apr 1997 13:59:22 -0400
Norman Walsh <norm@berkshire.net> writes:
> So I finally arrived at the following:
>
> ;; Maybe there ought to be a gnus-group-load-hook?
> (add-hook 'gnus-group-mode-hook (lambda nil
> (define-key gnus-group-mode-map "g"
> 'get-new-mail-and-news)))
>
> Is there a better way to do this?
No, that's the canonical way to alter mode-specific keymaps. Only you
should use `local-set-key' instead of `define-key'.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
prev parent reply other threads:[~1997-04-19 2:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-04-18 17:59 Norman Walsh
1997-04-18 18:17 ` Per Abrahamsen
1997-04-18 19:00 ` David Moore
1997-04-19 2:06 ` Lars Magne Ingebrigtsen [this message]
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=m2hgh3sr58.fsf@proletcult.slip.ifi.uio.no \
--to=larsi@gnus.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).