GNU bug report logs - #66394
29.1; Make register-read-with-preview more useful

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thievol <at> posteo.net>

Date: Sat, 7 Oct 2023 19:07:01 UTC

Severity: normal

Found in version 29.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #156 received at 66394 <at> debbugs.gnu.org (full text, mbox):

From: Bastien <bzg <at> gnu.org>
To: Thierry Volpiatto <thievol <at> posteo.net>
Cc: Michael Heerdegen <michael_heerdegen <at> web.de>, 66394 <at> debbugs.gnu.org,
 stefankangas <at> gmail.com, monnier <at> iro.umontreal.ca
Subject: Re: bug#66394: 29.1; Make register-read-with-preview more useful
Date: Sat, 02 Dec 2023 10:24:51 +0100
I use registers ~100 times a day, so enhancements here are very
welcome, thanks!

Thierry Volpiatto <thievol <at> posteo.net> writes:

> A minibuffer is used now instead of read-key.

I wonder about this, though. It badly hinders my usual flow, where I
do remember what registers I use and like to store new ones quickly.

When a register is empty, I believe it's more efficient to just read
the key and store the content in the register directly.

E.g. if the "a" contains "A string" and "b" is an empty register:

- C-x r s would display the preview and copy the region to the "b"
  register as soon as the "b" key is hit (using read-key).

- C-x r s would display the preview and if the user hits "a", it will
  warn about overwriting the existing register and RET can confirm.

This supposes using read-key by default and switch to using a
minibuffer when the user hits keys for existing registers.

What do you think?

-- 
 Bastien




This bug report was last modified 1 year and 211 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.