-
-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
find-file windows drive name #773
Comments
I don't know how to solve this. But patches welcome, if someone manages to figure it out. |
I found one. The function |
Actually, IIRC //host/share/ are valid POSIX pathnames, and the current behavior in ivy.el does not honor them. The following patch simply requires that 3 '/' be typed in a row to get back to the root directory, else the user can go on typing its //host/share/ pathname or whatever.
|
Is there a reason why this patch hasn't made into the code? Is there an alternative way to access //server/share files? I've just tested it and it works on windows and allows access to //server/share files. I will continue to test it on both Windows and Linux and report any issues. |
@richardxday The patch hasn't made it since // is a very common way to access the root directory. Could someone please link to a description of Does |
As I already said above, //server/share is a valid POSIX name, and the syntax /smb:server/share is not known from Windows. |
@fpopineau I think that would be a great idea: a pref for this behaviour, I don't mind using '///' for root if it allows //server/share access |
On Linux, when you go to the root with //, you get all kinds of connection methods, like |
No, you just get the files and directories in the root of your current drive. You can change drives by typing something like 'd:' then pressing slash but you cannot get to a network address because that requires double slash - which just takes back to the root of the drive! |
Thanks, please test. |
@abo-abo in regards to As for this new behavior, I can't say I'm very fond of having a different magic slash effect on unix and on windows (as I use both). Wouldn't a less intrusive approach here be to retain the Also, through the method outlined in #2248 I can get tramp protocol completion on windows, but I'm not seeing
|
It seems windows drive name cannot be deleted when using find-file. I tried to access my samba share using
//server/share
, but the find-file command always prefixed with the drive name, such asd:/server/share
. Are there any commands to disable drive letter?The text was updated successfully, but these errors were encountered: