From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/2067 Path: news.gmane.org!not-for-mail From: jeff.rancier@softechnics.com (Jeffery B. Rancier) Newsgroups: gmane.emacs.gnus.user Subject: Reassigning the tab key in topic mode Date: Mon, 10 Feb 2003 09:49:36 -0500 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138668634 13804 80.91.229.2 (31 Jan 2006 00:50:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:50:34 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:30:07 2006 Original-Path: quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: 65.247.80.131 Original-X-Trace: quimby.gnus.org 1044889131 21291 65.247.80.131 (10 Feb 2003 14:58:51 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 10 Feb 2003 14:58:51 GMT User-Agent: Gnus/5.090013 (Oort Gnus v0.13) Emacs/21.2 (i386-msvc-nt5.1.2600) Cancel-Lock: sha1:pPvdQTC99tP93frCNcIGvu5Obt0= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:2207 Original-Lines: 35 X-Gnus-Article-Number: 2207 Tue Jan 17 17:30:07 2006 Xref: news.gmane.org gmane.emacs.gnus.user:2067 Archived-At: 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: ,---- | 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 `----