Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Stefan Huchler <stefan.huchler@mail.de>
To: info-gnus-english@gnu.org
Subject: overwriting c catchup shortcut in Group buffer
Date: Sun, 10 May 2015 21:40:04 +0200	[thread overview]
Message-ID: <87k2wgusq3.fsf@jupiter.lan> (raw)

I try to overwrite the gnus group buffer with some keyboard-shortcuts,
but I dont find the right hook or method to do so.

I want to use direction keys on my home-row instead of the emacs C-f
standard keys or the normal arrow keys and in dvorak the 4 logical keys
under 8 on the right side are c/h/t/n.


(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))


it worked well with the summary buffer with this hook:

'gnus-summary-mode-hook

but in the Group buffer I cant find the right hook I tried this 3:

'gnus-group-prepare-hook
'gnus-group-menu-hook
'gnus-group-mode-hook

I cant get gnus stop calling the catchup command instead
previous-line. Thanks for your help in advance.



             reply	other threads:[~2015-05-10 19:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-10 19:40 Stefan Huchler [this message]
2015-05-10 22:10 ` Emanuel Berg
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=87k2wgusq3.fsf@jupiter.lan \
    --to=stefan.huchler@mail.de \
    --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).