From 41697e4e6ed14dcfd404e2a719ed5978dc0f8595 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 5 Aug 2018 22:04:33 +0200 Subject: [PATCH] Move helm posframe up slightly And display input line in posframe. --- modules/completion/helm/autoload/posframe.el | 2 +- modules/completion/helm/config.el | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/completion/helm/autoload/posframe.el b/modules/completion/helm/autoload/posframe.el index 5b54162f9..c529e6349 100644 --- a/modules/completion/helm/autoload/posframe.el +++ b/modules/completion/helm/autoload/posframe.el @@ -10,7 +10,7 @@ bottom, which is easier on the eyes on big displays." (pos (posframe-poshandler-frame-center info))) (cons (car pos) (truncate (/ (frame-pixel-height parent-frame) - 1.8))))) + 2))))) (defvar +helm--posframe-buffer nil) (defvar +helm--posframe-last-window nil) diff --git a/modules/completion/helm/config.el b/modules/completion/helm/config.el index 8766a5c9c..68b4e1d10 100644 --- a/modules/completion/helm/config.el +++ b/modules/completion/helm/config.el @@ -72,7 +72,9 @@ be negative.") (when (and EMACS26+ (featurep! +childframe)) (setq helm-display-function #'+helm-posframe-display - helm-display-buffer-default-height 0.3) + helm-display-buffer-default-height 0.42 + helm-echo-input-in-header-line t) + ;; Fix "Specified window is not displaying the current buffer" error (advice-add #'posframe--get-font-height :override #'ignore)) (let ((fuzzy (featurep! +fuzzy)))