bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnus keybinding problem


From: ShengHuo ZHU
Subject: Re: Gnus keybinding problem
Date: Wed, 23 Jan 2002 22:44:08 -0500
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu)

"Andrew M. Bishop" <address@hidden> writes:

[...]

> In my .emacs file I have the following hooks defined for
> gnus-group-mode:
>
> -------------------- .emacs --------------------
> (defun amb-gnus-group-mode-hook () "Hook for GNUS group mode setup" 
> (interactive)
>   (define-key gnus-group-mode-map "g"     'gnus-group-get-new-news-this-group)
>   )
>
> (add-hook 'gnus-group-mode-hook 'amb-gnus-group-mode-hook)
>
> (add-hook 'gnus-group-mode-hook 'gnus-topic-mode)
> -------------------- .emacs --------------------
>
> Normally the key g is bound to gnus-group-get-new-news and M-g is
> bound to gnus-group-get-new-news-this-group.  I made the change so
> that g is bound to gnus-group-get-new-news-this-group since that was
> more useful to me (easier to type and easier to remember since it is
> the same as dired).  The change in the keybinding is confirmed by
> checking with C-h k.
>
> I use the topical format for the Group buffer and it looks like this.
>
> [Gnus]
>    [mail] ...
>    [news] ...
>    [drafts] ...
>
> All experiments are performed with the cursor on the '[news]' line.
>
> 1) When I press g nothing much seems to happen.
>
> 2) When I press M-g then the NNTP server is checked for new news and
>    the '[news]' topic is expanded just as if I had pressed L
>    (gnus-group-list-all-groups).
>
> 3) When I do M-x gnus-group-get-new-news it reads from the NNTP
>    server, but no update of the '[news]' topic is performed.
>
> 4) When I do M-x gnus-group-get-new-news-this-group nothing much
>    happens (the same as if I press g).
>
>
> The function should be the same whichever key it is bound to, but this
> is not the case for this one.

In gnus-topic-mode, M-g is bound to gnus-topic-get-new-news-this-topic.  
If you bind g to the function too, M-g and g should have the same behavior.

ShengHuo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]