GNU bug report logs - #18716
24.3; dired-omit-extensions's default value omits COPYING.LIB

Previous Next

Package: emacs;

Reported by: Reuben Thomas <rrt <at> sc3d.org>

Date: Tue, 14 Oct 2014 14:51:01 UTC

Severity: minor

Found in version 24.3

Done: Reuben Thomas <rrt <at> sc3d.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Reuben Thomas <rrt <at> sc3d.org>
To: Ken Brown <kbrown <at> cornell.edu>
Cc: 18716 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: bug#18716: Patch for this bug
Date: Mon, 28 Nov 2016 21:32:03 +0000
[Message part 1 (text/plain, inline)]
On 26 November 2016 at 18:29, Ken Brown <kbrown <at> cornell.edu> wrote:

> On 11/26/2016 12:54 PM, Reuben Thomas wrote:
>
>> Sounds like a good compromise.  I agree about the default, except that
>>> it should default to case-insensitive matches on case-insensitive
>>> filesystems (Windows etc.)
>>>
>> I have now implemented this (apologies for the delay). I attach revised
>> patches.
>>
>
> As of commit 2809012 we have a new primitive,
> file-name-case-insensitive-p, that can be used to determine whether or not
> a filesystem is case insensitive.  This is better than relying on system
> type.  For example, on both Cygwin and macOS, it's possible that some
> filesystems are case-insensitive and others aren't.


​Thanks for the heads up, that's great news! It bothered me that there was
no easy way to do this previously.

​I updated my patch so that dired-omit-case-fold is now a three-valued
variable which defaults to 'filesystem, and a helper function that checks
(filename-case-sensitive-p dired-directory) when this value is used.

I've added info and NEWS documentation for dired-omit-case-fold.

-- 
http://rrt.sc3d.org
[Message part 2 (text/html, inline)]
[0002-Allow-files-to-be-matched-case-sensitively-in-dired-.patch (text/x-patch, attachment)]
[0003-Remove-pre-customize-dired-x.el-documentation.patch (text/x-patch, attachment)]
[0004-Remove-obsolete-comments-and-commented-code-from-dir.patch (text/x-patch, attachment)]

This bug report was last modified 8 years and 232 days ago.

Previous Next


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