Skip to content

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

@Vultaire

Description

@Vultaire

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/.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions