* Another posting-styles question
@ 2003-08-24 17:20 Kirk Strauser
2003-08-25 22:45 ` Jesper Harder
0 siblings, 1 reply; 2+ messages in thread
From: Kirk Strauser @ 2003-08-24 17:20 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 561 bytes --]
I want to define a set of posting-style "macros" along the lines of:
(setq
posting-style-generic '(signature-file "~/.signature")
posting-style-technical '(signature-file "~/.signature-technical"))
and then use them in my Group Parameters like:
((posting-style
(posting-style-technical)
(Organization "The Strauser Group")))
but I can't seem to make the syntax work. The sticking point is when I want
to make a "macro" with multiple entries. Could someone boot me in the right
direction?
--
Kirk Strauser
[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Another posting-styles question
2003-08-24 17:20 Another posting-styles question Kirk Strauser
@ 2003-08-25 22:45 ` Jesper Harder
0 siblings, 0 replies; 2+ messages in thread
From: Jesper Harder @ 2003-08-25 22:45 UTC (permalink / raw)
Kirk Strauser <kirk@strauser.com> writes:
> I want to define a set of posting-style "macros" along the lines of:
>
> (setq
> posting-style-generic '(signature-file "~/.signature")
> posting-style-technical '(signature-file "~/.signature-technical"))
>
> and then use them in my Group Parameters like:
>
> ((posting-style
> (posting-style-technical)
> (Organization "The Strauser Group")))
>
> but I can't seem to make the syntax work. The sticking point is when I want
> to make a "macro" with multiple entries. Could someone boot me in the right
> direction?
If you use `gnus-parameters' you can do something like:
(add-to-list 'gnus-parameters
`("some.group" (posting-style
,posting-style-technical
(organization "The Strauser Group"))))
For multiple entries you need to splice the list in with ,@ -- see
<info://elisp/Backquote>.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-08-25 22:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-24 17:20 Another posting-styles question Kirk Strauser
2003-08-25 22:45 ` Jesper Harder
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).