emacs-devel
[Top][All Lists]
Advanced

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

Re: select yank via completion


From: Juri Linkov
Subject: Re: select yank via completion
Date: Wed, 25 Nov 2020 22:24:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>>>> +                             (when (> (length s) (- 40 b))
>>>> +                               (add-text-properties
>>>> +                                (min (+ b 40) (length s)) (length s)
>>>> +                                `(display ,ellipsis) s))
>>>
>>> Any chance this threshold can be configurable?  I don't mind completions
>>> as wide as or wider than the frame in Ivy's minibuffer.

As an intermediate fix, now code at least doesn't contain an arbitrary
constant, but defaults to the frame width.

>> Instead of adding a specific defcustom for kill-ring completions,
>> maybe some more general option is possible in minibuffer.el?
>> Something like how many columns the user expects for completions.
>
> Would be nice.
>
> I'm using custom function in display-buffer-alist to show *Completions*
> buffer in child frame.  To make completions occupy single column, frame
> width is set to 1 initially and later resized to fit the buffer.
>
> Such an option will make it easier.

Now 'completions-format' supports a new value 'one-column'.



reply via email to

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