diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2016-01-19 13:28:44 +0000 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2016-01-19 13:36:14 +0000 |
commit | 65b0449fbb4fbe7e97de4d805d0b8146d34384e5 (patch) | |
tree | 5651270b478f87ab1b4d2553b26628be7e8ed022 /cider-stacktrace.el | |
parent | 5ad457b5acd7cce3f8b7d8242eab9bdbc17954a5 (diff) |
Slightly reduce the padding on stacktrace file names
Was 30, now 26. The longest file name on all of my stacktraces is always
ThreadPoolExecutor.java, which has 23 chars and isn't even displayed
with the default filters. With the new setting, this file will still be
indented by 3 spaces.
The reason is that error buffers are usually created on a split window,
and stacktraces are indented by so many spaces that I can never read the
function names without unsplitting the window first.
Maybe we can reduce it even more.
Diffstat (limited to 'cider-stacktrace.el')
-rw-r--r-- | cider-stacktrace.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cider-stacktrace.el b/cider-stacktrace.el index e2f0dd80..c708fdaf 100644 --- a/cider-stacktrace.el +++ b/cider-stacktrace.el @@ -488,7 +488,7 @@ This associates text properties to enable filtering and source navigation." (with-current-buffer buffer (nrepl-dbind-response frame (file line flags class method name var ns fn) (let ((flags (mapcar 'intern flags))) ; strings -> symbols - (insert-text-button (format "%30s:%5d %s/%s" + (insert-text-button (format "%26s:%5d %s/%s" (if (member 'repl flags) "REPL" file) line (if (member 'clj flags) ns class) (if (member 'clj flags) fn method)) |