On Windows, when I open a file, press Ctrl-L, and enter a relative path using 
forward slashes (`/`) instead of Windows's official backslash path separator 
(`\`), Geany doesn't understand that and produces a confusing error message.

Specifically, if I go to `C:\Users\cousteau\` and enter `AAA/BBB/ccc.txt`, I 
get "Error: couldn't find `C:\Users\cousteau\AAA\BBB\AAA\BBB\cc.txt`.  Note 
that the directory part (`AAA/BBB/`) appears twice, but other than that it 
looks like Geany is somewhat able to parse the path.  If instead I enter 
`AAA\BBB\ccc.txt`, Geany will open `C:\Users\cousteau\AAA\BBB\cc.txt` without 
complaining.

This is a bit inconveniencing because I often work with Unix-like environments 
(Git bash shell, MinGW, MSYS, WSL, tools and languages that ignore Windows's 
odd decision to use backslashes and use the usual `/` instead, etc), so 
whenever I get a file name (e.g. after running `find` on bash) the path is 
specified using forward slashes.  I'd love to be able to just copy-paste that 
in Geany and have it open without manually replacing every `/` with `\`.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3868
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/3...@github.com>

Reply via email to