Conditional macro?

Alex Sa 097115+mutt at gmail.com
Thu Dec 6 16:26:48 UTC 2018


Thanks, Francesco!

It's a bit of re-write for all the "changing folders" macroses that I
have previously set up but it seems like this trick indeed can help me
:)

Thanks once again!


-- 
Alex

On 12/6/18, Francesco Ariis <fa-ml at ariis.it> wrote:
> Hello Alex,
>
> On Thu, Dec 06, 2018 at 05:16:09PM +0200, Alex Sa wrote:
>> Is it possible to set up a macro that would behave differently
>> dependent on the current folder?
>
> Never tried it myself, but I recall this:
>
>     https://gitlab.com/muttmua/mutt/wikis/ConfigTricks
>
> (specifically, the "(ab)use "macros" as variables."; maybe you can
> "set" the variable once you enter a folder and then use it
> with your macro).
>
> Maybe it can be of help in your case?
> -F
>


-- 


-- 
Alex


More information about the Mutt-users mailing list