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

Re: [Mutt] #3366: mutt-1.5.20: message-hooks and alternative_order don't seem to get along



#3366: mutt-1.5.20: message-hooks and alternative_order don't seem to get along
--------------------------------------------------+-------------------------
  Reporter:  matt+bugzilla@â                      |       Owner:  mutt-dev
      Type:  defect                               |      Status:  new     
  Priority:  major                                |   Milestone:          
 Component:  mutt                                 |     Version:          
Resolution:  fixed                                |    Keywords:          
--------------------------------------------------+-------------------------

Comment(by blacktrash):

 Replying to [ticket:3366 matt+bugzilla@â]:

 > The following two .muttrc lines do not work, regardless of order:
 >
 > message-hook '~f order@dominos' 'alternative_order text/html text/plain'
 > message-hook ~A 'alternative_order text/plain text/html'

 Try unalternative_order * beforehand:

 message-hook ~A 'unalternative_order *; alternative_order text/plain
 text/html'
 message-hook '~f order@dominos' 'unalternative_order *; alternative_order
 text/html text/plain'

 imho only the reversed order - ~A first - makes sense, because ~A will
 override the more specific hook otherwise.

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