[email protected] (Adam Sjøgren) writes:
Hi Adam,
> I have a group parameter set on a group where I set cc to something.
>
> This overwrites any Cc that is added by a wide reply in that group,
> which isn't quite what I want.
>
> Is there a way to have the posting style add to the Cc-list if a
> Cc-header already exists, and otherwise create it?
,----[ (info "(gnus)Posting Styles") ]
| Each style may contain an arbitrary amount of "attributes". Each
| attribute consists of a `(NAME VALUE)' pair. In addition, you can also
| use the `(NAME :file VALUE)' form or the `(NAME :value VALUE)' form.
| Where `:file' signifies VALUE represents a file name and its contents
| should be used as the attribute value, `:value' signifies VALUE does
| not represent a file name explicitly. The attribute name can be one of:
|
| The attribute name can also be a string or a symbol. In that case,
| this will be used as a header name,[...]
|
| The attribute value can be a string, a function with zero arguments
| (the return value will be used), a variable (its value will be used)
| or a list (it will be `eval'ed and the return value will be
| used).
`----
So it seems you can have an posting style entry like that
(Cc (save-excursion
(message-goto-cc)
(concat "[email protected]"
(buffer-substring-no-properties
(point) (line-end-position)))
Totally untested, of course.
Bye,
Tassilo
_______________________________________________
info-gnus-english mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/info-gnus-english