* Erik Christiansen on Saturday, March 26, 2016 at 23:56:51 +1100 > On 26.03.16 12:11, Christian Ebert wrote: >> * Erik Christiansen on Saturday, March 26, 2016 at 21:52:40 +1100 >>> OK, but that is d) mapped to a different key. >> >> No it isn't, the binding is 'c' as you wrote above for >> <change-folder> which presents the 'Open mailbox' prompt. When I >> enter - at the prompt it takes me back to the previous folder, >> very much like cd does. > > You're right - according to the manual, I see. _But_ even when I change > mailbox, then hit '-' without touching any other key, I still get:
No, you have to hit 'c' first. >>> "Key is not bound. Press '?' for help." >> >> No, 'c', and then - at the prompt. > > There isn't any prompt when just sitting in the index. > Pressing only '-' gives the error. After hitting 'c' in pager or index I get this 'menu' or 'prompt': Open mailbox ('?' for list): <some mailbox> Then I can override some mailbox with a mailbox location or by cycling through history with <up> and <down> ... or I enter '-' and return takes me to the previously visited mailbox. >>> I'm on Mutt 1.5.21, and default bindings may have changed since then. >>> (I have no binding for <up> in the index, so d) would seem to be >>> default.) >> >> <up> the prompt goes up in history, it's not a command binding, >> and will show you what you previously entered (somewhat like in a >> shell), entering - at the prompt will not present the previously >> visited mailbox, only '-', will not expand by hitting tab, but >> after hitting enter take me to the previous mailbox. > > Is that paragraph setting out to conflate 'c' <up> with some other use > of <up>, in an unrelated context? No, <up> - or <down> for that matter cycle through history and show the corresponding mailbox in the 'menu' or 'prompt' which you can edit or tab complete etc. The '-' could be seen as an unexpandable (no mailbox name is displayed) shortcut for <up> once. > When it's working, do repeated '-' step backwards through the previously > visited mailboxes, as 'c' <up> does? (The manual is unclear, and I can't > test it.) No. It's like `cd -` in a shell: it does not cycle through history, it always takes you to the previous mailbox, if done repeatedly it toggles current mailbox with the previous one. This seems outdated, I think also for your version: http://www.mutt.org/doc/manual/manual-2.html#ss2.1 But here it's documented: https://dev.mutt.org/hg/mutt/file/484b34e23f2a/doc/manual.xml.head#l505 -- theatre - books - texts - movies Black Trash Productions at home: http://www.blacktrash.org Black Trash Productions on Facebook: http://www.facebook.com/blacktrashproductions