emacs-devel
[Top][All Lists]
Advanced

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

Re: select yank via completion


From: Andrii Kolomoiets
Subject: Re: select yank via completion
Date: Wed, 25 Nov 2020 10:14:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin)

Juri Linkov <juri@linkov.net> writes:

>>> +                             (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.
>
> 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.

Thanks!



reply via email to

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