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

Move to top level before re-search-backward in clojure-find-ns #458

Merged
merged 1 commit into from
Oct 31, 2017

Conversation

xiongtx
Copy link
Member

@xiongtx xiongtx commented Oct 31, 2017

Moving to top level avoids improper matching behavior due to being in middle of match.

Fix clojure-emacs/cider#2100

@bbatsov
Copy link
Member

bbatsov commented Oct 31, 2017

The solution seems reasonable to me. Just update the changelog and add a couple of unit tests covering the fix. The CI has been broken for a while for some mysterious reason, but the tests are still runnable locally.

@xiongtx xiongtx changed the title Move to eol before re-search-backward in clojure-find-ns Move to top level before re-search-backward in clojure-find-ns Oct 31, 2017
@xiongtx
Copy link
Member Author

xiongtx commented Oct 31, 2017

Update: moving to eol is insufficient, moving to top level (breaking out of the ns form entirely) seems a better solution.

Moving to top level avoids improper matching behavior due to being in middle
of match.

Fix clojure-emacs/cider#2100
@xiongtx xiongtx force-pushed the clojure-find-ns branch 2 times, most recently from 660d5e1 to 567d734 Compare October 31, 2017 10:24
@xiongtx
Copy link
Member Author

xiongtx commented Oct 31, 2017

CI has been broken for a while for some mysterious reason...

Strange indeed. Posted a question on the Emacs StackExchange.

@bbatsov
Copy link
Member

bbatsov commented Oct 31, 2017

Strange indeed. Posted a question on the Emacs StackExchange.

My guess is this is something to do with Cask, as the error message is from package.el itself, but I've been super busy lately and just ignored this for now.

Thanks for the great PR!

@bbatsov bbatsov merged commit 061431d into clojure-emacs:master Oct 31, 2017
@xiongtx xiongtx deleted the clojure-find-ns branch October 31, 2017 11:02
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

Successfully merging this pull request may close these issues.

2 participants