From: Hadron Quark <hadronquark@gmail.com>
Subject: Re: Gnus-Pers (personalities)
Date: Mon, 08 May 2006 11:58:20 +0200 [thread overview]
Message-ID: <873bfkkfcz.fsf@gmail.com> (raw)
In-Reply-To: <87wtcxycgt.fsf@gmail.com>
Hadron Quark <hadronquark@gmail.com> 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.
next prev parent reply other threads:[~2006-05-08 9:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-07 17:24 Hadron Quark
2006-05-08 9:58 ` Hadron Quark [this message]
2006-05-08 16:44 ` Burton Samograd
2006-05-08 17:04 ` Hadron Quark
2006-05-08 17:17 ` Burton Samograd
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=873bfkkfcz.fsf@gmail.com \
--to=hadronquark@gmail.com \
/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).