Gnus development mailing list
 help / color / mirror / Atom feed
From: era@iki.fi
Subject: Re: nnimap 0.131 asks twice when saving marked articles
Date: 01 Oct 2003 08:28:56 +0300	[thread overview]
Message-ID: <87brt1r0su.fsf@era.iki.fi> (raw)
In-Reply-To: <iluvfra83hg.fsf@latte.josefsson.org>

On Tue, 30 Sep 2003 21:45:31 +0200, Simon Josefsson <jas@extundo.com>
posted to gmane.emacs.gnus.general:
 > era@iki.fi writes:
 >> I noticed that setting the process mark on a bunch of articles and
 >> then pressing `o' works as expected up to the point when I'd expect
 >> the thing to be done ... but then it starts asking me again where to
 >> file messages, this time one by one (and failing, since they were
 >> already batch moved from underneath).
 > 'o' and process marks work in a special way; instead of saving all
 > articles to one file, it queries you for a file to save each process
 > marked message in.
 >> I'm saving to another IMAP folder on the same server.
 > With 'o'?  'o' saves to a rmail file on local disk, at least in my
 > Gnus.

OK, I guess this needs a bit of clarification. Here's the deal: I'm
getting mail into my regular INBOX and I archive it to a folder based
on what sort of action is required; change requests go in a TODO
folder, stupid jokes from well-intentioned people who just discovered
email go in junk, etc. So I want to move messages to another folder,
and I discovered that (generally speaking) the `o' command does that.

Here's how it's defined here:

  o runs the command gnus-summary-save-article
     which is an interactive compiled Lisp function in `gnus-sum'.
  (gnus-summary-save-article &optional N NOT-SAVED)

  Save the current article using the default saver function.
  If N is a positive number, save the N next articles.
  If N is a negative number, save the N previous articles.
  If N is nil and any articles have been marked with the process mark,
  save those articles instead.
  The variable `gnus-default-article-saver' specifies the saver function.

And:

  gnus-default-article-saver's value is 
  gnus-summary-move-article

  Documentation:
  A function to save articles in your favourite format.
  The function must be interactively callable (in other words, it must
  be an Emacs command).

  Gnus provides the following functions:

  * gnus-summary-save-in-rmail (Rmail format)
  * gnus-summary-save-in-mail (Unix mail format)
  * gnus-summary-save-in-folder (MH folder)
  * gnus-summary-save-in-file (article format)
  * gnus-summary-save-in-vm (use VM's folder format)
  * gnus-summary-write-to-file (article format -- overwrite).

  You can customize this variable.

  Defined in `gnus-art'.

And:

  gnus-summary-move-article is an interactive compiled Lisp function in `gnus-sum'.
  (gnus-summary-move-article &optional N TO-NEWSGROUP SELECT-METHOD ACTION)

  Move the current article to a different newsgroup.
  If N is a positive number, move the N next articles.
  If N is a negative number, move the N previous articles.
  If N is nil and any articles have been marked with the process mark,
  move those articles instead.
  If TO-NEWSGROUP is string, do not prompt for a newsgroup to move to.
  If SELECT-METHOD is non-nil, do not move to a specific newsgroup, but
  re-spool using this method.

  For this function to work, both the current newsgroup and the
  newsgroup that you want to move to have to support the `request-move'
  and `request-accept' functions.

  ACTION can be either `move' (the default), `crosspost' or `copy'.

Admittedly it doesn't say anything about process/prefix convention so
perhaps it was misguided to use it in the first place. But since it
almost works, making it work "right" might be worth the effort.

 > Maybe what you want to do instead is to use `B c' to copy the articles
 > between two IMAP folders?  It support process mark in a nicer way, as
 > well.

Thanks for the pointer; I'll try using that (or rather `B m') instead.

/* era */

-- 
The email address era     the contact information   Just for kicks, imagine
at iki dot fi is heavily  link on my home page at   what it's like to get
spam filtered.  If you    <http://www.iki.fi/era/>  500 pieces of spam for
want to reach me, see     instead.                  each wanted message.




  parent reply	other threads:[~2003-10-01  5:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-30 12:47 era
2003-09-30 19:45 ` Simon Josefsson
2003-09-30 20:32   ` David S Goldberg
2003-10-01  5:28   ` era [this message]
2003-10-01 13:42     ` David S Goldberg
2003-10-01 13:46     ` Simon Josefsson
2003-12-04  8:03       ` era

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=87brt1r0su.fsf@era.iki.fi \
    --to=era@iki.fi \
    /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).