Gnus development mailing list
 help / color / mirror / Atom feed
* trouble with gnus-define-group-parameter
@ 2003-03-10 18:19 Ted Zlatanov
  2003-03-11 20:25 ` Kevin Greiner
  0 siblings, 1 reply; 5+ messages in thread
From: Ted Zlatanov @ 2003-03-10 18:19 UTC (permalink / raw)


I'm defining these two group parameters:

  (gnus-define-group-parameter 
   ham-marks
   :parameter-type '(choice :tag "Ham marks"
			    :value nil
			    (list :tag "Ham mark choices"
				  (set 
				   (variable-item gnus-del-mark)
				   (variable-item gnus-read-mark)
				   (variable-item gnus-killed-mark)
				   (variable-item gnus-kill-file-mark)
				   (variable-item gnus-low-score-mark))))

   :parameter-document
   "Marks considered ham (positively not spam).  Such articles will be
processed as ham (non-spam) on group exit.  When nil, the global
spam-ham-marks variable takes precedence.")

  (gnus-define-group-parameter 
   spam-marks
   :parameter-type '(choice :tag "Spam marks"
			    :value nil
			    (list :tag "Spam mark choices"
				  (set 
				   (variable-item gnus-spam-mark)
				   (variable-item gnus-killed-mark)
				   (variable-item gnus-kill-file-mark)
				   (variable-item gnus-low-score-mark))))

   :parameter-document
   "Marks considered spam.
Such articles will be processed as spam on group exit.  When nil, the global
spam-spam-marks variable takes precedence."))

I can customize the parameter just fine, but then

(gnus-parameter-ham-marks gnus-newsgroup-name)

returns nil no matter what.  Anyone with a clue as to what I'm doing wrong?

Thanks
Ted



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

end of thread, other threads:[~2003-03-20  4:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-10 18:19 trouble with gnus-define-group-parameter Ted Zlatanov
2003-03-11 20:25 ` Kevin Greiner
2003-03-19 22:55   ` Ted Zlatanov
2003-03-20  4:11     ` Kevin Greiner
2003-03-20  4:45       ` Jesper Harder

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