[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ``Quips'' in signatures

From: Karl Kleinpaste
Subject: Re: ``Quips'' in signatures
Date: Mon, 17 Aug 2009 14:20:51 -0400
User-agent: Gnus/5.110011 (No Gnus v0.11) XEmacs/21.5-b29 (linux)

Merciadri Luca <> 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*?


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@"
                             " (figure it out: k+u@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).
         ("X-Face" nil)
         ("Gcc" nil))
        ;; ----------------------------------------
        ;; have a little politically-incorrect fun.
         (signature "Hit man for hire."))
        ;; ----------------------------------------
        ;; carnegie-mellon: act like i'm still there.
         (address ""))))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]