sidebar inconsistencies or misunderstandings

2022-12-06 Thread Andy Spiegl
Playing around with the sidebar I came up with a few inconsistencies or most likely misunderstandings. Maybe someone could enlighten me please? * The sidebar really cannot see a difference between NEW and OLD mails? So, %N shows the sum of NEW and OLD mails? But then, how is the value %n calc

Re: Muttlisp question

2022-12-06 Thread Andy Spiegl
> Oh, I meant less efficient because the evaluation is done every time the key > is pressed when using the macro. Plus it's a macro executing a > which is evaluating MuttLisp. Oh, of course! You are right. What was I thinking? Maybe I should stop tweaking my mutt config and go to bed? :-) Th

Re: Muttlisp question

2022-12-06 Thread Kevin J. McCarthy
On Tue, Dec 06, 2022 at 10:08:04PM +0100, Andy Spiegl wrote: Well, you could try putting the keybindings such as Sure, but weren't we talking about efficency, i.e. without Muttlisp? :-) Oh, I meant less efficient because the evaluation is done every time the key is pressed when using the mac

Re: Muttlisp question

2022-12-06 Thread Andy Spiegl
> Sorry I wasn't clear enough. Now I understood it. Thank you very much! > Well, you could try putting the keybindings such as Sure, but weren't we talking about efficency, i.e. without Muttlisp? :-) Thanks, Andy -- The brain is a wonderful organ; it starts working the moment you get up in

Re: Muttlisp question

2022-12-06 Thread Kevin J. McCarthy
On Tue, Dec 06, 2022 at 08:47:27PM +0100, Andy Spiegl wrote: The muttlisp can't be inside quotes, so I removed the outer single quotes. Is this only true for "bind" lines? Because in the macro the muttlisp code is inside quotes: macro index j 'run (if (equal $sidebar_visible "yes") \

Re: Muttlisp question

2022-12-06 Thread Andy Spiegl
Kevin, thanks a lot! This was exactly what I was looking for. > The muttlisp can't be inside quotes, so I removed the outer single > quotes. Is this only true for "bind" lines? Because in the macro the muttlisp code is inside quotes: > macro index j 'run (if (equal $sidebar_visible "yes") \ >