Rebind the delete key (`d') to the `vm-save-message-to-trash' function defined here:
http://comments.gmane.org/gmane.emacs.viewmail/106 Cheers, Uday Daniel Barrett writes: > > Hi - I just joined the viewmail-info list today. Been using VM for > maybe 20 years...? > > Anyway, I have a question. The most common mistake I make with VM is > hitting "S" (vm-save-and-expunge-folder) too soon, deleting a message > that I didn't mean to delete. Is there some way to make > vm-save-and-expunge-folder move messages into a "trash" folder, rather > than permanently deleting them, so I can undo my mistake the next time > it happens? > > It would be fine if this worked only for the inbox folder. (My other > folders I can presumably retrieve from backups. Inbox changes too > frequently for that.) > > Thanks very much. > > -- > Dan Barrett > [email protected] > > >
