emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

icomplete-vertical above prompt


From: Gregory Heytings
Subject: icomplete-vertical above prompt
Date: Sun, 11 Apr 2021 14:58:39 +0000



I wonder how easy would be to improve Icomplete to display completions in the standard buffer *Completions* instead of the minibuffer? Then both use cases will be covered:

1. icomplete-vertical-mode for users who prefer vertical completions in the minibuffer;

2. vertical completions in *Completions* for users who don't like when the mode-line jumps up and down when completing.


Note that this doesn't happen with the default resize-mini-windows value, which is grow-only. It jumps up once, and will not jump down until the end of the completion.


In this case the same icomplete keys could be used to navigate completions in the *Completions* buffer from the minibuffer with icomplete-forward-completions and icomplete-backward-completions, and icomplete-force-complete-and-exit to accept the selected completion.


By popular demand (Stefan M asked for something similar some time ago IIRC), here is a patch that does what you want, but not exactly how you described it. It displays completion candidates above the prompt instead of below the prompt, and you can navigate them from the minibuffer.

Attachment: Add-option-to-display-candidates-above-prompt-with-i.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]