#3711: Request for collapse/uncollapse commands
------------------------------------------+----------------------
 Reporter:  losingkeys                    |      Owner:  mutt-dev
     Type:  enhancement                   |     Status:  new
 Priority:  minor                         |  Milestone:
Component:  mutt                          |    Version:
 Keywords:  collapse,commands,uncollapse  |
------------------------------------------+----------------------
 Based on this thread (sorry if this isn't the canonical way to link to ML
 threads): http://permalink.gmane.org/gmane.mail.mutt.devel/21661.

 When trying to write macros for collapsing and deleting a thread I ran
 into an issue. If I'm on the index page, I have no way of knowing if a
 thread is collapsed or not (in a macro). It'd be useful to have a
 `collapse-thread` command, which would have no effect on an already
 collapsed thread. That way it doesn't matter that I can't conditionally
 collapse threads.

 I think it'd be useful for all the `toggle-` commands to have associated
 on/off versions of their commands, to work around the lack of
 conditionals in commands. Here are some I found in the manual:

 toggle-new
 toggle-write
 toggle-quoted
 toggle-unlink
 toggle-mailboxes
 toggle-subscribed
 collapse-thread
   (change to toggle-thread and add collapse/uncollapse-thread)
 collapse-all
   (change to toggle-all and add collapse/uncollapse-all)

 There might be others, but I'm not sure. Some of these might not seem to
 be sensible to have collapse/uncollapse versions, but I bet there's some
 circumstance where someone would find a use for them. Thanks for your
 consideration and the great mail client!

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

Reply via email to