We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
clojure-sort-ns
The ns should be sorted.
My Emacs session freezes until I hit C-g.
C-g
Open an empty .clj file and put this in it:
.clj
(ns test (:require [some] ;; [other] ))
Hit M-x clojure-sort-ns RET.
M-x clojure-sort-ns RET
Emacs freezes.
If you uncomment the line with [other] and try again, it works fine. It also works fine if the #_ reader macro is used.
[other]
#_
clojure-mode (version 5.16.0)
GNU Emacs 28.2 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars)
Debian 11 "bullseye"
The text was updated successfully, but these errors were encountered:
Fix clojure-sort-ns with comments in the end
86f7447
- closes clojure-emacs#645
74550a9
Fix clojure-sort-ns with comments in the end (#646)
f5b85ca
Closes #645
Successfully merging a pull request may close this issue.
Expected behavior
The ns should be sorted.
Actual behavior
My Emacs session freezes until I hit
C-g
.Steps to reproduce the problem
Open an empty
.clj
file and put this in it:Hit
M-x clojure-sort-ns RET
.Emacs freezes.
If you uncomment the line with
[other]
and try again, it works fine. It also works fine if the#_
reader macro is used.Environment & Version information
clojure-mode version
Emacs version
Operating system
Debian 11 "bullseye"
The text was updated successfully, but these errors were encountered: