emacs-devel
[Top][All Lists]
Advanced

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

Re: Please, Restore Previous Behavior for jump-to-register


From: João Távora
Subject: Re: Please, Restore Previous Behavior for jump-to-register
Date: Thu, 14 Dec 2023 16:22:10 +0000

On Thu, Dec 14, 2023 at 3:45 PM Dmitry Gutov <dmitry@gutov.dev> wrote:
>
> On 14/12/2023 17:31, João Távora wrote:
> > If we want confirmation prompts, visual
> > popups, etc, why don't we add those to bookmark.el?  It already has a
> > completing-read UI that is much more suitable for this, and would
> > allow these features much more naturally.  There are a bunch of
> > completing-read-friendly extensions for bells and whistles out there.
>
> IIUC bookmarks don't contain all the same kind of information. They're
> only for file positions. So you can't even save a point to bookmarks
> when the buffer doesn't visit a file.
>
> Nor can you store strings or numbers there.

This could be added, likely with much less code than the ever growing
register patch, by simply allowing bookmark.el access to the register
database, to set and read registers with its better UI.  Reuse, don't
reinvent, and respect workflows.

João



reply via email to

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