From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54124 Path: main.gmane.org!not-for-mail From: era@iki.fi Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap 0.131 asks twice when saving marked articles Date: 01 Oct 2003 08:28:56 +0300 Organization: People Who Are Not Old Enough For Unix (Honorary Member Emeritus) Sender: ding-owner@lists.math.uh.edu Message-ID: <87brt1r0su.fsf@era.iki.fi> References: <87n0cmqwxb.fsf@era.iki.fi> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1064986201 18532 80.91.224.253 (1 Oct 2003 05:30:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Oct 2003 05:30:01 +0000 (UTC) Original-X-From: ding-owner+M2665@lists.math.uh.edu Wed Oct 01 07:30:00 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A4ZYl-0005tH-00 for ; Wed, 01 Oct 2003 07:29:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1A4ZY2-0002QM-00; Wed, 01 Oct 2003 00:29:14 -0500 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1A4ZXp-0002QG-00 for ding@lists.math.uh.edu; Wed, 01 Oct 2003 00:29:01 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id 579213A00A7 for ; Wed, 1 Oct 2003 00:28:59 -0500 (CDT) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A4ZXm-0008Az-00 for ; Wed, 01 Oct 2003 07:28:58 +0200 Mail-Followup-To: ding@gnus.org X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A4ZXl-0008Ar-00 for ; Wed, 01 Oct 2003 07:28:57 +0200 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A4ZXl-0004o2-00 for ; Wed, 01 Oct 2003 07:28:57 +0200 Original-Lines: 95 Original-X-Complaints-To: usenet@sea.gmane.org Mail-copies-to: never (thanks) User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54124 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54124 On Tue, 30 Sep 2003 21:45:31 +0200, Simon Josefsson 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 500 pieces of spam for want to reach me, see instead. each wanted message.