From 65b0449fbb4fbe7e97de4d805d0b8146d34384e5 Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Tue, 19 Jan 2016 13:28:44 +0000 Subject: 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. --- cider-stacktrace.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cider-stacktrace.el') 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)) -- cgit v1.2.3