Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: Unhiding read articles
       [not found] ` <87wuar7eru.fsf@server.crasseux.com>
@ 2003-10-27  7:25   ` David Hanak
  2003-10-29 18:40     ` Bijan Soleymani
  0 siblings, 1 reply; 2+ messages in thread
From: David Hanak @ 2003-10-27  7:25 UTC (permalink / raw)


On Mon, 27 Oct 2003, Bijan Soleymani wrote:

> (define-key gnus-group-mode-map "\r" 'bijan-gnus-group-select-group)
>
> However if I put it in my .emacs I get an error because
> gnus-group-mode-map hasn't been define yet...
>
> If I put it in my .gnus file it just gets ignored...

Put

(eval-after-load "gnus-group"
  '(define-key gnus-group-mode-map "\r" 'bijan-gnus-group-select-group))

in your .gnus file.

-- 
David Hanak
                                http://www.inf.bme.hu/~dhanak/index_en.html
Dept. of Computer Science and Information Theory          dhanak@inf.bme.hu
Budapest University of Technology and Economics        PGP key ID: 266BC45F


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Unhiding read articles
  2003-10-27  7:25   ` Unhiding read articles David Hanak
@ 2003-10-29 18:40     ` Bijan Soleymani
  0 siblings, 0 replies; 2+ messages in thread
From: Bijan Soleymani @ 2003-10-29 18:40 UTC (permalink / raw)


David Hanak <dhanak@inf.bme.hu> writes:

> On Mon, 27 Oct 2003, Bijan Soleymani wrote:
>
>> (define-key gnus-group-mode-map "\r" 'bijan-gnus-group-select-group)
>>
>> However if I put it in my .emacs I get an error because
>> gnus-group-mode-map hasn't been define yet...
>>
>> If I put it in my .gnus file it just gets ignored...
>
> Put
>
> (eval-after-load "gnus-group"
>   '(define-key gnus-group-mode-map "\r" 'bijan-gnus-group-select-group))
>
> in your .gnus file.

Thanks, my makeshift solution was to start gnus in my .emacs file and
then put the stuff after that line.

Bijan
-- 
Bijan Soleymani <bijan@psq.com>
http://www.crasseux.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-29 18:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <878yn7bpsm.fsf@server.crasseux.com>
     [not found] ` <87wuar7eru.fsf@server.crasseux.com>
2003-10-27  7:25   ` Unhiding read articles David Hanak
2003-10-29 18:40     ` Bijan Soleymani

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