Paul, that's just brilliant, thank you :)
folder-hooks were always somehow overlooked by me but now I see the potential :)
Thanks once again!
--
Alex
On 12/6/18, Paul Hoffman wrote:
> On Thu, Dec 06, 2018 at 05:16:09PM +0200, Alex Sa wrote:
>> Is it possible to set up a macro that would
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?
Yes, using a folder hook to bind a key (or key sequence) to different
actions based on the folder. For example:
# In most folders,
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 wrote:
> Hello Alex,
>
> On Thu, Dec 06, 2018 at 05:16:09PM +0200, Alex
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
Hi!
Is it possible to set up a macro that would behave differently
dependent on the current folder?
Let's say I want to to limit messages in the "[Gmail]/All Mail" folder
to display only the new ones. So, if I'm not in "All Mail", that would
be something like this:
=[Gmail]/All Mail~U