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

[Mutt] #3355: "mode-hook", for mode-specific settings



#3355: "mode-hook", for mode-specific settings
-------------------------+--------------------------------------------------
 Reporter:  josh         |       Owner:  mutt-dev
     Type:  enhancement  |      Status:  new     
 Priority:  major        |   Milestone:          
Component:  mutt         |     Version:          
 Keywords:               |  
-------------------------+--------------------------------------------------
 I'd like to set some settings differently depending on mutt's mode (pager,
 index, compose, ...).  The most natural solution for this seems like a
 mode hook, using the same names as "bind", allowing the same comma-
 separated syntax with the addition of ! for negation (all modes except
 these).

 To give a simple example, the following should turn off help for the pager
 and index, but leave it on everywhere else:

 mode-hook pager,index 'set help=no'
 mode-hook !pager,index 'set help=yes'

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