save and select from mailbox list
Cameron Simpson
cs at cskk.id.au
Sun Dec 9 00:08:39 UTC 2018
On 30Nov2018 15:55, benfitzg at gmail.com <benfitzg at gmail.com> wrote:
>On Fri, Nov 30, 2018 at 09:57:02AM -0800, Felix Finch wrote:
>> On 20181130, benfitzg at gmail.com wrote:
>> > if i have a mail selected in the index and want to save and then be
>> > prompted to select one of my mailboxes, how can this be done?
>> >
>> > my first attempt was a macro with "<save-message><change-folder>?", but of
>> > course I can't get past <save-message> without first entering a folder at the
>> > prompt.
>>
>> I had the cursor on your message, in the index, and hit 's' -- it prompted me
>> for the mailbox name, '?' brought up the full list.
>
>> What am I missing?
>
>A beer. Many thanks, not sure what action ? is bound to on the save-message
>dialog, but this macro works great:
>
>macro index s "<save-message>?<toggle-mailboxes>"
Nice!
A tip for others testing macros: you can cut/paste a suggested macro
into a "push" command, eg:
:push "<save-message>?"
to test all of part of one without tediously hacking your config.
Cheers,
Cameron Simpson <cs at cskk.id.au>
More information about the Mutt-users
mailing list