[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Filter registers before preview
From: |
Eli Zaretskii |
Subject: |
Re: [PATCH] Filter registers before preview |
Date: |
Mon, 31 Jul 2023 14:45:51 +0300 |
> From: Evgenii Klimov <eugene.dev@lipklim.org>
> Date: Sun, 30 Jul 2023 19:27:09 +0100
>
> Hi, I find registers very useful (especially with elaborate
> `register-preview-function'), but as they become more and more numerous,
> it gets difficult to select the right one, because every command
> (`jump-to-register', `insert-register', etc.) shows every register in
> the preview buffer, even if the register is not applicable in this
> context.
>
> The following is my attempt to deal with this issue. If you find this
> idea interesting then I can rewrite this patch to conform with
> the surrounding code (cl-defgeneric/cl-defmethod) and your remarks.
Can you describe the idea in a few words?
And do I understand correctly that with this change it will be
impossible to preview all of the registers? If so, I think we should
provide that as well, in some way.
Thanks.