Merciadri Luca <luca.mercia...@student.ulg.ac.be> writes:
> I have seen that many of the users of this Usenet group always use
> citations at the end of their mail (esp. in their signature).
> How can I manage to do this *simply*?

info://Gnus/Posting+Styles

Simple, eh, don't know about that.  Here's an abbreviated instance of
mine.  Basically, posting styles let you define a bunch of header and
trailer properties based on a conditional opening expression.  Notice
the literal quote that begins the list.  Also observe that any header
name can be specified by double-quoted reference, but certain tokens are
special: address, signature.

(setq gnus-posting-styles
      '(;; ----------------------------------------
        ;; general public (not mailing list) posting: special "Reply-To".
        ((or (string-match "personal\\.usenet" gnus-newsgroup-name)
             (and (message-news-p)
                  (string-match "^nntp\\+news:"; gnus-newsgroup-name)))
         ("Reply-To" (concat "MyGivenName+usenet@"
                             mail-host-address
                             " (figure it out: k...@k.o)"))
         (address (concat "invalid@" mail-host-address))
         )
        ;; ----------------------------------------
        ;; private reply to public posting: gcc as "general".
        ((and (not (boundp 'post))
              (string-match "^\\(list\\|nntp\\+\\)" gnus-newsgroup-name))
         ("Gcc" "personal.general"))
        ;; ----------------------------------------
        ;; anything w/mailer needs no help (mostly majordomo).
        ("mailer-daemon"
         ("X-Face" nil)
         ("Gcc" nil))
        ;; ----------------------------------------
        ;; have a little politically-incorrect fun.
        ("survival"
         (signature "Hit man for hire."))
        ;; ----------------------------------------
        ;; carnegie-mellon: act like i'm still there.
        ("cmu"
         (address "ka...@cs.cmu.edu"))))
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to