Re: Conditional macro?

2018-12-07 Thread Michael Wagner
On Dec 06, 2018 at 11:30:52, 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 behave differently > > dependent on the current folder? > > Or, if you just want to limit what's shown when you enter a folder, this > might

Re: Conditional macro?

2018-12-07 Thread Kevin J. McCarthy
On Fri, Dec 07, 2018 at 03:47:05PM +0100, Michael Wagner wrote: I have tested this and when I change the folder the error message is .: unknown command You'll need to use the push command to execute functions inside a folder hook: http://www.mutt.org/doc/manual/#push However, the push comman

Re: Conditional macro?

2018-12-07 Thread Michael Wagner
On Dec 07, 2018 at 09:57:38, Kevin J. McCarthy wrote: > On Fri, Dec 07, 2018 at 03:47:05PM +0100, Michael Wagner wrote: > > I have tested this and when I change the folder the error message is > > > > .: unknown command > > You'll need to use the push command to execute functions inside a folder