From: Juri Linkov <juri@jurta.org>
To: bug-gnu-emacs@gnu.org
Subject: bug#4387: read-file-name-completion-ignore-case has no effect in find-name-arg
Date: Thu, 10 Sep 2009 04:12:28 +0300 [thread overview]
Message-ID: <8763brvbjf.fsf@mail.jurta.org> (raw)
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/
next reply other threads:[~2009-09-10 1:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87skca9zuu.fsf@mail.jurta.org>
2009-09-10 1:12 ` Juri Linkov [this message]
2009-09-17 15:17 ` bug#4387: read-file-name-completion-ignore-case has no effect in find-name-arg 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8763brvbjf.fsf@mail.jurta.org \
--to=juri@jurta.org \
--cc=4387@emacsbugs.donarmstrong.com \
--cc=bug-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).