* Martin Vegter <martin.veg...@aol.com> [11-29-13 15:27]:
> On 2013-11-29 14:35, LEVAI Daniel wrote:
> >On p, nov 29, 2013 at 14:07:18 +0100, Martin Vegter wrote:
 [...] 
> >>>This is how it works. You must sync the mailbox to purge the messages
> >>>that were being marked for deletion.  You can append the
> >>><sync-mailbox> function to the macro (but then 'S' will of course
> >>>purge any other messages marked for delete and all-in-all do
> >>>everything that eg.  '$' would have done).
> >>I have modified my macro, but <sync-mailbox> seems to make no
> >>difference.  I still see the message in inbox as marked deleted.
> >>
> >>macro index,pager S 
> >>"<tag-prefix><save-message>=archive<enter><sync-mailbox>"
> >
> >Oh, right. You must set delete=yes, if you want <sync-mailbox> to
> >actually purge the deleted mails.  I forgot about this.
> >
> >muttrc(5):
> >delete
> >   Type: quadoption
> >   Default: ask-yes
> >
> >   Controls whether or not messages are really deleted when closing or
> >   synchronizing a mail‐ box.  If set to yes, messages marked for
> >   deleting will automatically be purged without prompting.  If set to
> >   no, messages marked for deletion will be kept in the mailbox.
> >
> >
> >So eg.:
> >macro index,pager S \
> >  "<tag-prefix><save-message>=archive<enter>:set 
> > delete=yes<enter><sync-mailbox>:set delete=no<enter>"
> 
> unfortunately, this still does not work:
> 1) the messages-to-be-deleted are still in my inbox
> 2) the <enter> at the end actually acts <display-message>, so when I pres S,
> I end up in the pager.

A little trimming is in order or your posts really become somewhat
confusing, and it is good netiquette.  Some spacing might also be an
improvement.

Perhaps you should analyze a little of what you have done.  You included
in your macro "set delete=no", and have not read the resulting action
according to the quoted doc, and that was not what the OP instructed.

If I have read correctly....

-- 
(paka)Patrick Shanahan       Plainfield, Indiana, USA          @ptilopteri
http://en.opensuse.org    openSUSE Community Member    facebook/ptilopteri
http://wahoo.no-ip.org        Photo Album: http://wahoo.no-ip.org/gallery2
Registered Linux User #207535                    @ http://linuxcounter.net

Reply via email to