GNU bug report logs - #4387
read-file-name-completion-ignore-case has no effect in find-name-arg

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> jurta.org>

Date: Thu, 10 Sep 2009 02:05:05 UTC

Severity: normal

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Juri Linkov <juri <at> jurta.org>
Subject: bug#4387: marked as done (read-file-name-completion-ignore-case
 has no effect in find-name-arg)
Date: Thu, 19 Nov 2009 17:55:12 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 19 Nov 2009 19:45:14 +0200
with message-id <87skca9zuu.fsf <at> mail.jurta.org>
and subject line Re: bug#4387: read-file-name-completion-ignore-case has no effect in find-name-arg
has caused the Emacs bug report #4387,
regarding read-file-name-completion-ignore-case has no effect in find-name-arg
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact help-debbugs <at> gnu.org
immediately.)


-- 
4387: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4387
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Juri Linkov <juri <at> jurta.org>
To: bug-gnu-emacs <at> gnu.org
Subject: read-file-name-completion-ignore-case has no effect in find-name-arg
Date: Thu, 10 Sep 2009 04:12:28 +0300
The docstring of `find-name-arg' says that `read-file-name-completion-ignore-case'
defines its default value:

  ;;;###autoload
  (defcustom find-name-arg
    (if read-file-name-completion-ignore-case
        "-iname"
      "-name")
    "Argument used to specify file name pattern.
  If `read-file-name-completion-ignore-case' is non-nil, -iname is used so that
  find also ignores case. Otherwise, -name is used."
    :type 'string
    :group 'find-dired
    :version "22.2")

But there is no way to use "-iname" when `read-file-name-completion-ignore-case'
is customized to t because `find-name-arg' is autoloaded with the value "-name"
before

  (custom-set-variables
   '(read-file-name-completion-ignore-case t))

from .emacs sets the value of `read-file-name-completion-ignore-case'.

This also precludes from using -iname in `rgrep' that relies on `find-name-arg'.

-- 
Juri Linkov
http://www.jurta.org/emacs/


[Message part 3 (message/rfc822, inline)]
From: Juri Linkov <juri <at> jurta.org>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: 4387-done <at> debbugs.gnu.org
Subject: Re: bug#4387: read-file-name-completion-ignore-case has no effect in find-name-arg
Date: Thu, 19 Nov 2009 19:45:14 +0200
>>> But there is no way to use "-iname" when
>>> `read-file-name-completion-ignore-case' is customized to t because
>>> `find-name-arg' is autoloaded with the value "-name" before
>
> Don't autoload it.

Done according to
http://lists.gnu.org/archive/html/emacs-devel/2009-11/msg00633.html

-- 
Juri Linkov
http://www.jurta.org/emacs/

This bug report was last modified 15 years and 269 days ago.

Previous Next


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