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

Puzzling error message when trying to switch to moved project #1205

Closed
mookid opened this issue Dec 7, 2017 · 0 comments
Closed

Puzzling error message when trying to switch to moved project #1205

mookid opened this issue Dec 7, 2017 · 0 comments

Comments

@mookid
Copy link
Contributor

mookid commented Dec 7, 2017

Expected behavior

Run projectile-switch-project.
Select a renamed project.
The error message is You’re not in a project

Actual behavior

Steps to reproduce the problem

$ mkdir /tmp/toto && cd /tmp/toto && echo foo >>test.txt && git init && git add . && git commit -am test
$ emacs test.txt
M-x projectile-find-file

$ rm -rf /tmp/toto
$ emacs
M-x projectile-switch-project
Select toto.

Environment & Version information

Projectile version information

Projectile 20171126.6

Emacs version

25.1.1

Operating system

Windows 10

kevinjfoley added a commit to kevinjfoley/projectile that referenced this issue Sep 23, 2018
kevinjfoley added a commit to kevinjfoley/projectile that referenced this issue Sep 23, 2018
…oject

Just because a directory exists doesn't mean it's still a project.
This change uses a more general check to address that issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants