GNU bug report logs - #26490
25.1; package-buffer-info is incorrectly case-insensitive

Previous Next

Package: emacs;

Reported by: Steve Purcell <steve <at> sanityinc.com>

Date: Fri, 14 Apr 2017 00:46:02 UTC

Severity: minor

Found in version 25.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Steve Purcell <steve <at> sanityinc.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 26490 <at> debbugs.gnu.org
Subject: bug#26490: 25.1; package-buffer-info is incorrectly case-insensitive
Date: Fri, 14 Apr 2017 21:12:47 +1200
I’m going to bind case-fold-search to nil in my case anyway, but I don’t think you want a situation in which the case of the first and last lines differ, simply for the sake of consistency: that’s all that this patch ensures, and it’s orthogonal to filesystem case-sensitivity.

(Further, in package-lint, the intention is to check that the filenames on those lines exactly match the elisp buffer's filename, if any, and the name of the provided feature. Those comparisons should always be case-sensitive, I would think, because the elisp file could be taken from a local case-insensitive FS to a case-sensitive FS, and mismatches would presumably cause issues.)





This bug report was last modified 5 years and 287 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.