[email protected] (Adam Sjøgren) writes:
>> An existing variable in group parameters will be automagically be
>> made local in the corresponding summary buffer.
>
> Hm, I can't make it work, though; I get this error in *Messages*:
>
> let: Symbol's value as variable is void: bbdb-insinuate-message
Hm, do you have a backtrace?
> The value of message-setup-hook is (asjo-add-now-playing-header
> bbdb-insinuate-message), which works fine.
>
> Maybe I messed up the group parameters somehow...
Hm, basically it looks good to me. But it might be a good idea to make
that huge lamba an own function.
--8<---------------cut here---------------start------------->8---
(defun my-gnus-add-special-cc ()
(save-excursion
(message-goto-cc)
(when (not (string-match "[email protected]"
(buffer-substring-no-properties
(line-beginning-position)
(line-end-position))))
(when (not (= (- (point)
(line-beginning-position))
4))
(insert ", "))
(insert "[email protected]"))))
(setq gnus-parameters
'(("that\.special\.group"
(message-setup-hook
(append message-setup-hook
'(my-gnus-add-special-cc))))))
--8<---------------cut here---------------end--------------->8---
Bye,
Tassilo
_______________________________________________
info-gnus-english mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/info-gnus-english