-
-
Notifications
You must be signed in to change notification settings - Fork 645
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
Add cider-jump-to-pop-to-buffer-actions
#2757
Add cider-jump-to-pop-to-buffer-actions
#2757
Conversation
9c05c0f
to
0edf098
Compare
0edf098
to
f19162e
Compare
Great work! I've left a few small comments, but I finally understand what the problem is (and why I never encountered it). |
f19162e
to
9a8075d
Compare
I've pushed changes, and linting is complaining about this in a doc string:
The complaint is: Lisp symbol `display-buffer-same-window' should appear in quotes. Is this a bug in the linting? EDIT: Maybe I should remove details from the doc string and point at the documentation instead. |
cider-jump-to-always-use-same-window
cider-jump-to-pop-to-buffer-actions
You can't have inlined code in the docstrings, just references to params and symbols. I guess you can either reword this or add a link to the manual. |
9a8075d
to
5e6a77f
Compare
I've re-worded the doc string. Ready for re-review. |
Whoops — I've reworded things incorrectly. Let me fix that… EDIT …fixed — I've pointed at the documentation. |
5e6a77f
to
4f0f1e1
Compare
Provide a means to control what window to use when jumping to a definition with `cider-jump-to`. By default, always use current window. This fixes clojure-emacs#2499
4f0f1e1
to
5271b6e
Compare
Thanks! |
@bbatsov Thanks for your help. |
This restores the behaviour I like, which was as things were for a while. See: - clojure-emacs/cider#2757 - clojure-emacs/cider#2759
Provide a means to control what window to use when jumping to a definition with
cider-jump-to
.By default, always use current window. (FWIW, note that this matches the behaviour of M-. in .el files.)
Provide an option to use an existing window in current frame when there is one that
is showing the target buffer. This is the old behaviour, but note that it does
not work well with
cider-pop-back
(M-,).Before submitting the PR make sure the following things have been done (and denote this
by checking the relevant checkboxes):
make test
)make lint
) which is based onelisp-lint
and includescheckdoc
, check-declare, packaging metadata, indentation, and trailing whitespace checks.