From: David Z Maze <dmaze@mit.edu>
To: info-gnus-english@gnu.org
Subject: Re: .emacs keybindings in gnus
Date: Wed, 29 Aug 2007 10:49:38 -0400 [thread overview]
Message-ID: <y68fy224cql.fsf@contents-vnder-pressvre.mit.edu> (raw)
In-Reply-To: <1188378983.446164.138940@o80g2000hse.googlegroups.com>
[-- Attachment #1: Type: text/plain, Size: 1133 bytes --]
imputerate <imputerate@gmail.com> writes:
> so now the section of my .gnus.el file which forces gnus to accept key
> bindings from my .emacs file is:
>
> (add-hook 'gnus-summary-mode-hook
> (lambda ()
> (local-set-key (kbd "\ei") 'previous-line)))
> ;; instead of 'gnus-message-mode-hook
> (add-hook 'message-mode-hook
> (lambda ()
> (local-set-key (kbd "\en") 'next-line)))
>
> the lesson to be taken from all this is that the "'gnus" should be
> omitted when one is configuring the .gnus.el file;
Lest you take this as a general rule, message-mode is at least
theoretically separate from Gnus proper; there's a separate Info manual
for it, for example, and its various names start with message- (but not
gnus-message-). The summary mode configuration, on the other hand, *is*
an integral part of Gnus, and gnus-summary-mode-* is correct where a
bare summary-* won't work.
> now how about getting customized key bindings to work in X, and X
> apps, like browsers?
I've never had trouble making keybindings work in X vs. not, though I
seem to use a different syntax. My .emacs has:
[-- Attachment #2: Type: application/x-emacs-lisp, Size: 224 bytes --]
[-- Attachment #3: Type: text/plain, Size: 102 bytes --]
There's no way to make Emacs customizations work for applications that
aren't Emacs, sorry.
--dzm
[-- Attachment #4: Type: text/plain, Size: 161 bytes --]
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english
prev parent reply other threads:[~2007-08-29 14:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1188273243.137944.275310@w3g2000hsg.googlegroups.com>
2007-08-29 9:16 ` imputerate
2007-08-29 14:49 ` David Z Maze [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=y68fy224cql.fsf@contents-vnder-pressvre.mit.edu \
--to=dmaze@mit.edu \
--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).