Gnus development mailing list
 help / color / mirror / Atom feed
From: Lloyd Zusman <ljz@asfast.com>
Subject: One single function for marking articles?
Date: 17 Apr 2000 21:01:27 -0400	[thread overview]
Message-ID: <ltbt38usrc.fsf@asfast.com> (raw)

In an offline discussion between Kai Großjohann and myself, something
came up which I thought might be worth asking in the mailing list:

I'm looking for a single gnus function which looks more or less like
this:

  (gnus-generic-mark-article SERVER GROUP ARTICLE MARK)

It would put the specified MARK on the specified ARTICLE within the
specified GROUP on the specified back-end SERVER.  It would be
buffer-safe and thread-safe in the sense that it could be called from
within any gnus buffer and any context, and it would set the specified
mark without disturbing its current buffer or any of its context.

I haven't found anything like this within all the gnus functions I've
dug through, although it's quite possible that I could have missed
something.

The reason I want this is because I have a procedure that runs
asynchronously which, among other things, marks various articles in
various ways.  I'd like this asynchronous procedure to run properly
even if I'm interactivly using gnus in a different summary buffer than
the one which my asynchronous process is operating on.

An alternative use for this hypothetical function would be for my
asynchronous procedure to append calls of the function to the dribble
file, so that they could do their jobs the next time gnus processes
that file.  In this case, the function wouldn't need to be thread-safe
and buffer-safe.  The current info that gets written into the dribble
file that performs this sort of thing is so complex that I wouldn't
want to try to generate it myself ... my news and email are too
important to lose if I screw up!

Any thoughts or ideas?  Any hope that such a function already exists?

Thanks in advance.

-- 
 Lloyd Zusman
 ljz@asfast.com



             reply	other threads:[~2000-04-18  1:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-18  1:01 Lloyd Zusman [this message]
2000-04-19 23:46 ` Lars Magne Ingebrigtsen
2000-04-26  1:30   ` Lloyd Zusman
2000-08-10 19:58     ` Lars Magne Ingebrigtsen

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=ltbt38usrc.fsf@asfast.com \
    --to=ljz@asfast.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).