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 #8 received at 37470 <at> debbugs.gnu.org (full text, mbox):
>>>>> 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. How about something like this:
diff --git i/lisp/gnus/message.el w/lisp/gnus/message.el
index 48d79107ea..1a1cb79039 100644
--- i/lisp/gnus/message.el
+++ w/lisp/gnus/message.el
@@ -532,7 +532,7 @@ message-user-organization-file
:group 'message-headers)
(defcustom message-make-forward-subject-function
- #'message-forward-subject-name-subject
+ (list #'message-forward-subject-name-subject)
"List of functions called to generate subject headers for forwarded messages.
The subject generated by the previous function is passed into each
successive function.
@@ -547,10 +547,11 @@ message-make-forward-subject-function
to it."
:group 'message-forwarding
:link '(custom-manual "(message)Forwarding")
- :type '(radio (function-item message-forward-subject-author-subject)
- (function-item message-forward-subject-fwd)
- (function-item message-forward-subject-name-subject)
- (repeat :tag "List of functions" function)))
+ :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"))))
(defcustom message-forward-as-mime nil
"Non-nil means forward messages as an inline/rfc822 MIME section.
This bug report was last modified 5 years and 243 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.