The "formal" signature in the first list applies, while the "casual" one^^^^^
in the second does not. Any ideas?
#+begin_src elisp
(setq gnus-posting-styles
'( ;; first list
(".*"
(signature-file "formal"))^^^^^^^
;; second list
((header "Newsgroups" "comp.emacs")
(name "MYNAME")
(signature-file "casual"))))
#+end_src
Zaichuan Du <duzaichuan@hotmail.com> writes:
The "formal" signature in the first list applies, while the "casual" one^^^^^
in the second does not. Any ideas?
#+begin_src elisp
(setq gnus-posting-styles
'( ;; first list
(".*"
I only use such matches for protocols, servers and groups ...
(signature-file "formal"))^^^^^^^
;; second list
((header "Newsgroups" "comp.emacs")
... and assume that above ~(header ...)~ just would pre-set
the header "Newsgroups:" to "comp.emacs" instead of matching it.
Can you try ~(":comp\\.emacs$"~ instead?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 13:53:12 |
Calls: | 10,389 |
Calls today: | 4 |
Files: | 14,061 |
Messages: | 6,416,889 |
Posted today: | 1 |