help-emacs-windows
[Top][All Lists]
Advanced

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

Re: [h-e-w] suggestion: ignore case in find-name-dired, on Windows


From: Jason Rumney
Subject: Re: [h-e-w] suggestion: ignore case in find-name-dired, on Windows
Date: Fri, 21 Dec 2007 16:34:59 +0000
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)

Eli Zaretskii wrote:
>> Date: Thu, 20 Dec 2007 17:10:03 -0800
>> From: "Eric Hanchrow" <address@hidden>
>>
>> -  (find-dired dir (concat "-name " (shell-quote-argument pattern))))
>> +  (find-dired dir (concat
>> +                   (if (memq system-type '(windows-nt cygwin))
>> +                       "-iname "
>> +                     "-name ")
>> +                   (shell-quote-argument pattern))))
>>     
>
> IMO, this should be conditioned on a user option.  Not everyone wants
> to get readme.txt together with README, for example.
>   

I added a new option find-name-arg, defaulting to the value of
read-file-name-completion-ignore-case (as its likely that users who want
one will want the other, if not, the option can still be overridden).

I also changed find-dired to use find-program and grep-program, rather
than having its own option for the former and hardcoding the latter.





reply via email to

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