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

[Mutt] #3418: ~h should be usable in send-hooks



#3418: ~h should be usable in send-hooks
-----------------------------------------------------------+----------------
 Reporter:  madduck                                        |       Owner:  
mutt-dev
     Type:  defect                                         |      Status:  new  
   
 Priority:  major                                          |   Milestone:       
   
Component:  mutt                                           |     Version:  
1.5.20  
 Keywords:  hooks patterns send-hook send2-hook header ~h  |  
-----------------------------------------------------------+----------------
 Forwarded from http://bugs.debian.org/585764:

 Mutt allows the use of patterns in hooks, but
 http://www.mutt.org/doc/devel/manual.html#pattern-hook states:

   Mutt allows the use of the search pattern language for matching
   messages in hook commands. This works in exactly the same way as
   it would when limiting or searching the mailbox, except that you
   are restricted to those operators which match information Mutt
   extracts from the header of the message (i.e., from, to, cc, date,
   subject, etc.).

 Ironically, I cannot use ~h though, even though that searches the
 header. If I try, I get told:

   h: not supported in this mode

 It would be nice if ~h were usable, or if the restriction that only
 certain patterns are available in hooks were removed altogether,
 though I assume there is a good technical reason it exists.

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