bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#66948: [PATCH] Add Completion Preview mode


From: Eshel Yaron
Subject: bug#66948: [PATCH] Add Completion Preview mode
Date: Mon, 06 Nov 2023 16:37:52 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Hi Philip,

Philip Kaludercic <philipk@posteo.net> writes:

>> Thanks for testing.  To have DEL not dismiss the completion preview, add
>> `delete-backward-char` to `completion-preview-commands`.  Actually,
>> would it make sense to have that behavior by default?
>
> I think it would.

Done, in the updated patch I've sent in my other message (patch v2).

>>> and that there is no option to cycle between inexact completions.
>>
>> That's interesting, can you elaborate about the use case that you have
>> in mind?  I thought about adding a command to do that, but I wasn't sure
>> there'd be a good use case for it since you can always dismiss the
>> preview (e.g. with `C-g`) and say `C-M-i` to pick another candidate.
>
> Just to use M-n/M-p to cycle through what the different completion
> options are, without having to request a window that might mess up my
> frame layout.

That makes sense, thanks.  Done in the updated patch, expect I didn't
provide these bindings by default, in benefit for use `M-n`/`M-p` for
other stuff that may conflict.






reply via email to

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