Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+from-uce@imap.cc>
Subject: Re: Using alternatives with gnus-posting-styles
Date: Fri, 07 Oct 2005 20:23:39 +0200	[thread overview]
Message-ID: <v9oe61w5hw.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <m3mzll9phd.fsf@ceres.staly.plus.com>

On Fri, Oct 07 2005, David Sumbler wrote:

> (setq gnus-posting-styles
> '(("GroupA"
>    (signature-file "~/somesigfile"))
>   ("GroupB"
>    (signature-file "~/somesigfile"))
> ))
>
> Is there a more elegant way of doing it?

(setq gnus-posting-styles
      '(("GroupA\\|GroupB"
	 (signature-file "~/somesigfile")))

,----[ (info "(emacs)Regexps") ]
| Syntax of Regular Expressions
`----

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/


      reply	other threads:[~2005-10-07 18:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-07 18:00 David Sumbler
2005-10-07 18:23 ` Reiner Steib [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v9oe61w5hw.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+from-uce@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).