Description
Expected behavior
Once in a Clojure project, I am able to use C-x p p (project-switch-project
) to select a different (non-Clojure) project and move there.
Actual behavior
C-x p p and the following f to find a file in another project display the files of the current Clojure project.
Steps to reproduce the problem
From emacs -Q
, after having installed clojure-mode
:
(require 'clojure-mode)
- C-x p p
- Pick a project (I chose a Git-versioned
.emacs.d
) - f
- Type
init.el
and hit RET - C-x p p
- Pick a Clojure project (I used my own boodle)
- f
- Pick a file (I chose
deps.edn
) - C-x p f
- Type a random string (I typed
aassdd
) and hit RET - Hit C-g
- C-x p p
- Pick the other project (in my case,
.emacs.d
) and hit RET - f
- You are now proposed to select a file from the Clojure project instead of the other one you selected when prompted by C-x p p
Environment & Version information
clojure-mode version
Probably it's because I am using straight
but I get clojure-mode (version nil)
when I use clojure-mode-display-version
. In any case, I am on the commit 84ed16c * origin/master grafted Mention my ko-fi account
.
System information
GNU Emacs 28.0.50
➤ Master branch commit:
92f342f38dd82aae4a662708dd6280fdfb2e013b
D-Bus: keep type information in D-Bus events
➤ Configured with the following options:
--with-harfbuzz
--with-json
--with-mailutils
➤ Running on:
Ubuntu 20.04 LTS
GNOME Shell 3.36.4 (x11)
GTK+ Version 3.24.18, cairo version 1.16.0