unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4387: read-file-name-completion-ignore-case has no effect in find-name-arg
@ 2009-09-10  1:12 ` Juri Linkov
  2009-09-17 15:17   ` Juri Linkov
  2009-11-19 17:55   ` bug#4387: marked as done (read-file-name-completion-ignore-case has no effect in find-name-arg) Emacs bug Tracking System
  0 siblings, 2 replies; 4+ messages in thread
From: Juri Linkov @ 2009-09-10  1:12 UTC (permalink / raw)
  To: bug-gnu-emacs

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/






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#4387: read-file-name-completion-ignore-case has no effect in find-name-arg
  2009-09-10  1:12 ` bug#4387: read-file-name-completion-ignore-case has no effect in find-name-arg Juri Linkov
@ 2009-09-17 15:17   ` Juri Linkov
  2009-09-17 16:37     ` Stefan Monnier
  2009-11-19 17:55   ` bug#4387: marked as done (read-file-name-completion-ignore-case has no effect in find-name-arg) Emacs bug Tracking System
  1 sibling, 1 reply; 4+ messages in thread
From: Juri Linkov @ 2009-09-17 15:17 UTC (permalink / raw)
  To: 4387; +Cc: bug-gnu-emacs

> 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/





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#4387: read-file-name-completion-ignore-case has no effect in find-name-arg
  2009-09-17 15:17   ` Juri Linkov
@ 2009-09-17 16:37     ` Stefan Monnier
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2009-09-17 16:37 UTC (permalink / raw)
  To: Juri Linkov; +Cc: bug-gnu-emacs, 4387

>> 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"





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#4387: marked as done (read-file-name-completion-ignore-case has no effect in find-name-arg)
  2009-09-10  1:12 ` bug#4387: read-file-name-completion-ignore-case has no effect in find-name-arg Juri Linkov
  2009-09-17 15:17   ` Juri Linkov
@ 2009-11-19 17:55   ` Emacs bug Tracking System
  1 sibling, 0 replies; 4+ messages in thread
From: Emacs bug Tracking System @ 2009-11-19 17:55 UTC (permalink / raw)
  To: Juri Linkov

[-- Attachment #1: Type: text/plain, Size: 933 bytes --]

Your message dated Thu, 19 Nov 2009 19:45:14 +0200
with message-id <87skca9zuu.fsf@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 owner@emacsbugs.donarmstrong.com
immediately.)


-- 
4387: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4387
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 2989 bytes --]

From: Juri Linkov <juri@jurta.org>
To: bug-gnu-emacs@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
Message-ID: <8763brvbjf.fsf@mail.jurta.org>

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/



[-- Attachment #3: Type: message/rfc822, Size: 1911 bytes --]

From: Juri Linkov <juri@jurta.org>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: 4387-done@emacsbugs.donarmstrong.com
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
Message-ID: <87skca9zuu.fsf@mail.jurta.org>

>>> 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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-11-19 17:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87skca9zuu.fsf@mail.jurta.org>
2009-09-10  1:12 ` bug#4387: read-file-name-completion-ignore-case has no effect in find-name-arg Juri Linkov
2009-09-17 15:17   ` Juri Linkov
2009-09-17 16:37     ` Stefan Monnier
2009-11-19 17:55   ` bug#4387: marked as done (read-file-name-completion-ignore-case has no effect in find-name-arg) Emacs bug Tracking System

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).