Skip to content

TAB doesn't work in stacktrace-mode #1897

@raxod502

Description

@raxod502

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions