GNU bug report logs -
#37901
24.4; GNUS: gnus-group-customize breaks posting-style encoding
Previous Next
Reported by: Sergey Organov <sorganov <at> gmail.com>
Date: Thu, 24 Oct 2019 11:36:01 UTC
Severity: normal
Tags: confirmed, fixed
Found in version 24.4
Fixed in version 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Sergey Organov <sorganov <at> gmail.com> writes:
> Even though I report this for emacs 24.4, the code that is suspect[1] is
> still there in git:master:b3b7451, so it's likely the bug is not yet
> fixed.
Yup, I'm still seeing this in Emacs 27.
> [1] The suspect code is:
>
> ;; Encode values posting-style holds.
> (dolist (style (cdr (assq 'posting-style params)))
> (when (stringp (cadr style))
> (setcdr style (list (encode-coding-string (cadr style) 'utf-8)))))
>
> in gnus-group-customize-done, and it has matching chunk:
>
> ;; Decode values posting-style holds.
> (dolist (style (cdr (assq 'posting-style values)))
> (when (stringp (cadr style))
> (setcdr style (list (decode-coding-string (cadr style) 'utf-8)))))
>
> in gnus-group-customize, though the latter seems to be harmless.
Thanks for tracking down the error. Removing the code in [1] indeed
fixes the problem (I think it was necessary before when the .newsrc.eld
file wasn't utf-8, but now it's an error. And I removed the latter
chunk, too.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 5 years and 286 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.