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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4387 in the body.
You can then email your comments to 4387 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4387; Package emacs. (Thu, 10 Sep 2009 02:05:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juri Linkov <juri <at> jurta.org>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 10 Sep 2009 02:05:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

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/




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4387; Package emacs. (Thu, 17 Sep 2009 15:25:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juri Linkov <juri <at> jurta.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 17 Sep 2009 15:25:07 GMT) Full text and rfc822 format available.

Message #10 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: 4387 <at> debbugs.gnu.org
Cc: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#4387: read-file-name-completion-ignore-case has no effect in find-name-arg
Date: Thu, 17 Sep 2009 18:17:43 +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'.

I tried to use the new `custom-initialize-delay' but it has no effect
in this case.

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




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4387; Package emacs. (Thu, 17 Sep 2009 15:25:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juri Linkov <juri <at> jurta.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 17 Sep 2009 15:25:09 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4387; Package emacs. (Thu, 17 Sep 2009 16:45:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> IRO.UMontreal.CA>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 17 Sep 2009 16:45:04 GMT) Full text and rfc822 format available.

Message #20 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Juri Linkov <juri <at> jurta.org>
Cc: 4387 <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
Subject: Re: bug#4387: read-file-name-completion-ignore-case has no effect in find-name-arg
Date: Thu, 17 Sep 2009 12:37:23 -0400
>> 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.


        Stefan "Who hates autoloading variables"




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4387; Package emacs. (Thu, 17 Sep 2009 16:45:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> IRO.UMontreal.CA>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 17 Sep 2009 16:45:06 GMT) Full text and rfc822 format available.

Reply sent to Juri Linkov <juri <at> jurta.org>:
You have taken responsibility. (Thu, 19 Nov 2009 17:55:12 GMT) Full text and rfc822 format available.

Notification sent to Juri Linkov <juri <at> jurta.org>:
bug acknowledged by developer. (Thu, 19 Nov 2009 17:55:12 GMT) Full text and rfc822 format available.

Message #30 received at 4387-done <at> emacsbugs.donarmstrong.com (full text, mbox):

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/



bug archived. Request was from Debbugs Internal Request <bug-gnu-emacs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 18 Dec 2009 12:24:03 GMT) Full text and rfc822 format available.

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.