How to delete message with purge=no?
Sadeep Madurange
sadeep at asciimx.com
Thu Apr 11 12:48:31 UTC 2024
Hello Will,
On 2024-04-10 10:05:50, Will Yardley wrote:
> On Wed, Apr 10, 2024 at 08:22:03PM +0800, Sadeep Madurange wrote:
> > When deleting emails (with d), I get a prompt for purging them. I'd
> > like to silence that prompt with 'no'. And, see the prompt when I
> > change folder, or better yet, when I quit mutt.
> >
> > Is there a way to do this?
>
> If I'm understanding your question right, I think if you have
> "delete=ask-yes" in your config, this will already be the case, i.e.,
> it should just be marking the message for deletion, and asking you
> when synchronizing the mailbox, which should already only happen when
> you're changing folder or quitting, unless you explicitly run
> <sync-mailbox>.
>
> Do you have any macros that might be running <sync-mailbox>?
You're right. I had 'macro index,pager dd "<delete-message><sync-mailbox>"'
in my rc. I removed the <sync-mailbox> part, and now it's working the
way I want. Thank you!
--
Sadeep Madurange
PGP: 103BF9E3E750BF7E
More information about the Mutt-users
mailing list