emacs-devel
[Top][All Lists]
Advanced

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

Re: Navigating completions from minibuffer


From: Spencer Baugh
Subject: Re: Navigating completions from minibuffer
Date: Sun, 19 Nov 2023 19:41:54 +0000 (UTC)

Juri Linkov <juri@linkov.net> writes:
>>> This still won't solve the case of no header.  So in this case
>>> for the initial position we could add a narrow line at the top:
>>>
>>>   (propertize "\n" 'face '(:height 0))
>>>
>>> This solves a lot of problems, and will help to remove the complicated
>>> special-handling of the 'first-completion' text property in many places.
>>
>> This seems fine to me, but as Eli points out, terminal users probably
>> won't like the extra "wasted" line.  Maybe if we're in the terminal and
>> there's no header, we could add a single space before the first
>> completion?
>
> A single space the first completion will break the vertical alignment.

This is true, but inserting an empty newline will basically counteract
completions-header-format=nil.  (Perhaps that shouldn't have been
customizable in the first place...)



reply via email to

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