Mikko Hänninen:
 |Randall Hopper <[EMAIL PROTECTED]> wrote on Sun, 13 Aug 2000:
 |>      manual.txt suggests a leading '^', but this doesn't work.  Maybe 
 |> it only works where you can specify a pattern flag, as in:  ^~C \.de$
 |
 |Well, you *can* do this with send-hooks.  If you only specify a pattern,
 |but no pattern operator, Mutt will use the value from $default_hook as
 |the operators.  (Check the manual for $default_hook)  You do need to use
 |the pattern operator so you can add the ^ prefix.
 |
 |So, if you use this kind of send-hook instead, it should work:
 |
 |  send-hook "^~C (jim|john|joe)@home.com" "set pgp_autoencrypt"

Well, I tried that before my original post.  Here is the error Mutt
generates on start-up:

  Error in /home/rhh/.mutt/lists.mutt, line 29: parentheses not balanced
  Error in /home/rhh/.muttrc-1.2i, line 205: source: errors in 
/home/rhh/.mutt/lists.mutt
  source: errors in /home/rhh/.muttrc-1.2i

Line 29 of lists.mutt is where this send-hook is.

-- 
Randall Hopper
[EMAIL PROTECTED]

Reply via email to