File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 18
18
- [ #3626 ] ( https://github.com/clojure-emacs/cider/issues/3626 ) : ` cider-ns-refresh ` : jump to the relevant file/line on errors.
19
19
- [ #3628 ] ( https://github.com/clojure-emacs/cider/issues/3628 ) : ` cider-ns-refresh ` : summarize errors as an overlay.
20
20
- [ #3660 ] ( https://github.com/clojure-emacs/cider/issues/3660 ) : Fix ` cider-inspector-def-current-val ` always defining in ` user ` namespace.
21
+ - [ #3661 ] ( https://github.com/clojure-emacs/cider/issues/3661 ) : Truncate echo area output ahead of time.
21
22
- Bump the injected ` enrich-classpath ` to [ 1.19.3] ( https://github.com/clojure-emacs/enrich-classpath/compare/v1.19.0...v1.19.3 ) .
22
23
- Bump the injected nREPL to [ 1.1.1] ( https://github.com/nrepl/nrepl/blob/v1.1.1/CHANGELOG.md#111-2024-02-20 ) .
23
24
- Bump the injected ` cider-nrepl ` to [ 0.47.0] ( https://github.com/clojure-emacs/cider-nrepl/blob/v0.47.0/CHANGELOG.md#0470-2024-03-10 ) .
Original file line number Diff line number Diff line change @@ -316,10 +316,15 @@ focused."
316
316
(cider--make-result-overlay font-value
317
317
:where point
318
318
:duration cider-eval-result-duration
319
- :prepend-face (or overlay-face 'cider-result-overlay-face )))))
319
+ :prepend-face (or overlay-face 'cider-result-overlay-face ))))
320
+ (msg (format " %s%s " cider-eval-result-prefix value))
321
+ (max-msg-length (* (floor (max-mini-window-lines)) (frame-width )))
322
+ (msg (if (> (string-width msg) max-msg-length)
323
+ (format " %s ..." (substring msg 0 (- max-msg-length 3 )))
324
+ msg)))
320
325
(message
321
326
" %s"
322
- (propertize ( format " %s%s " cider-eval-result-prefix font-value)
327
+ (propertize msg
323
328
; ; The following hides the message from the echo-area, but
324
329
; ; displays it in the Messages buffer. We only hide the message
325
330
; ; if the user wants to AND if the overlay succeeded.
You can’t perform that action at this time.
0 commit comments