GNU bug report logs -
#46718
27.1; truncate-lines in minibuffer prevents auto resize
Previous Next
Reported by: Clemens <clemera <at> posteo.net>
Date: Tue, 23 Feb 2021 13:45:01 UTC
Severity: normal
Found in version 27.1
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
in Selectrum we are using an overlay after-string to display completion
candidates within the minibuffer. We also want to truncate-lines to
prevent wrapping for long lines. When using:
;; emacs -Q
(setq resize-mini-windows t)
(minibuffer-with-setup-hook
(lambda ()
(setq-local truncate-lines t)
(let ((ov (make-overlay (point-max) (point-max)))
(minibuf-after-string " \nOne\nTwo\nThree"))
(put-text-property 0 1 'cursor t minibuf-after-string)
(overlay-put ov 'after-string minibuf-after-string)))
(read-string ":"))
the mini window will not resize but when commenting out the setting for
truncate-lines it resizes appropriately.
This bug report was last modified 4 years and 147 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.