Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
Subject: Re: marking articles at group exit
Date: Tue, 18 Feb 2003 12:56:27 -0500	[thread overview]
Message-ID: <4nadgtlbg4.fsf@lockgroove.bwh.harvard.edu> (raw)
In-Reply-To: <u65rk258y.fsf@xpediantsolutions.com> (Kevin Greiner's message of "Sat, 15 Feb 2003 22:56:13 -0600")

On Sat, 15 Feb 2003, kgreiner@xpediantsolutions.com wrote:
> Ted Zlatanov <tzz@lifelogs.com> writes:

>> To sum up what I need: I need to go through the articles visible in
>> the summary buffer and a) take the process-mark off, and b) set the
>> process-mark on those that match some criteria.  Later I call
>> gnus-summary-move-article and it will operate on those
>> process-marked articles.
> 
> Have you tried gnus-newsgroup-headers?  If you haven't, you should
> definitely look at how gnus-sum.el uses it as there is an entire set
> of accessor macros.

Oh, I see!  I put gnus-summary-kill-process-mark and
gnus-summary-yank-process-mark around my manipulations of the
process-marks, and things seem to work just fine now.  I don't think I
need to use the gnus-newsgroup-headers data, those two functions are
sufficient.

Thanks for the help!

Let me know if you observe any issues with the spam/ham moving code
now.  It seems OK here, I tested it.

Thanks
Ted



      reply	other threads:[~2003-02-18 17:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-14 14:50 Ted Zlatanov
2003-02-14 15:08 ` Niklas Morberg
2003-02-14 19:05   ` Ted Zlatanov
2003-02-16  4:56     ` Kevin Greiner
2003-02-18 17:56       ` Ted Zlatanov [this message]

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=4nadgtlbg4.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).