bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29749: 27.0.50; Fix header value extraction in Gnus registry


From: Eric Abrahamsen
Subject: bug#29749: 27.0.50; Fix header value extraction in Gnus registry
Date: Sat, 16 Dec 2017 17:35:27 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

The Gnus registry extracts some header values from messages using
`gnus-registry-fetch-header-fast'. There are two problems with this:

1. It is called with its arguments reversed which (by luck) causes it to
always return nil.

2. If it were called correctly it would raise an error, as it tries to
use `assq' to find a string key in a vector. Maybe `gnus-data-header'
used to return a different value, but so far as I can tell this hasn't
worked for quite some time.

It's a bug, but it's one that hasn't done much harm for a while, so I'm
proposing this for master.

Eric


In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.26)
 of 2017-12-16 built on clem
Repository revision: 7ef18c6ea5b2cb6450c0f960445b26cad03d200e

Attachment: 0001-Fix-Gnus-registry-header-extraction.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]