Skip to content
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

Ropemacs has problems with Windows project paths if case is not exactly as on disk #33

Open
Vultaire opened this issue Jan 26, 2017 · 1 comment

Comments

@Vultaire
Copy link

I've been wrestling with an issue where ropemacs seems to work intermittently on Windows. That is, it technically loads, but when I try to preview a change for e.g. a rename, the preview operation has no actual content, e.g.:

Renaming <foo> to <bar>:

Today I traced it, and it does not seem to be intermittent, but rather depends on how my project directory is opened up.

For the sake of the example, my test project is located at c:/Users/pdgoins/code/ropetest/ (exact case).

If I use the GUI menu and select Rope -> Refactor -> Rename, then select my project folder, everything works fine.

If I instead use "C-c r r" or "M-x rope-rename", and if I allow there to be a tilde in my path (e.g. ~/code/ropetest/), I'll run into this problem.
I'll also run into this problem if I use c:/users/pdgoins/code/ropetest/ (missing the capital U on Users).

Ropemacs is only working if I open the project using the exact casing of the path: c:/Users/pdgoins/code/ropetest/.

@Vultaire
Copy link
Author

By the way, here are my installed packages from "pip list":

Pymacs (0.23) (with patch applied from ropemacs docs folder)
rope (0.10.3)
ropemacs (0.8)
ropemode (0.4)

Emacs version is 25.1.1. OS is Windows 7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant