From: Miles Bader <miles.bader@necel.com>
To: emacs-devel@gnu.org
Subject: case-insensitive filename completion bug
Date: Tue, 10 Jun 2008 17:06:26 +0900 [thread overview]
Message-ID: <buolk1dlnnh.fsf@dhapc248.dev.necel.com> (raw)
If I have filename called "Foo", and I try to visit it with find-file,
and have `read-file-name-completion-ignore-case' set to t, then I can
type:
C-x C-f f o TAB
hitting TAB will (1) change the lowercase "f" I typed to be "F", and (2)
insert the missing "o".
However, if I type:
C-x C-f f o o TAB
it will say " [sole completion]" -- but will _not_ change change the
lowercase "f" to uppercase. Because I'm using a case-sensitive
filesystem, the final filename doesn't exist, even though emacs said it
did.
One of the main reasons I like case-insensitive completion is that Emacs
will usually take care of capitalizating of studly-caps filenames; as a
result, I instinctively hit TAB to "correct" what I just typed and then
hit RET. So this corner case where TAB _doesn't_ do it is pretty
annoying (and occurs surprisingly often).
So I think Emacs should replace the entered name with the "correct"
completion even if they are the same length.
[This case seems to work correctly for other types of case-insensitive
completion, e.g., buffer-names.]
Thanks,
-Miles
--
If you can't beat them, arrange to have them beaten. [George Carlin]
next reply other threads:[~2008-06-10 8:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-10 8:06 Miles Bader [this message]
2008-06-10 18:42 ` case-insensitive filename completion bug Stefan Monnier
2008-06-13 7:38 ` Miles Bader
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=buolk1dlnnh.fsf@dhapc248.dev.necel.com \
--to=miles.bader@necel.com \
--cc=emacs-devel@gnu.org \
--cc=miles@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.