[gnu.emacs.gnus] Why doesn't this work?

mcgrath@tully.Berkeley.EDU (Roland McGrath) (03/18/89)

I have the following as my gnus-Select-group-hook, the idea being that I not
wait for 2000 lines of source code to come over NNTP if I don't care about
it.  But this has no effect.  What's wrong with it?

	 '(lambda ()
	    "Don't autoselect the first article of a source/binary newsgroup."
	    (debug)
	    (setq gnus-auto-select-first 
		  (null
		   (or (string-match "source" gnus-newsgroup-name)
		       (string-match "binar" gnus-newsgroup-name))
		   ))))
--
	Roland McGrath
	Free Software Foundation, Inc.
roland@wheaties.ai.mit.edu, mit-eddie!wheaties.ai.mit.edu!roland

umerin@photon.stars.flab.fujitsu.junet (Masanobu UMEDA) (03/18/89)

   Date: 17 Mar 89 22:35:25 GMT
   From: flab!fgw!uunet!tully.Berkeley.EDU!mcgrath  (Roland McGrath)
   Organization: University of California, Berkeley

   I have the following as my gnus-Select-group-hook, the idea being that I not
   wait for 2000 lines of source code to come over NNTP if I don't care about
   it.  But this has no effect.  What's wrong with it?

It works for me. Please make sure the hook name is correct.

(setq gnus-Select-group-hook
      '(lambda ()
	 (setq gnus-auto-select-first 
	       (not (or (string-match "source" gnus-newsgroup-name)
			(string-match "binar" gnus-newsgroup-name))
		    ))))

Masanobu UMEDA
umerin@flab.Fujitsu.JUNET
umerin%flab.Fujitsu.JUNET@uunet.uu.NET