From: Eli Zaretskii <eliz@gnu.org>
To: "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
Cc: 24984@debbugs.gnu.org
Subject: bug#24984: Emacs 25.1.1: Problems with file completion in Windows shell
Date: Tue, 22 Nov 2016 17:49:19 +0200 [thread overview]
Message-ID: <834m2z8qgw.fsf@gnu.org> (raw)
In-Reply-To: <58341A00020000A10002358B@gwsmtp1.uni-regensburg.de> (Ulrich.Windl@rz.uni-regensburg.de)
> Date: Tue, 22 Nov 2016 10:12:16 +0100
> From: "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
>
> I think this bug is new compared to Emacs 24.3:
> Shell completion on MS-Windows does not work correctly. For excample:
> ---
> Microsoft Windows [Version 6.1.7601]
> Copyright (c) 2009 Microsoft Corporation. Alle Rechte vorbehalten.
>
> c:\Windows\system32>cd /Users/Ulrich Windl/
> cd /Users/Ulrich Windl/
>
> c:\Users\Ulrich Windl>dir
> dir
> Datenträger in Laufwerk C: ist Windows
> Volumeseriennummer: 42BC-2012
>
> Verzeichnis von c:\Users\Ulrich Windl
>
> 17.08.2016 14:10 <DIR> .
> 17.08.2016 14:10 <DIR> ..
> 04.08.2016 08:21 <DIR> Application Data
> 15.03.2016 15:19 <DIR> Contacts
> 17.08.2016 14:21 <DIR> Desktop
> 18.10.2016 10:21 <DIR> Documents
> 22.11.2016 09:49 <DIR> Downloads
> 12.10.2016 10:13 <DIR> Favorites
> 31.05.2016 12:16 <DIR> Pictures
> 20.10.2016 08:23 <DIR> Videos
> 5 Datei(en), 4.542 Bytes
> 20 Verzeichnis(se), 184.763.269.120 Bytes frei
> ---
>
> When I try to complete "cd D", "Documents" is not in the list of possible
> matches. Instead I see things that are NOT part of the current directory (but
> of c:\Windows\system32), like this:
> Possible completions are:
> DRVSTORE/ Dism/ DriverStore/
> da-DK/ de-DE/ de/
> drivers/
I cannot reproduce this, after trying on 2 different machines, running
Windows 7 and XP.
However, the above example shows one potential user error which could
explain what you see: you don't enclose file names with embedded
spaces in quotes:
> c:\Windows\system32>cd /Users/Ulrich Windl/
> cd /Users/Ulrich Windl/
The first line should say
c:\Windows\system32>cd "/Users/Ulrich Windl/"
or maybe even
c:\Windows\system32>cd "\Users/Ulrich Windl\"
If you do that, does the problem go away?
next prev parent reply other threads:[~2016-11-22 15:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-22 9:12 bug#24984: Emacs 25.1.1: Problems with file completion in Windows shell Ulrich Windl
2016-11-22 9:16 ` bug#24984: Acknowledgement (Emacs 25.1.1: Problems with file completion in Windows shell) Ulrich Windl
2016-11-22 15:49 ` Eli Zaretskii [this message]
[not found] ` <58355F63020000A1000235CE@gwsmtp1.uni-regensburg.de>
2016-11-24 17:29 ` bug#24984: Antw: Re: bug#24984: Emacs 25.1.1: Problems with file completion in Windows shell Eli Zaretskii
2016-11-24 21:05 ` bug#24984: Antw: " Ulrich Windl
2016-11-25 7:14 ` Eli Zaretskii
[not found] ` <5837FD3D020000A10002361A@gwsmtp1.uni-regensburg.de>
2016-11-25 8:58 ` Eli Zaretskii
2019-11-11 3:20 ` Stefan Kangas
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=834m2z8qgw.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=24984@debbugs.gnu.org \
--cc=Ulrich.Windl@rz.uni-regensburg.de \
/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).