Re: Move deleted messages to trash
--DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Alas! David T-G spake thus: % I haven't tested it with these macros, but when I save a message to the % same folder it's in, it deletes the original message and appends the % message to the mailbox (so it immediately appears in the index). Nothi= ng % goofy about it. =20 How do you delete a message from the trash folder if you have those macros bound without resorting to something wonky like saving to /dev/null? You're supposed to make a wonky folder-hook that deletes messages while in the trash, but saves them to the trash folder from other folders. ;) --=20 Rob 'Feztaa' Park [EMAIL PROTECTED] -- I'm always amazed to hear of air crash victims so badly mutilated that they have to be identified by their dental records. What I can't understand is, if they don't know who you are, how do they know who your dentist is? -- Paul Merton --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8WlohPTh2iSBKeccRAhrPAJ9E87FPX+6Gc/BrMsVe/OBUgy6zywCcDckM ynQjyr+mt09P1TPEBzeRNII= =nF+h -END PGP SIGNATURE- --DocE+STaALJfprDB--
Re: Move deleted messages to trash
Rob -- ...and then Feztaa said... % % Alas! David T-G spake thus: % % I haven't tested it with these macros, but when I save a message to the % % same folder it's in, it deletes the original message and appends the % % message to the mailbox (so it immediately appears in the index). Nothing % % goofy about it. % % How do you delete a message from the trash folder if you have those macros % bound without resorting to something wonky like saving to /dev/null? % % You're supposed to make a wonky folder-hook that deletes messages while % in the trash, but saves them to the trash folder from other folders. ;) No, no, I know that; I was explaining why things got goofy. It would be much cleaner to use Cedric's trash_folder patch anyway :-) % % -- % Rob 'Feztaa' Park % [EMAIL PROTECTED] :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg24071/pgp0.pgp Description: PGP signature
Re: Move deleted messages to trash
* Rob 'Feztaa' Park [EMAIL PROTECTED] [2002-10-01 20:15 -0700]: Alas! Andreas Reinhold spake thus: On Thu, Jan 10, 2002 at 07:59:59PM -0500, Justin R. Miller wrote: macro pager d save-message=trashenter move message to trash folder Thanks, this really works fine! Unless you happen to try to delete a message in the trash folder, then things get really goofy :) I haven't tested it with these macros, but when I save a message to the same folder it's in, it deletes the original message and appends the message to the mailbox (so it immediately appears in the index). Nothing goofy about it. -- [EMAIL PROTECTED] / DNRC / UMBC-LUG: http://linux.umbc.edu PGP: ID: D8C75CF5 print: 0A7D B3AD 2D10 1099 7649 AB64 04C2 05A6 --- -- Any system of 'justice' in which ignorance of the law is no exception, but in which there are too many laws for any one person to know and remember, _is by definition unjust_. -- McCandlish's Law of Unjust Bureaucracy, Stanton McCandlish, EFF online activist; 1993. --- --
Re: Move deleted messages to trash
Phil -- ...and then Phil Gregory said... % % * Rob 'Feztaa' Park [EMAIL PROTECTED] [2002-10-01 20:15 -0700]: % Alas! Andreas Reinhold spake thus: % On Thu, Jan 10, 2002 at 07:59:59PM -0500, Justin R. Miller wrote: %macro pager d save-message=trashenter move message to trash folder ... % Unless you happen to try to delete a message in the trash folder, then % things get really goofy :) % % I haven't tested it with these macros, but when I save a message to the % same folder it's in, it deletes the original message and appends the % message to the mailbox (so it immediately appears in the index). Nothing % goofy about it. How do you delete a message from the trash folder if you have those macros bound without resorting to something wonky like saving to /dev/null? % % -- % [EMAIL PROTECTED] / DNRC / UMBC-LUG: http://linux.umbc.edu :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg24052/pgp0.pgp Description: PGP signature
Re: Move deleted messages to trash
Hello James, On Tuesday, January 15, 2002 at 12:52:43 PM -0700, James Hamilton wrote: On Thu, Jan 10, 2002 at 07:59:59PM -0500, Justin R. Miller wrote: macro pager d save-message=trashenter move message to trash folder The method listed below makes me answer yes to each message I delete Simply add a second enter at the end of each one of Justin's macro definition, like this: macro pager d save-message=trashenterenter move message to trash folder Bye!Alain.
Re: Move deleted messages to trash
On Tue, Jan 15, 2002 at 05:11:32PM -0600, Jeremy Blosser wrote: | On Jan 15, Andreas Herceg [[EMAIL PROTECTED]] wrote: | On Tue, Jan 15, 2002 at 02:57:07PM -0500, Justin R. Miller wrote: | | Use what I recommended, in addition to a modified $delete value (consult | | the manual). The delete confirmation dialog is optional :-) | | I don't think the $delete value will help. The delete confirmation comes | to action, only when deleting from the trash. | | I think whot James meant, was the confirmation to append the messages to | the trash-folder. At least that's my problem. | | Then check $confirmappend. Sure, I already had that Idea. What I tried was: folder-hook trash set confirmappend=no What I achieved this way is that appending a message *from* the trash has not to be confirmed. Appending a message *to* trash has still to be confirmed. -- Andreas Herceg [EMAIL PROTECTED]
Re: Move deleted messages to trash
Andreas, et al -- ...and then Andreas Herceg said... % % On Tue, Jan 15, 2002 at 05:11:32PM -0600, Jeremy Blosser wrote: % | On Jan 15, Andreas Herceg [[EMAIL PROTECTED]] wrote: % | On Tue, Jan 15, 2002 at 02:57:07PM -0500, Justin R. Miller wrote: % | | Use what I recommended, in addition to a modified $delete value (consult % | | the manual). The delete confirmation dialog is optional :-) % | % | I don't think the $delete value will help. The delete confirmation comes % | to action, only when deleting from the trash. % | % | I think whot James meant, was the confirmation to append the messages to % | the trash-folder. At least that's my problem. % | % | Then check $confirmappend. % % Sure, I already had that Idea. What I tried was: % % folder-hook trash set confirmappend=no % % What I achieved this way is that appending a message *from* the trash % has not to be confirmed. Appending a message *to* trash has still to be % confirmed. You've seen why that won't work. Using a folder-hook on your current folder, or changing the macro to turn it off and then on, would do the trick. % % % -- % Andreas Herceg % [EMAIL PROTECTED] :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg23176/pgp0.pgp Description: PGP signature
Re: Move deleted messages to trash
James -- ...and then James Hamilton said... % % I usually delete a whole slue of messages at a time. For example I had ~150 messages to scan through in my inbox this morning. Most of them spam system email etc. Can someone suggest a way to mark them for deletion then when i sync-mailbox have the messages marked for deletion move to the trash folder? The method listed below makes me answer yes to each message I delete which is much more work than just keeping a backup of everything I recieve and going to it when I am missing mail.. If you want to have a trash folder, I highly recommend Cedric Duval's trash_folder patch. Meanwhile, checking your $confirmappend and $delete settings to set them to no (perhaps in your macro) will get rid of the prompting. HTH HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg23178/pgp0.pgp Description: PGP signature
Re: Move deleted messages to trash
I usually delete a whole slue of messages at a time. For example I had ~150 messages to scan through in my inbox this morning. Most of them spam system email etc. Can someone suggest a way to mark them for deletion then when i sync-mailbox have the messages marked for deletion move to the trash folder? The method listed below makes me answer yes to each message I delete which is much more work than just keeping a backup of everything I recieve and going to it when I am missing mail.. On Thu, Jan 10, 2002 at 07:59:59PM -0500, Justin R. Miller wrote: Thus spake Andreas Reinhold ([EMAIL PROTECTED]): i'm wondering how to tell my mutt to not completely delete messages marked with a D, but move them to my trash-folder instead. My sent messages are recorded in a sent-folder. I think storing deleted messages must be arranged in a similar way. But how? :) macro pager d save-message=trashenter move message to trash folder macro index d save-message=trashenter move message to trash folder macro pager \cD \et;save-message=trashenter move thread to trash folder macro index \cD \et;save-message=trashenter move thread to trash folder In addition, I have this to periodically clean the trash out. Just change in, poke around, and change out. folder-hook trash push 'D~r3d\n\cu.\n' -- Justin R. Miller [EMAIL PROTECTED] View my website at http://codesorcery.net Please encrypt email using key 0xC9C40C31 -- James Hamilton Southwest Cyberport 505-232-7992
Re: Move deleted messages to trash
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thus spake James Hamilton ([EMAIL PROTECTED]): Can someone suggest a way to mark them for deletion then when i sync-mailbox have the messages marked for deletion move to the trash folder? The method listed below makes me answer yes to each message I delete which is much more work than just keeping a backup of everything I recieve and going to it when I am missing mail.. Use what I recommended, in addition to a modified $delete value (consult the manual). The delete confirmation dialog is optional :-) - -- Justin R. Miller [EMAIL PROTECTED] View my website at http://codesorcery.net Please encrypt email using key 0xC9C40C31 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8RImS94d6K8nEDDERAjK/AJoDJ1bFbsr2D11986WS9k9ChBYhOwCfawjG CwvYIHYe6tjk6VD0u376g/Y= =TZ6b -END PGP SIGNATURE-
Re: Move deleted messages to trash
On Tue, Jan 15, 2002 at 02:57:07PM -0500, Justin R. Miller wrote: | Thus spake James Hamilton ([EMAIL PROTECTED]): | Can someone suggest a way to mark them for deletion then when i | sync-mailbox have the messages marked for deletion move to the trash | folder? The method listed below makes me answer yes to each message I | delete which is much more work than just keeping a backup of | everything I recieve and going to it when I am missing mail.. | | Use what I recommended, in addition to a modified $delete value (consult | the manual). The delete confirmation dialog is optional :-) I don't think the $delete value will help. The delete confirmation comes to action, only when deleting from the trash. I think whot James meant, was the confirmation to append the messages to the trash-folder. At least that's my problem. -- Andreas Herceg [EMAIL PROTECTED]
Re: Move deleted messages to trash
On Jan 15, Andreas Herceg [[EMAIL PROTECTED]] wrote: On Tue, Jan 15, 2002 at 02:57:07PM -0500, Justin R. Miller wrote: | Thus spake James Hamilton ([EMAIL PROTECTED]): | Can someone suggest a way to mark them for deletion then when i | sync-mailbox have the messages marked for deletion move to the trash | folder? The method listed below makes me answer yes to each message I | delete which is much more work than just keeping a backup of | everything I recieve and going to it when I am missing mail.. | | Use what I recommended, in addition to a modified $delete value (consult | the manual). The delete confirmation dialog is optional :-) I don't think the $delete value will help. The delete confirmation comes to action, only when deleting from the trash. I think whot James meant, was the confirmation to append the messages to the trash-folder. At least that's my problem. Then check $confirmappend. msg23144/pgp0.pgp Description: PGP signature
Re: Move deleted messages to trash
* Rob 'Feztaa' Park [EMAIL PROTECTED] [2002-01-10 20:15]: Alas! Andreas Reinhold spake thus: On Thu, Jan 10, 2002 at 07:59:59PM -0500, Justin R. Miller wrote: macro pager d save-message=trashenter move message to trash folder macro index d save-message=trashenter move message to trash folder macro pager \cD \et;save-message=trashenter move thread to trash folder macro index \cD \et;save-message=trashenter move thread to trash folder Thanks, this really works fine! Unless you happen to try to delete a message in the trash folder, then things get really goofy :) I would like to add this for safe :) folder-hook trash 'bind index d delete-message' folder-hook trash 'bind pager d delete-message' -- Eunjea [EMAIL PROTECTED] http://kldp.org/~eunjea/ GnuPG fingerprint: 08C9 2D3F 91B2 D395 2EFF 4C33 544C 321C E194 91CF msg22911/pgp0.pgp Description: PGP signature
Move deleted messages to trash
Hi, i'm wondering how to tell my mutt to not completely delete messages marked with a D, but move them to my trash-folder instead. My sent messages are recorded in a sent-folder. I think storing deleted messages must be arranged in a similar way. But how? :) cheers, Andi -- Killing in the name of... Andreas Reinhold [EMAIL PROTECTED] http://www.nose-down.de
Re: Move deleted messages to trash
Thus spake Andreas Reinhold ([EMAIL PROTECTED]): i'm wondering how to tell my mutt to not completely delete messages marked with a D, but move them to my trash-folder instead. My sent messages are recorded in a sent-folder. I think storing deleted messages must be arranged in a similar way. But how? :) macro pager d save-message=trashenter move message to trash folder macro index d save-message=trashenter move message to trash folder macro pager \cD \et;save-message=trashenter move thread to trash folder macro index \cD \et;save-message=trashenter move thread to trash folder In addition, I have this to periodically clean the trash out. Just change in, poke around, and change out. folder-hook trash push 'D~r3d\n\cu.\n' -- Justin R. Miller [EMAIL PROTECTED] View my website at http://codesorcery.net Please encrypt email using key 0xC9C40C31 msg22875/pgp0.pgp Description: PGP signature
Re: Move deleted messages to trash
On Thu, Jan 10, 2002 at 07:59:59PM -0500, Justin R. Miller wrote: macro pager d save-message=trashenter move message to trash folder macro index d save-message=trashenter move message to trash folder macro pager \cD \et;save-message=trashenter move thread to trash folder macro index \cD \et;save-message=trashenter move thread to trash folder Thanks, this really works fine! cheers Andi -- Killing in the name of... Andreas Reinhold [EMAIL PROTECTED] http://www.nose-down.de
Re: Move deleted messages to trash
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 11-01-02 at 08:17 * Andreas Reinhold said Hi, i'm wondering how to tell my mutt to not completely delete messages marked with a D, but move them to my trash-folder instead. My sent messages are recorded in a sent-folder. I think storing deleted messages must be arranged in a similar way. But how? :) There's a very good patch for this, which you can get at mutt.justpickone.org (among other places I imagine) It's called patch-1.3.25.cd.trash_folder.1 You must also 'set trash=~Mail/Trash (or whatever. - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8PpcxHpvrrTa6L5oRAlllAKCm7jfYkDWgyNseioPL00RrmmS+8ACff6Zv qJvYhNMT7Aej2HOEgne3cF0= =hwhN -END PGP SIGNATURE-