From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/10374 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.user Subject: Re: Separate signature files for email and groups Date: Fri, 15 Feb 2008 20:04:53 +0100 Message-ID: <87pruyqbvu.fsf@member.fsf.org> References: <87pruylx4a.fsf@nospam.please.ucdavis.edu> <87bq6iz57z.fsf@nospam.please.ucdavis.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1203102335 29530 80.91.229.12 (15 Feb 2008 19:05:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Feb 2008 19:05:35 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Feb 15 20:05:57 2008 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JQ5sP-00035M-3l for gegu-info-gnus-english@m.gmane.org; Fri, 15 Feb 2008 20:05:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQ5ru-0007Ay-K4 for gegu-info-gnus-english@m.gmane.org; Fri, 15 Feb 2008 14:05:06 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JQ5rs-0007AQ-Ip for info-gnus-english@gnu.org; Fri, 15 Feb 2008 14:05:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JQ5rs-0007A5-0o for info-gnus-english@gnu.org; Fri, 15 Feb 2008 14:05:04 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQ5rr-0007A2-Ul for info-gnus-english@gnu.org; Fri, 15 Feb 2008 14:05:03 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JQ5rr-0007al-AF for info-gnus-english@gnu.org; Fri, 15 Feb 2008 14:05:03 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JQ5rm-000229-Up for info-gnus-english@gnu.org; Fri, 15 Feb 2008 19:04:59 +0000 Original-Received: from dslb-084-063-041-141.pools.arcor-ip.net ([84.63.41.141]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Feb 2008 19:04:58 +0000 Original-Received: from tassilo by dslb-084-063-041-141.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Feb 2008 19:04:58 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-084-063-041-141.pools.arcor-ip.net User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:RgSE9QoAsaShsaZuNNZJmZQAU1o= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:10374 Archived-At: Sam Peterson writes: Hi Sam, >> (setq gnus-posting-styles >> `((".*" >> (signature-file "~/.my-mail-sig.txt")) >> ("^nntp" >> (signature "Foo Bar Baz")))) >> >> This will use the text of the file ~/.my-mail-sig.txt for every >> posting, except it's in a group starting with nntp (= newsgroup). >> There it will use the string "Foo Bar Baz" as signature. > > Actually, I take that back...this *seemed* like it worked, but it > stopped working mysteriously, I think I may have got my wires crossed. > "^nntp" pattern doesn't seem to match any newsgroups unfortunately. Ah, sorry. I use nnnil as gnus-select-method and add all news and mail servers as gnus-secondary-select-methods. Those do always have a backend+name prefix, but the one and only gnus-select-method doesn't. Bye, Tassilo -- In an average living room there are 1,242 objects RMS could use to write an OS, including the room itself.