Gnus development mailing list
 help / color / mirror / Atom feed
* Styles and system name
@ 1998-08-24  4:54 Harry Putnam
  1998-08-25  5:57 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Harry Putnam @ 1998-08-24  4:54 UTC (permalink / raw)



Am I right in thinking the part of a message-ID that comes after the
'@' is generated from your system name.  ie. in my case 'chub.local'.

Can using posting styles change what goes in that spot by changing the
system name?

I've used the example provided in 'Posting Styles':

It looks like it should change the system name.

     (setq gnus-posting-styles
           '((".*"
              (signature-file "~/.signature")
              (name "User Name")
              ("X-Home-Page" (getenv "WWW_HOME"))
              (organization "People's Front Against MWM"))
   ==>        ("nnml:exp"
              (signature my-funny-signature-randomizer))
   ==>       ((equal (system-name) "gnarly")
              (signature my-quote-randomizer))
             (posting-from-work-p
              (signature-file "~/.work-signature")
              (address "user@bar.foo")
              (body "You are fired.\n\nSincerely, your boss.")
              (organization "Important Work, Inc"))
             ("^nn.+:"
              (signature-file "~/.mail-signature"))))

I've inserted the "nnml:exp" above and made such a group to experiment,
but haven't seen how to change the system name.  Or is that even what
the line is about.


-- 

Harry Putnam  reader@newsguy.com






^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Styles and system name
  1998-08-24  4:54 Styles and system name Harry Putnam
@ 1998-08-25  5:57 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-08-25  5:57 UTC (permalink / raw)


Harry Putnam <reader@newsguy.com> writes:

> Am I right in thinking the part of a message-ID that comes after the
> '@' is generated from your system name.

Yes.

> Can using posting styles change what goes in that spot by changing the
> system name?
> 
> I've used the example provided in 'Posting Styles':
> 
> It looks like it should change the system name.
> 
>      (setq gnus-posting-styles
>            '((".*"
>               (signature-file "~/.signature")
>               (name "User Name")
>               ("X-Home-Page" (getenv "WWW_HOME"))
>               (organization "People's Front Against MWM"))
>    ==>        ("nnml:exp"
>               (signature my-funny-signature-randomizer))
>    ==>       ((equal (system-name) "gnarly")
>               (signature my-quote-randomizer))

I'm sorry, but I don't see how cheching that the function
`system-name' returns is supposed to alter the `system-name'
variable.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-08-25  5:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-08-24  4:54 Styles and system name Harry Putnam
1998-08-25  5:57 ` Lars Magne Ingebrigtsen

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).