Macro to apply on current mailbox
Oleg A. Mamontov
oleg at mamontov.net
Mon Feb 15 22:14:31 UTC 2021
On Mon, Feb 15, 2021 at 10:58:22PM +0100, Angel M Alganza wrote:
>On Mon, Feb 15, 2021 at 10:40:18PM +0100, Genética wrote:
>>On Tue, Feb 16, 2021 at 12:26:54AM +0300, Oleg A. Mamontov wrote:
>>
>>>>Then what should I do to mbsync the current maildir?
>>>>Hitting ESC-o doesn't seem to do it.
>>>
>>>Yes, it is.
>>>For debug I suggest to simplify macro as:
>>>---
>>>macro index,pager <esc>o "<shell-escape>mbsync full:$record"
>>
>>Nice. It shows that:
>>
>> Shell command: mbsync full:
>
>OK, now, I realized that the last two lines on your macro were
>actually a single line. I fixed that and now I get:
>
> No channel or group named 'full' defined.
'full' is the name of my mbsync channel defined in ~/.mbsynrc:
---
# full set of mailboxes
Channel full
...
---
It was just an example that you need to correct according to your mbsync
setup.
>Ángel
--
Cheers,
Oleg A. Mamontov
mailto: oleg at mamontov.net
skype: lonerr11
cell: +7 (903) 798-1352
More information about the Mutt-users
mailing list