[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master f7a6dd4fcc: Re-fix Gcc header tokenization in Gnus
From: |
Lars Ingebrigtsen |
Subject: |
master f7a6dd4fcc: Re-fix Gcc header tokenization in Gnus |
Date: |
Mon, 2 May 2022 05:38:28 -0400 (EDT) |
branch: master
commit f7a6dd4fcc54230630fcba73ca6bda2a413eff24
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Re-fix Gcc header tokenization in Gnus
* lisp/gnus/gnus-msg.el (gnus-inews-do-gcc): Split the Gcc header
on commas, but allow group names to contain spaces (bug#55217).
---
lisp/gnus/gnus-msg.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lisp/gnus/gnus-msg.el b/lisp/gnus/gnus-msg.el
index f6ae028a10..17a87134be 100644
--- a/lisp/gnus/gnus-msg.el
+++ b/lisp/gnus/gnus-msg.el
@@ -1571,8 +1571,9 @@ this is a reply."
(when gcc
(message-remove-header "gcc")
(widen)
- (setq groups (message-unquote-tokens
- (message-tokenize-header gcc ",\n\t")))
+ (setq groups (mapcar #'string-trim
+ (message-unquote-tokens
+ (message-tokenize-header gcc))))
;; Copy the article over to some group(s).
(while (setq group (pop groups))
(setq method (gnus-inews-group-method group))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master f7a6dd4fcc: Re-fix Gcc header tokenization in Gnus,
Lars Ingebrigtsen <=