a...@koldfront.dk (Adam Sjøgren) writes:

>> 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.
>
> It fails with:
>
>   message-position-on-field: Search failed: "^--text follows this line--$"
>
> in an empty buffer, so I guess it runs at a different time than
> expected?

Yes, seems so.  Another approach was to use gnus-parameters to add your
append-hugo-in-cc function to message-header-hook (or
message-header-setup-hook?) locally for this group.

Bye,
Tassilo


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to