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, thanks.

> # Rebind d to move messages to Trash instead of deleting them.
> # Warning: this does not affect delete-pattern (D).
> folder-hook . 'macro index,pager d "<save-message>=Trash<enter>"'
> folder-hook =Trash 'macro index,pager d <delete-message>'

Also to make the delete thread work in index:
folder-hook .      'macro index <esc>d 
"<tag-thread>;<save-message>+Trash<enter>"'

And to allow to tag messages and delete (move) them to the
trash folder:
folder-hook .      'macro index,pager d <tag-prefix><save-message>+Trash<enter>'
folder-hook =Trash 'macro index,pager d <tag-prefix><delete-message>'

Does someone know a hack/method allowing to ask user for an
input? (To be able to emulate/replace the delete-pattern function)

Cheers,
Baptiste

-- 
\,,/_[-_-]_\,,/
http://asocial.ws/gwarf

 It's your god.
 They're your rules.
 *You* go to hell.

Attachment: pgpbVoNPlwQ6v.pgp
Description: PGP signature

Reply via email to