summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoni Rabkin <yrk@gnu.org>2014-12-04 17:09:17 -0500
committerYoni Rabkin <yrk@gnu.org>2014-12-04 17:09:17 -0500
commitf0cf810d40d85cd78d11438a7d2236163caace78 (patch)
tree772046faa64fb2f19a41771063720a88ab1716d2
parenta7239394923673d95b701269b0e1b49a3318e276 (diff)
* doc/rt-liberation.texinfo: Update manual.
This should help people wondering why their signatures suddenly don't work anymore in rt-liberation.
-rw-r--r--doc/rt-liberation.texinfo37
1 files changed, 23 insertions, 14 deletions
diff --git a/doc/rt-liberation.texinfo b/doc/rt-liberation.texinfo
index 168e68c..de6b2d4 100644
--- a/doc/rt-liberation.texinfo
+++ b/doc/rt-liberation.texinfo
@@ -862,15 +862,12 @@ loading rt-liberation:
In order for rt-liberation-gnus to be useful a few variables need to
be specialized. The following is example code which sets these
-variables followed by a more thorough description of the variables:
+variables. Below is a thorough description of those variables.
@lisp
(setq rt-liber-gnus-comment-address "our-rtserver-comment@@ourserver.org"
rt-liber-gnus-address "our-rtserver@@ourserver.org"
- rt-liber-gnus-subject-name "ourserver.org"
- rt-liber-gnus-answer-headers '(("Gcc" . "nnml:Send-Mail")
- ("X-Ethics" . "Use GNU"))
- rt-liber-gnus-signature "Kind Regards")
+ rt-liber-gnus-subject-name "ourserver.org")
@end lisp
@defopt
@@ -889,15 +886,27 @@ the beginning of the square brackets in the subject. The string is a
part of the subject line which helps the RT server recognize the
email.
@end defopt
-@defopt
-@var{rt-liber-gnus-answer-headers} defines a list of dotted-pairs
-containing the header name and value for additional email headers.
-@end defopt
-@defopt
-A signature can be added automatically to the end of the email by
-setting @var{rt-liber-gnus-signature} to be some text. It is useful to
-include newlines in this text to make the signature format nicely.
-@end defopt
+
+Gnus posting styles controlled by @var{gnus-posting-styles} can be
+customized for rt-liberation-gnus by using the variable
+@var{rt-liber-gnus-p}, which is only non-nil when rt-liberation-gnus
+launches a Gnus message buffer.
+
+Here is example code which uses @var{rt-liber-gnus-p} to override the
+signature in the default posting style with one special to
+rt-liberation. Headers can be added and removed in a similar manner.
+
+@lisp
+(setq gnus-posting-styles
+ '((".*"
+ (name "Lemm E. Hackitt")
+ (address "Lemm@@hack.it")
+ (signature-file "~/sig.txt")
+ ("X-Ethics" "Use GNU"))
+ (rt-liber-gnus-p
+ (signature-file "~/rt-liber-sig.txt"))))
+@end lisp
+
Once rt-liberation-gnus is loaded and customized the key-bindings in
the Viewer will be able to call into it, @xref{Ticket Viewer}.