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

TAB doesn't work in stacktrace-mode #1897

Closed
raxod502 opened this issue Dec 22, 2016 · 0 comments · Fixed by #1898
Closed

TAB doesn't work in stacktrace-mode #1897

raxod502 opened this issue Dec 22, 2016 · 0 comments · Fixed by #1898

Comments

@raxod502
Copy link
Contributor

raxod502 commented Dec 22, 2016

tl;dr <tab> bound but not TAB in stacktrace buffers.

Here are the keybindings in stacktrace-mode according to C-h m:

Stacktrace mode defined in ‘cider-stacktrace.el’:
Major mode for filtering and navigating CIDER stacktraces.

key             binding
---             -------

ESC             Prefix Command
SPC             scroll-up-command
-               negative-argument
0               cider-stacktrace-cycle-all-causes
1               cider-stacktrace-cycle-cause-1
2               cider-stacktrace-cycle-cause-2
3               cider-stacktrace-cycle-cause-3
4               cider-stacktrace-cycle-cause-4
5               cider-stacktrace-cycle-cause-5
6 .. 9          digit-argument
<               beginning-of-buffer
>               end-of-buffer
?               describe-mode
a               cider-stacktrace-toggle-all
c               cider-stacktrace-toggle-clj
d               cider-stacktrace-toggle-duplicates
g               revert-buffer
h               describe-mode
j               cider-stacktrace-toggle-java
r               cider-stacktrace-toggle-repl
t               cider-stacktrace-toggle-tooling
DEL             scroll-down-command
S-SPC           scroll-down-command
<backtab>       cider-stacktrace-cycle-all-causes
<remap>         Prefix Command
<tab>           cider-stacktrace-cycle-current-cause

M-.             cider-stacktrace-jump
M-n             cider-stacktrace-next-cause
M-p             cider-stacktrace-previous-cause

As you can see, <tab> is bound but TAB is not. This has the consequence that cider-stacktrace-cycle-current-cause can't be triggered in the terminal, since TAB is sent instead of <tab>.

This should be a pretty simple fix (just bind TAB in addition to <tab>).

Environment & Version information

CIDER version information

;; CIDER 0.15.0snapshot (package: 20161219.713), nREPL 0.2.12
;; Clojure 1.8.0, Java 1.8.0_112

Lein/Boot version

Leiningen 2.7.1

Emacs version

25.1.1

Operating system

El Capitan 10.11.6

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 a pull request may close this issue.

1 participant