From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/7286 Path: news.gmane.org!not-for-mail From: Hadron Quark Newsgroups: gmane.emacs.gnus.user Subject: Re: Gnus-Pers (personalities) Date: Mon, 08 May 2006 11:58:20 +0200 Message-ID: <873bfkkfcz.fsf@gmail.com> References: <87wtcxycgt.fsf@gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1147084825 28492 80.91.229.2 (8 May 2006 10:40:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 May 2006 10:40:25 +0000 (UTC) Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon May 08 12:40:22 2006 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fd3A5-0005OD-RL for gegu-info-gnus-english@m.gmane.org; Mon, 08 May 2006 12:40:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fd3A5-0006WD-2M for gegu-info-gnus-english@m.gmane.org; Mon, 08 May 2006 06:40:21 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.gamma.ru!Gamma.RU!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 34 Original-X-Trace: individual.net Fh2bHLbvtBEYBBxxBMDS2gWE/NH/EjN2BuPCuDkMv7AwEG0rYu X-Orig-Path: l.h.c!news User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:Yz60qHwjInfVBkaL703gac8LXyg= Original-Xref: shelby.stanford.edu gnu.emacs.gnus:77469 Original-To: info-gnus-english@gnu.org 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:7286 Archived-At: Hadron Quark writes: > I tried to set up .gnus.el posting-styles with no success : so now I try > Gnu-Pers instead (http://www.emacswiki.org/cgi-bin/emacs-en/GnusPers). > > Can some one please who me how they have configured a rule to match a > personality to a regular expression > > e.g > > I want to use personality "xxx" when I am in newsgroup, for example, > "comp.sys.ibm.pc.rpg" and press "a". From the scanty documentation it > seemed that I must check for "*.rpg" against symbol "group" but I'm > really not too sure anymore. > > I used "customize-group, personalities" and have 3 personalities set up > which I can successfuly select using "gnus-presonality-choose" (C-c > C-p). I have a default personality, but I really cant see how to match a > newsgroup name and then select a non default personality. > > Any pointers greatly appreciated : I'm sure its something obvious that > I'm blind to. problem solved and just involved reading up in elisp regular expressions. In the regexp it was .*word rather than *.word : not too difficult after all :) Next problem : does anyone have an example of how to set personalities based in mail group? I have nnmaildir groups set up : but the ng regexp for "electric headers" doesnt seem to work with these group "names" since there is no "newsgroup" field for this case.