GNU bug report logs -
#37470
26.3; [PATCH] Default value and type of message-make-forward-subject-function
Previous Next
Reported by: Damien Cassou <damien <at> cassou.me>
Date: Fri, 20 Sep 2019 09:24:02 UTC
Severity: normal
Tags: fixed, patch
Found in version 26.3
Fixed in version 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 37470 <at> debbugs.gnu.org (full text, mbox):
Hi Robert,
Robert Pluim <rpluim <at> gmail.com> writes:
>>>>>> On Fri, 20 Sep 2019 11:08:42 +0200, Damien Cassou <damien <at> cassou.me> said:
>
> Damien> Please find attached a patch fixing the default value and type of
> Damien> message-make-forward-subject-function.
> Damien> + :type '(repeat :tag "List of functions"
> Damien> + (radio (function-item message-forward-subject-author-subject)
> Damien> + (function-item message-forward-subject-fwd)
> Damien> + (function-item message-forward-subject-name-subject)
> Damien> + (function))))
>
> I donʼt see how this could work: 'radio allows selecting only one from
> the list.
but the 'radio is embedded within a 'repeat which seems to be exactly
what I want.
> How about something like this:
> + :type '(set :tag "List of functions"
> + (function-item message-forward-subject-author-subject)
> + (function-item message-forward-subject-fwd)
> + (function-item message-forward-subject-name-subject)
> + (repeat :tag "User functions" :inline t (function :tag "Function"))))
this doesn't work because order of functions has a meaning (e.g., adding
"Fwd:" before the author or after the author).
--
Damien Cassou
http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill
This bug report was last modified 5 years and 244 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.