Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: jeff.rancier@softechnics.com (Jeffery B. Rancier)
Subject: Reassigning the tab key in topic mode
Date: Mon, 10 Feb 2003 09:49:36 -0500	[thread overview]
Message-ID: <u8ywoqjgf.fsf@softechnics.com> (raw)

I'm trying to reassign the function of the tab key while in topic mode
in the group buffer (without any luck).  Here what I have added to my
~/.gnus:

(defun jbr-gnus-topic-mode-hook()
  (local-set-key [tab] 'gnus-group-next-unread-group)
  (jbr-pause-message "Set TAB key to gnus-group-next-unread-group" ))

(add-hook 'gnus-topic-mode-hook 'jbr-gnus-topic-mode-hook)

Evaluating the above code, restarting Gnus, appears to have no effect
on this:

,----
| <tab> runs the command gnus-topic-indent
|    which is an interactive compiled Lisp function in `gnus-topic'.
| (gnus-topic-indent &optional UNINDENT)
| 
| Indent a topic -- make it a sub-topic of the previous topic.
| If UNINDENT, remove an indentation.
`----

Can I assume that the tab key is assigned after the
gnus-topic-mode-hook is run?  Should I set this to global?  Or is is
that when my function is run, I'm not in the group buffer yet?
-- 

Thanks,
Jeff
,----
| Jeffery B. Rancier
| 
| Softechnics
| a METTLER TOLEDO company
`----


             reply	other threads:[~2003-02-10 14:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-10 14:49 Jeffery B. Rancier [this message]
2003-02-10 16:00 ` Kai Großjohann
2003-02-10 20:55   ` Jeffery B. Rancier

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=u8ywoqjgf.fsf@softechnics.com \
    --to=jeff.rancier@softechnics.com \
    /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).