From 90e401ae3e7b3c85da8b24af940fd97f5e744625 Mon Sep 17 00:00:00 2001 From: stardiviner Date: Sun, 21 Aug 2022 06:40:18 +0800 Subject: [PATCH] Specify the max posframe height & width to avoid mass lot of edebug result information hover on Emacs. --- edebug-inline-result.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/edebug-inline-result.el b/edebug-inline-result.el index b5d5e44..5e57772 100644 --- a/edebug-inline-result.el +++ b/edebug-inline-result.el @@ -86,7 +86,8 @@ Optional argument POSITION ." (posframe-show edebug-inline-result--buffer-name :string (substring-no-properties edebug-previous-result) :position (edebug-inline-result--position position) - :width (window-width) + :max-height (/ (window-height) 5) ; (/ (frame-height) 10) + :max-width (window-width) ; (frame-width) :background-color (if (eq (alist-get 'background-mode (frame-parameters)) 'dark) "DarkCyan" "yellow") -- 2.11.4.GIT