[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to create/add-to-existing headers in a posting style?
From: |
Tassilo Horn |
Subject: |
Re: How to create/add-to-existing headers in a posting style? |
Date: |
Sun, 15 Jul 2012 11:05:48 +0200 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) |
asjo@koldfront.dk (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 "theboss@company.invalid"
(buffer-substring-no-properties
(point) (line-end-position)))
Totally untested, of course.
Bye,
Tassilo
- How to create/add-to-existing headers in a posting style?, Adam Sjøgren, 2012/07/14
- Re: How to create/add-to-existing headers in a posting style?,
Tassilo Horn <=
- Re: How to create/add-to-existing headers in a posting style?, Adam Sjøgren, 2012/07/15
- Re: How to create/add-to-existing headers in a posting style?, Tassilo Horn, 2012/07/17
- Re: How to create/add-to-existing headers in a posting style?, Tassilo Horn, 2012/07/17
- Re: How to create/add-to-existing headers in a posting style?, Adam Sjøgren, 2012/07/17
- Re: How to create/add-to-existing headers in a posting style?, Tassilo Horn, 2012/07/18
- Re: How to create/add-to-existing headers in a posting style?, Adam Sjøgren, 2012/07/18