Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
Subject: trouble with gnus-define-group-parameter
Date: Mon, 10 Mar 2003 13:19:24 -0500	[thread overview]
Message-ID: <4nwuj7krtf.fsf@lockgroove.bwh.harvard.edu> (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



             reply	other threads:[~2003-03-10 18:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-10 18:19 Ted Zlatanov [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4nwuj7krtf.fsf@lockgroove.bwh.harvard.edu \
    --to=tzz@lifelogs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).