On Sat, Mar 26, 2016 at 12:11:55PM +0000, Christian Ebert wrote:
> * Erik Christiansen on Saturday, March 26, 2016 at 21:52:40 +1100
> > On 26.03.16 10:02, Christian Ebert wrote:
> >> * Erik Christiansen on Saturday, March 26, 2016 at 19:54:16 +1100
> >>> To return to a mailbox which was read earlier in the mutt session,
> >>> in the index, press 'c' to initiate a mailbox change, then either:
> >>> 
> >>> a) type in the full name of the desired mailbox,
> >>> b) type a few characters, then hit <tab> for autocompletion,
> >>> c) if b) meets multiple alternatives, hit <tab> again, for a list.
> >>> d) hit <up-arrow>, to cycle through visited mailboxes, till you're back.
> >> 
> >> e) hit - to go back to the previously visited mailbox
> > 
> > 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.
> 
> > Incidentally,
> > here '-' gives:   "Key is not bound.  Press '?' for help."
> 
> No, 'c', and then - at the prompt.
> 
> > 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.
> 

I can see what you both are referring to.  There are big differences
between 'c' and 'y' for my work style.  First, 'y' shows the files
defined by the "mailboxes" parameter, the ones I'm looking for.  In
contrast, 'c' shows the files defined by the "folder" parameter which
in my case is not the receiving mailboxes, but the previously saved
mail in ~/Mail (about 800 files). 

Another difference, 'y' immediately goes to the index where 'c' goes
to a prompt on the status line with a suggested path.  That is where
the '-' and up/down arrows can be used or a '?' entered to get to the
index.

All useful learning thank you.  But I'll ask my original query again.

Is there a way to have the index shown by the 'y' command limited to
those files that are NOT empty?

Jon
-- 
Jon H. LaBadie                 j...@jgcomp.com
 11226 South Shore Rd.          (703) 787-0688 (H)
 Reston, VA  20190              (703) 935-6720 (C)

Reply via email to