Re: [Mutt] #3887: Spool file name beginning with $folder is truncated in sidebar

2016-10-16 Thread Mutt
#3887: Spool file name beginning with $folder is truncated in sidebar
--+--
  Reporter:  mjbrown  |  Owner:  mutt-dev
  Type:  defect   | Status:  closed
  Priority:  trivial  |  Milestone:
 Component:  display  |Version:  1.7.0
Resolution:  fixed|   Keywords:
--+--
Changes (by Kevin McCarthy ):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"18c3db1aa8c44c507d58302a103de0d65c39fdfe"
 6822:18c3db1aa8c4]:
 {{{
 #!CommitTicketReference repository=""
 revision="18c3db1aa8c44c507d58302a103de0d65c39fdfe"
 Change sidebar to only match $folder prefix on a $sidebar_divider_char.
 (closes #3887)

 The reporter had a $spoolfile of ~/Mailbox and a $folder of ~/Mail.
 The sidebar was truncating the spoolfile to "ox" because it only
 looked at a substring prefix match.
 }}}

--
Ticket URL: 
Mutt 
The Mutt mail user agent



[Mutt] #3887: Spool file name beginning with $folder is truncated in sidebar

2016-10-14 Thread Mutt
#3887: Spool file name beginning with $folder is truncated in sidebar
-+--
 Reporter:  mjbrown  |  Owner:  mutt-dev
 Type:  defect   | Status:  new
 Priority:  trivial  |  Milestone:
Component:  display  |Version:  1.7.0
 Keywords:   |
-+--
 If the $spoolfile is ~/Mailbox (which is the qmail default spool), and
 $folder is the default ~/Mail, then the spool file shows up in the sidebar
 as just "ox".  I would expect to instead see "Mailbox" or the whole $MAIL
 string "/home/username/Mailbox".

 I can work around it by making a symlink to ~/Mail and then setting
 $folder to that symlink in my .muttrc. This results in the spool file
 showing up in the sidebar as whatever the full $MAIL string is, in my case
 "/home/mike/Mailbox". I would prefer "Mailbox" or the ability to give it a
 label like "INBOX", but the full path is short enough for me for now.

 This issue does not affect files in the $folder directory, e.g.
 ~/Mail/Mailtest will show in the sidebar as "Mailtest". Only the display
 of the spool file is affected.

 I am using Mutt 1.7.0 (2016-08-17) on FreeBSD, from the ports collection.
 Let me know if more info is needed.

--
Ticket URL: 
Mutt 
The Mutt mail user agent