On 26Oct2020 23:09, Globe Trotter via Mutt-users <mutt-users@mutt.org> wrote: >On Monday, October 26, 2020, 5:19:58 PM CDT, Cameron Simpson <c...@cskk.id.au> >wrote: >>On 25Oct2020 23:43, Globe Trotter via Mutt-users <mutt-users@mutt.org> >>wrote: >>>> I highlight on the folder user1 and I get: /home/gt/user1 is not a >>>> mailbox. >>>Hmm, me too. >> I withdraw this - I had a nonexistent name in my mailboxes list. With >> that fixed, the sidebar behaves correctly for me. >> More investigation needed. Does it fail for all your mailboxes, or >> just specific ones? > >I am not sure: here is my setting, and I can not get the cursor to go >to the sidebar at all anymore. Is there some setting I am missing?
The cursor does not go to the sidebar. It is kind of like a control separately manipulated. So you need some key bindings to operate it. On my machine the sidebar hightlights the current folder (whose index is shown) and separately highlights a "selected" folder, which you move around before using <sidebar-open> to switch to the selected new folder. My settings are presently just this: [~/rc/mutt(hg:default)]fleet2*> g sidebar * macros:77:macro index J <sidebar-next> macros:78:macro index K <sidebar-prev> macros:79:macro index O <sidebar-open> settings:112:set sidebar_divider_char=" | " settings:113:set sidebar_folder_indent=yes settings:114:set sidebar_indent_string="→" settings:115:set sidebar_short_path=yes settings:116:set sidebar_sort_method=alpha settings:117:set sidebar_visible=yes Looking at your settings: ># Should the mailbox paths be abbreviated? >set sidebar_short_path = yes You could try turning this off to ensure that the paths it shows are in fact the paths you expect. ># When abbreviating mailbox path names, use any of these characters as path ># separators. Only the part after the last separators will be shown. ># For file folders '/' is good. For IMAP folders, often '.' is useful. >set sidebar_delim_chars = '/' And turn this off too, again just to debug. ># >-------------------------------------------------------------------------- ># FUNCTIONS – shown with an example mapping ># -------------------------------------------------------------------------- ># Move the highlight to the previous mailbox >bind index,pager \Cp sidebar-prev ># Move the highlight to the next mailbox >bind index,pager \Cn sidebar-next ># Open the highlighted mailbox >bind index,pager \Co sidebar-open Hmm, these are nicer than my bindings. I think I'll adopt them. ># Toggle the visibility of the Sidebar. >bind index,pager \CV sidebar-toggle-visible Also nice. >Some setting is probably messed up. Not sure what I am looking for. Thanks! I'd turn off the abbreviation settings mentioned above. Then cut/paste the displayed folder paths into "cd" shell commands or the like to see if they are correct. You may need to widen the widedar for this. Also, are you naming mailboxes with full paths or with +foo or =foo abbreviations? The latter are more reliable, particularly since the rest of mutt also relies on that prefix and will break pretty obviously if it is wrong. Cheers, Cameron Simpson <c...@cskk.id.au> (formerly c...@zip.com.au)