Re: Exiting without applying deletions (was: Applying deletions without exiting)

2000-01-08 Thread Brendan Cully

On Thursday, 06 January 2000 at 16:02, David DeSimone wrote:
 Brendan Cully [EMAIL PROTECTED] wrote:
 
  BTW, IMAP handles both sides of this. Just don't purge - messages will
  keep their D flags...
 
 The last time I checked, Mutt doesn't send flag-changes to the IMAP
 server until you quit... so the messages can't keep their D flags,
 because Mutt never sent them.  Has that changed recently?

Hmmm, it may depend on confirm_delete [sic] - the way it works is if
mutt asks you whether you wish to purge messages (when syncing or
switching folders) and you decline, the messages are still marked 'D',
but not expunged. I do use this from time to time in the development
series. I doubt it's in the stable branch yet, though...

I'll have a closer look at the code path when I get back home...

-Brendan



Exiting without applying deletions (was: Applying deletions without exiting)

2000-01-06 Thread Rich Lafferty

On Thu, Jan 06, 2000 at 10:57:06AM +0200, Alwyn Schoeman 
([EMAIL PROTECTED]) wrote:
 Hi,
 
 Is there a way to delete the files tagged as delete without leaving
 mutt?

[Usually $, but you've probably seen that by now.]

This reminded me of something a Pine user mentioned to me as a reason
he'd not yet embraced mutt. It seems that Pine can keep track of messages
flagged as deleted, between sessions (it adds a header, 'X-Status: D'),
so you can mark a bunch of messages as deleted and they stay marked 
until you finally expunge/sync the mailbox.

Have I missed an option to do this in mutt, or is it not possible? Was
there a reason, or has it even been noticed/considered? (I sure hadn't
noticed it ;-)

  -Rich

-- 
-- Rich Lafferty ---
 Sysadmin/Programmer, Instructional and Information Technology Services
   Concordia University, Montreal, QC (514) 848-7625
- [EMAIL PROTECTED] --


 PGP signature


Re: Exiting without applying deletions (was: Applying deletions without exiting)

2000-01-06 Thread David DeSimone

Rich Lafferty [EMAIL PROTECTED] wrote:

 It seems that Pine can keep track of messages flagged as deleted,
 between sessions (it adds a header, 'X-Status:  D'), so you can mark a
 bunch of messages as deleted and they stay marked until you finally
 expunge/sync the mailbox.

Mutt supports one side of this... if the mailbox contains messages with
the 'X-Status: D' header, they will indeed be pre-marked for deletion
upon entering the folder.  I have a procmail script which marks spam
messages in this fashion.

However, Mutt has no support for writing a mailbox in this fashion.

 Have I missed an option to do this in mutt, or is it not possible? 
 Was there a reason, or has it even been noticed/considered?  (I sure
 hadn't noticed it ;-)

Why do people always insist that someone give a specific reason why
something hasn't been done yet?  As if everyone had already considered
every possibility, and each was selected and rejected for various
criteria...  :)

In this case, the idea has come up on this list, and several people
thought it was a good idea, but nobody actually wrote any code, so
nothing actually happened.  That's how open software usually is.  :)

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
UX WTEC Engineer |PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44



Re: Exiting without applying deletions (was: Applying deletions without exiting)

2000-01-06 Thread Rich Lafferty

On Thu, Jan 06, 2000 at 01:18:47PM -0600, David DeSimone ([EMAIL PROTECTED]) wrote:
 Rich Lafferty [EMAIL PROTECTED] wrote:
 
  It seems that Pine can keep track of messages flagged as deleted,
  between sessions (it adds a header, 'X-Status:  D'), so you can mark a
  bunch of messages as deleted and they stay marked until you finally
  expunge/sync the mailbox.
 
 Mutt supports one side of this... if the mailbox contains messages with
 the 'X-Status: D' header, they will indeed be pre-marked for deletion
 upon entering the folder.  I have a procmail script which marks spam
 messages in this fashion.
 
 However, Mutt has no support for writing a mailbox in this fashion.

Ah, it's a start :-)
 
  Have I missed an option to do this in mutt, or is it not possible? 
  Was there a reason, or has it even been noticed/considered?  (I sure
  hadn't noticed it ;-)
 
 Why do people always insist that someone give a specific reason why
 something hasn't been done yet?  As if everyone had already considered
 every possibility, and each was selected and rejected for various
 criteria...  :)

Because that's often the case with ideas coming from Pine, with Mutt :-)

 In this case, the idea has come up on this list, and several people
 thought it was a good idea, but nobody actually wrote any code, so
 nothing actually happened.  That's how open software usually is.  :)

Well, it's not an itch *I* need to scratch, so now I can turn around to
him and note that patches are welcome :-) Having not used Pine since
2.x, I had no idea what might have gone on regarding this bit.

  -Rich

-- 
-- Rich Lafferty ---
 Sysadmin/Programmer, Instructional and Information Technology Services
   Concordia University, Montreal, QC (514) 848-7625
- [EMAIL PROTECTED] --


 PGP signature


Re: Exiting without applying deletions (was: Applying deletions without exiting)

2000-01-06 Thread Brendan Cully

On Thursday, 06 January 2000 at 15:12, Rich Lafferty wrote:
 On Thu, Jan 06, 2000 at 01:18:47PM -0600, David DeSimone ([EMAIL PROTECTED]) wrote:
  Rich Lafferty [EMAIL PROTECTED] wrote:
  
   It seems that Pine can keep track of messages flagged as deleted,
   between sessions (it adds a header, 'X-Status:  D'), so you can mark a
   bunch of messages as deleted and they stay marked until you finally
   expunge/sync the mailbox.

...

  In this case, the idea has come up on this list, and several people
  thought it was a good idea, but nobody actually wrote any code, so
  nothing actually happened.  That's how open software usually is.  :)
 
 Well, it's not an itch *I* need to scratch, so now I can turn around to
 him and note that patches are welcome :-) Having not used Pine since
 2.x, I had no idea what might have gone on regarding this bit.

BTW, IMAP handles both sides of this. Just don't purge - messages will
keep theit D flags...




Re: Exiting without applying deletions (was: Applying deletions without exiting)

2000-01-06 Thread David DeSimone

Brendan Cully [EMAIL PROTECTED] wrote:

 BTW, IMAP handles both sides of this. Just don't purge - messages will
 keep their D flags...

The last time I checked, Mutt doesn't send flag-changes to the IMAP
server until you quit... so the messages can't keep their D flags,
because Mutt never sent them.  Has that changed recently?

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
UX WTEC Engineer |PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44