* help with posting style profile
@ 2006-10-04 14:48 cliff barnes
2006-10-04 15:49 ` Thomas Hühn
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: cliff barnes @ 2006-10-04 14:48 UTC (permalink / raw)
Hello, I have two problems to solve with my Gnus program.
Problem 1:
I have in my .gnus file a line similar to this:
'((".*"
(name "cliff barnes")
(organization "Wentworth Oil" ))
However, although a Usenet posting will show the 'from' as 'cliff
barnes', when the message is opened to be read, below the 'from' is a
field called 'sender' - which actually shows the user name and host name
of my pc!!
My question is how can I set this to a null value or even another name -
without of course changing my unix user account name.
Problem 2:
I only read / post to 3 newsgroups. I want to maintain 3 different
posting profiles for each group I post to. I would be grateful, if you
can show me how to do this, by specifying in full- the newsgroup name.
eg
1. alt.music
(name "singer")
(organization "record company"))
2. soc.culture.policy
(name "presidential")
(organization "white house"))
3. rec.arts.games
(name "fun")
(organization "cards"))
Can you show me the right wording to make each of these unique example
profiles automatically kick in whenever i post to one of these
newsgroups? Ideally, i would like the default "." to work if i posted to
any group other than these three.
Am I trying to use posting styles for something its not set up for???
I'm not sure at all :(
Thanks for reading and any help you can give me.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: help with posting style profile
2006-10-04 14:48 help with posting style profile cliff barnes
@ 2006-10-04 15:49 ` Thomas Hühn
2006-10-04 16:31 ` Reiner Steib
[not found] ` <mailman.7728.1159977757.9609.info-gnus-english@gnu.org>
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Hühn @ 2006-10-04 15:49 UTC (permalink / raw)
cliff barnes wrote:
> However, although a Usenet posting will show the 'from' as 'cliff
> barnes', when the message is opened to be read, below the 'from' is a
> field called 'sender' - which actually shows the user name and host name
> of my pc!!
>
> My question is how can I set this to a null value or even another name -
> without of course changing my unix user account name.
(add-to-list 'message-syntax-checks '(sender . disabled))
Thomas
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: help with posting style profile
2006-10-04 14:48 help with posting style profile cliff barnes
2006-10-04 15:49 ` Thomas Hühn
@ 2006-10-04 16:31 ` Reiner Steib
[not found] ` <mailman.7728.1159977757.9609.info-gnus-english@gnu.org>
2 siblings, 0 replies; 4+ messages in thread
From: Reiner Steib @ 2006-10-04 16:31 UTC (permalink / raw)
On Wed, Oct 04 2006, cliff barnes wrote:
> I have in my .gnus file a line similar to this:
> '((".*"
>
> (name "cliff barnes")
> (organization "Wentworth Oil" ))
>
> However, although a Usenet posting will show the 'from' as 'cliff barnes',
> when the message is opened to be read, below the 'from' is a field called
> sender' - which actually shows the user name and host name of my pc!!
>
> My question is how can I set this to a null value or even another name -
> without of course changing my unix user account name.
,----[ (info "(gnus)Oort Gnus") ]
| New features in Gnus 5.10:
| [...]
| * Gnus no longer generate the Sender: header automatically.
`----
If you can't upgrade, try adding (sender . disabled) to
`message-syntax-checks':
(eval-after-load "message"
'(add-to-list 'message-syntax-checks '(sender . disabled)))
> Problem 2:
[...]
> 1. alt.music
> (name "singer")
> (organization "record company"))
>
> 2. soc.culture.policy
> (name "presidential")
> (organization "white house"))
>
> 3. rec.arts.games
> (name "fun")
> (organization "cards"))
>
> Can you show me the right wording to make each of these unique example
> profiles automatically kick in whenever i post to one of these newsgroups?
> Ideally, i would like the default "." to work if i posted to any group other
> than these three.
(info "(gnus)Posting Styles"); <== Press C-x C-e here!
> Am I trying to use posting styles for something its not set up for???
No, this is exactly the purpose of posting styles.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <mailman.7728.1159977757.9609.info-gnus-english@gnu.org>]
* Re: help with posting style profile
[not found] ` <mailman.7728.1159977757.9609.info-gnus-english@gnu.org>
@ 2006-10-05 10:39 ` cliff barnes
0 siblings, 0 replies; 4+ messages in thread
From: cliff barnes @ 2006-10-05 10:39 UTC (permalink / raw)
Thomas Hühn wrote:
> cliff barnes wrote:
>
>> However, although a Usenet posting will show the 'from' as 'cliff
>> barnes', when the message is opened to be read, below the 'from' is a
>> field called 'sender' - which actually shows the user name and host name
>> of my pc!!
>>
>> My question is how can I set this to a null value or even another name -
>> without of course changing my unix user account name.
>
> (add-to-list 'message-syntax-checks '(sender . disabled))
>
> Thomas
Thank you. I got it to work
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-10-05 10:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-04 14:48 help with posting style profile cliff barnes
2006-10-04 15:49 ` Thomas Hühn
2006-10-04 16:31 ` Reiner Steib
[not found] ` <mailman.7728.1159977757.9609.info-gnus-english@gnu.org>
2006-10-05 10:39 ` cliff barnes
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).