Good evening, I'm trying to bind the "j" key to the function "sidebar-next" if the sidebar is visible. The only doable way seems to be using muttlisp. I tried to follow the example in the mutt manual but I'm failing to write this tiny piece of lisp code. Could someone help me please to correct the follwing? Or maybe there is a better/easier way to do this?
-------------------------------------------------------------- # sidebar visible --> bind index j next-undeleted # sidebar NOT visible --> bind index j sidebar-next bind index j ' \ (or \ (if (not $sidebar_visible) 'next-undeleted') \ ('sidebar-next') \ ) \ ' -------------------------------------------------------------- Mutt complains like this: Error in line 643: (or (if (not $sidebar_visible) next-undeleted) (sidebar-next) ) : no such function in map Thanks a lot! Andy -- A paranoid is someone who knows a little of what's going on. (William S. Burroughs)