From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: pocmatos@gmail.com (Paulo J. Matos) Newsgroups: gmane.emacs.help Subject: gnus-posting-styles matching Date: Thu, 22 Apr 2010 13:28:29 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1271939370 18263 80.91.229.12 (22 Apr 2010 12:29:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 22 Apr 2010 12:29:30 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 22 14:29:26 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O4vX0-0007aT-8G for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Apr 2010 14:29:22 +0200 Original-Received: from localhost ([127.0.0.1]:37703 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4vWz-0007uj-JT for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Apr 2010 08:29:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4vWH-0007uc-Mn for help-gnu-emacs@gnu.org; Thu, 22 Apr 2010 08:28:37 -0400 Original-Received: from [140.186.70.92] (port=52269 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4vWG-0007uM-Ao for help-gnu-emacs@gnu.org; Thu, 22 Apr 2010 08:28:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4vWF-00087y-7v for help-gnu-emacs@gnu.org; Thu, 22 Apr 2010 08:28:36 -0400 Original-Received: from cluster-g.mailcontrol.com ([208.87.233.190]:57603) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4vWF-00087r-01 for help-gnu-emacs@gnu.org; Thu, 22 Apr 2010 08:28:35 -0400 Original-Received: from cameurexb01.EUROPE.ROOT.PRI ([193.128.72.68]) by rly22g.srv.mailcontrol.com (MailControl) with ESMTP id o3MCSV9o024510 for ; Thu, 22 Apr 2010 13:28:32 +0100 Original-Received: from alma.europe.root.pri ([10.102.144.37]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.4675); Thu, 22 Apr 2010 13:28:31 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-OriginalArrivalTime: 22 Apr 2010 12:28:31.0542 (UTC) FILETIME=[51A5B560:01CAE217] X-Scanned-By: MailControl A_09_40_00 (www.mailcontrol.com) on 10.71.0.132 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72794 Archived-At: I have a work account and a work account set up in gnus. Work account is nnimap+csr:INBOX... etc I want to set my address id to be my work email when I reply to an email inside one of these groups or when I create a new email inside one of these groups. I set the following style: ,---- | (setq gnus-posting-styles | '((".*" | (signature-file "~/local/gnus/signature") | (name "Paulo J. Matos") | (address "pxxxxxxs@gmail.com")) | ("nnimap\\+csr:.*" | (address "Pxxxxxxxxs@csr.com") | (organization "Cambridge Silicon Radio plc.")))) `---- However this doesn't actually work. I end up having always the address id of the gmail.com account. Any tips on how to setup this correctly and more generally what this alist is matched against? -- PMatos