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 work: > > # By default, show all messages > folder-hook . "<limit>.<Enter>" > > # In [Gmail]/All Mail, show only unread messages > folder-hook '^\[Gmail\]\/All Mail$' "<limit>~U<Enter>" Hello Paul,
I have tested this and when I change the folder the error message is <limit>.<Enter>: unknown command Is there another variable that I must set? Tia Michael -- Old MacDonald had a computer with an EIE I/O