<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #3138: IMAP: leaf folders in LSUB are not recognized



#3138: IMAP: leaf folders in LSUB are not recognized correctly (was: problem 
with
backslash as folder separator)
-------------------------+--------------------------------------------------
  Reporter:  uspoerlein  |       Owner:  brendan                             
      Type:  defect      |      Status:  closed                              
  Priority:  minor       |   Milestone:  1.6                                 
 Component:  IMAP        |     Version:  1.5.18                              
Resolution:  fixed       |    Keywords:  imap folder separator backslash leaf
-------------------------+--------------------------------------------------
Changes (by brendan):

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


Comment:

 I've just tested tip on dovecot configured as you described and everything
 works as well with a \ delimiter as without. Mutt is expected to generate
 an LSUB request on testing\a when you press `<enter>`. The reason is that
 `LSUB "" "testing\\%"` returns:
 {{{
 * LSUB () "\\" {9}
 testing\a
 }}}
 In particular, there's no `(\NoInferiors)` tag after LSUB. Note that this
 is typical when you've switched to the subscription browser with `<toggle-
 subscribed>`, and that if you were in the regular browser (toggle back),
 you'd get a `\NoInferiors` tag and `<enter>` would open the folder.

 I think `<toggle-subscribed>` is what's causing confusion about `LSUB ""
 "%"` vs `LSUB "" "*"` too. The former is (and has always been) generated
 only by the subscription browser, while the latter is generated when
 `imap_check_subscribed` is set in order to add subscribed mailboxes to the
 `mailboxes` list.

 Thanks for the additional data, especially the dovecot recipe. I'm closing
 this bug since setting the delimiter to \ doesn't change mutt's behaviour.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3138#comment:5>
Mutt <http://www.mutt.org/>
The Mutt mail user agent