Re: Deleting messages trash-can-style

2010-08-27 Thread Cameron Simpson
On 26Aug2010 18:20, seanh wrote: | On Thu, Aug 26, 2010 at 04:13:57PM +0200, Baptiste Grenier wrote: | > Also to make the delete thread work in index: | > folder-hook . 'macro index d ";+Trash"' | | I think this one is problematic. If the user has already tagged some | messages outside of t

Re: Deleting messages trash-can-style

2010-08-26 Thread seanh
On Thu, Aug 26, 2010 at 04:13:57PM +0200, Baptiste Grenier wrote: > Also to make the delete thread work in index: > folder-hook . 'macro index d > ";+Trash"' I think this one is problematic. If the user has already tagged some messages outside of the thread to be deleted and then she presses

Re: Deleting messages trash-can-style

2010-08-26 Thread Baptiste Grenier
Hi, Le 26/08/10 à 13:50, seanh téléscripta : > On Tue, Aug 24, 2010 at 01:19:34PM +0100, seanh wrote: > Also, this macro applies only to the index. If you press d when in the > pager it will delete the email, not move it to the trash! Here's a > version that applies to both index and pager: Yep,

Re: Deleting messages trash-can-style

2010-08-26 Thread seanh
On Tue, Aug 24, 2010 at 01:19:34PM +0100, seanh wrote: > On Mon, Aug 23, 2010 at 09:12:17AM +0200, Baptiste Grenier wrote: > > I am using this to copy deleted message to a trash: > > > > folder-hook . 'macro index d "+Trash"' > > folder-hook =Trash 'macro index d ' > > > > It's working quite

Re: Deleting messages trash-can-style

2010-08-24 Thread Brian Ryans
Quoting seanh on 2010-08-24 07:21:21, in Message-Id <20100824122121.gb26...@kisimul> > I think the third-party trash patch is applied in the version of mutt > from the debian repos. It is. -- _ Brian Ryans 8B2A 54C4 E275 8CFD 8A7D 5D0B 0AD0 B014 C112 13D0 . ( ) ICQ UIN: 43190205 | Mail/MS

Re: Deleting messages trash-can-style

2010-08-24 Thread Michael Elkins
On Tue, Aug 24, 2010 at 11:35:01AM +0200, Joel Dahl wrote: On 23-08-2010 16:10, Michael Elkins wrote: On Tue, Aug 24, 2010 at 12:53:05AM +0200, E. Prom wrote: >Quite weird, I'm using Mutt 1.5.20 (2009-06-14), in debian unstable, and >it's fine. Maybe disabled at compile time in your version? Th

Re: Deleting messages trash-can-style

2010-08-24 Thread seanh
On Tue, Aug 24, 2010 at 12:53:05AM +0200, E. Prom wrote: > On Monday, 23 August 2010, 23:34:54 +0200, > Michael Ludwig wrote: > > And my Mutt [version 1.5.20 (2009-12-10)] doesn't like this variable: > > trash: Unbekannte Variable. = unknown variable > > Quite weird, I'm using Mutt 1.5.20 (2009

Re: Deleting messages trash-can-style

2010-08-24 Thread seanh
On Mon, Aug 23, 2010 at 09:12:17AM +0200, Baptiste Grenier wrote: > I am using this to copy deleted message to a trash: > > folder-hook . 'macro index d "+Trash"' > folder-hook =Trash 'macro index d ' > > It's working quite good except that this does not handle message > deleted using the de

Re: Deleting messages trash-can-style

2010-08-24 Thread Joel Dahl
On 23-08-2010 16:10, Michael Elkins wrote: > On Tue, Aug 24, 2010 at 12:53:05AM +0200, E. Prom wrote: > >Quite weird, I'm using Mutt 1.5.20 (2009-06-14), in debian unstable, and > >it's fine. Maybe disabled at compile time in your version? > > The trash support is a 3rd party patch not present in

Re: Deleting messages trash-can-style

2010-08-23 Thread Michael Elkins
On Tue, Aug 24, 2010 at 12:53:05AM +0200, E. Prom wrote: Quite weird, I'm using Mutt 1.5.20 (2009-06-14), in debian unstable, and it's fine. Maybe disabled at compile time in your version? The trash support is a 3rd party patch not present in upstream Mutt. me pgpVan1mVLc7i.pgp Description:

Re: Deleting messages trash-can-style

2010-08-23 Thread E. Prom
On Monday, 23 August 2010, 23:34:54 +0200, Michael Ludwig wrote: > And my Mutt [version 1.5.20 (2009-12-10)] doesn't like this variable: > trash: Unbekannte Variable. = unknown variable Quite weird, I'm using Mutt 1.5.20 (2009-06-14), in debian unstable, and it's fine. Maybe disabled at compile

Re: Deleting messages trash-can-style

2010-08-23 Thread Michael Ludwig
> On Sunday, 22 August 2010, 18:51:31 +0200, > Michael Ludwig wrote: > > Can I configure Mutt to save deleted messages to another folder or > > mbox (as GUI mail clients do) instead of simply deleting it? > > What about the "trash" variable? > > Type: path > Default: “” > > If set, this v

Re: Deleting messages trash-can-style

2010-08-23 Thread Tim Gray
On Aug 22, 2010 at 08:11 PM +0200, Michael Ludwig wrote: If not, you might want to look at doing this: macro index d "=.Trash\n" macro pager d "=.Trash\n" That should work, but you'll want to change .Trash to something else, That works great, thanks! I think what does

Re: Deleting messages trash-can-style

2010-08-23 Thread E. Prom
On Sunday, 22 August 2010, 18:51:31 +0200, Michael Ludwig wrote: > Can I configure Mutt to save deleted messages to another folder or mbox > (as GUI mail clients do) instead of simply deleting it? What about the "trash" variable? Type: path Default: “” If set, this variable specifies the

Re: Deleting messages trash-can-style

2010-08-23 Thread Baptiste Grenier
Hello, Le 22/08/10 à 18:54, Michael Ludwig téléscripta : > I almost deleted a message I intended to keep from an mbox. The message > was accidentally marked as D, and when switching to another mbox, it was > just a brief hesitation (wasn't entirely sure what would be deleted now) > that kept me fr

Re: Deleting messages trash-can-style

2010-08-22 Thread Michael Ludwig
Hi Ed, ed schrieb am 22.08.2010 um 18:10 (+0100): > On Sun, Aug 22, 2010 at 06:51:31PM +0200, Michael Ludwig wrote: > > Can I configure Mutt to save deleted messages to another folder or > > mbox (as GUI mail clients do) instead of simply deleting it? > > I thought that was the default behaviour?

Re: Deleting messages trash-can-style

2010-08-22 Thread ed
On Sun, Aug 22, 2010 at 06:51:31PM +0200, Michael Ludwig wrote: > I almost deleted a message I intended to keep from an mbox. The message > was accidentally marked as D, and when switching to another mbox, it was > just a brief hesitation (wasn't entirely sure what would be deleted now) > that kept

Deleting messages trash-can-style

2010-08-22 Thread Michael Ludwig
I almost deleted a message I intended to keep from an mbox. The message was accidentally marked as D, and when switching to another mbox, it was just a brief hesitation (wasn't entirely sure what would be deleted now) that kept me from losing it. Can I configure Mutt to save deleted messages to an