From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Thierry Volpiatto <thievol@posteo.net>
Newsgroups: gmane.emacs.bugs
Subject: bug#66394: 29.1; Make register-read-with-preview more useful
Date: Thu, 14 Dec 2023 17:58:55 +0000
Message-ID: <87o7es3bts.fsf@posteo.net>
References: <87il7ib6cu.fsf@posteo.net> <878r6leh9d.fsf@posteo.net>
 <83il5pbnmh.fsf@gnu.org> <87zfz1cz7s.fsf@posteo.net>
 <83bkbc7j1o.fsf@gnu.org> <8734wov2wv.fsf@posteo.net>
 <83v89j6arv.fsf@gnu.org> <87cyvpf8y6.fsf@posteo.net>
 <83plzp82mb.fsf@gnu.org> <87a5qhxf05.fsf@posteo.net>
 <83jzpkvs4z.fsf@gnu.org> <87v8947ulo.fsf@posteo.net>
 <871qbsk5le.fsf@posteo.net>
 <f7f749d1-3a2d-0ea0-a106-6c586f4faca7@gutov.dev>
 <87v894hr2e.fsf@posteo.net> <87cyvbepi0.fsf@posteo.net>
 <87bkavk9nv.fsf@posteo.net>
 <8eebbb30-9366-e869-a39a-8100638cb99a@gutov.dev>
 <87o7etgxeb.fsf@posteo.net> <83v891qlcn.fsf@gnu.org>
 <jwvfs04hjm9.fsf-monnier+emacs@gnu.org>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="1209"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: michael_heerdegen@web.de, dmitry@gutov.dev, Eli Zaretskii <eliz@gnu.org>,
 stefankangas@gmail.com, 66394@debbugs.gnu.org
To: Stefan Monnier <monnier@iro.umontreal.ca>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 14 19:00:29 2023
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
	by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1rDq0a-00009P-RM
	for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Dec 2023 19:00:29 +0100
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces@gnu.org>)
	id 1rDq0E-0004Md-Sw; Thu, 14 Dec 2023 13:00:06 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1rDq0C-0004MF-KC
 for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2023 13:00:04 -0500
Original-Received: from debbugs.gnu.org ([2001:470:142:5::43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1rDq0C-0001j4-8i
 for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2023 13:00:04 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rDq0B-0008DI-2U
 for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2023 13:00:03 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Thierry Volpiatto <thievol@posteo.net>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Thu, 14 Dec 2023 18:00:02 +0000
Resent-Message-ID: <handler.66394.B66394.170257675031455@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 66394
X-GNU-PR-Package: emacs
Original-Received: via spool by 66394-submit@debbugs.gnu.org id=B66394.170257675031455
 (code B ref 66394); Thu, 14 Dec 2023 18:00:02 +0000
Original-Received: (at 66394) by debbugs.gnu.org; 14 Dec 2023 17:59:10 +0000
Original-Received: from localhost ([127.0.0.1]:50869 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1rDpzK-0008BG-FE
 for submit@debbugs.gnu.org; Thu, 14 Dec 2023 12:59:10 -0500
Original-Received: from mout02.posteo.de ([185.67.36.66]:37711)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <thievol@posteo.net>) id 1rDpzI-0008Ax-HU
 for 66394@debbugs.gnu.org; Thu, 14 Dec 2023 12:59:09 -0500
Original-Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 8045B240105
 for <66394@debbugs.gnu.org>; Thu, 14 Dec 2023 18:59:03 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1702576743; bh=aCS6B7MP7LGRZr6hKE9pAA3VHj97a+kQWuJWVUw1k+8=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Autocrypt:OpenPGP:
 From;
 b=gCY8YV69BCst8fAoMIsIDaoZdzYdEfgh1RbU/Lbre8+3qCei1pe6yh/+R8WYFC8ti
 6hM2Q91YOzJ5B7OecofNMp1CfAHajgD6o5edkoOdQ2HCd7Qhv9chGA/XkS5lD256sm
 jdrrQqHXsfhLfJqpjMVSYnmPO/m7inghWWg3FAQhIvquEhHbk/MxJgCd7F3bnep8uu
 WLcRr0+bXoJMa0NXrPSqB4N+2eSaR4+CmRKQ/LCIbotWTLkk4bkcKodGMrMszAA3u4
 GyrNb90rZpTAPZm24YMCEQutamsF0tmJ62xfqIMOhLE3Xk19cnZGpf0PHR09dhaudy
 EAiHg/Dk6mtcw==
Original-Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4Srg8M74VCz6tvm;
 Thu, 14 Dec 2023 18:58:59 +0100 (CET)
In-Reply-To: <jwvfs04hjm9.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message
 of "Thu, 14 Dec 2023 10:50:10 -0500 (1 hour, 44 minutes ago)")
Autocrypt: addr=thievol@posteo.net; prefer-encrypt=mutual;
 keydata=xsDNBF8ylcIBDADG+hy+zR6L4/vbdDDZuSaMmSrU3A5QZJpeBCvxTr7MpzzruZbhLPW1K3R6N2MA
 edi8Y+C8o27FVRIjpdbaKMGu9je7JV/TbUQYo3SOwCK1vM4LUn4V6ZLzSYkuiEt4eyMoiDdyvN0p
 kcK6P9x9DCetcEVszXzQg+yzCVrQ2hXWDXWT4M18EC3wtO7RHPouMqGiwBFhBAYErCqFWFxQHkfb
 tG/4yGyJ58rglb65O3qijjMWvYwcWZun9/7qm8Z4/4mHopmo2zgU+OrptnLSZfkZGz3Y7Uf452xQ
 GVq0Fv75NPvQru7y+DYVhuVXXyAmGxt+vf4rIiixMBbhKEPjcxEPAa2LTzex2IsTZR+QVG9uDnqC
 WcgaOEQ58fzXNvNhtwwF/Rgio2XWAJVdmFWS59/k9W58CIUSNKBMZh2XeGdEmtHvDtCxW3z6FJha
 36RzOM3fMNNiAGdFZJA84gcdloJR+sHCDTTPT3784fjr+V8An7sI581NGFzkRQqPvEQCZbUAEQEA
 Ac0SdGhpZXZvbEBwb3N0ZW8ubmV0wsEOBBMBCgA4AhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheA
 FiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmL3HCoACgkQDsVtFB0W75OVEAv/f6XxmtIFz08fUb8h
 Bp/zJP6IC4/rhhh+0GMRIRzLN8DK0jV8JCzYdFHiRJOy2lNIOpmrrCmjRRxferc2G42+ePFIsslx
 hU46VSz1Z83NwIG3mpdYNV5WUTUdgzxExHTNTFCd7NKv0nlHKQaA 
OpenPGP: url=https://posteo.de/keys/thievol@posteo.net.asc; preference=encrypt
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Xref: news.gmane.io gmane.emacs.bugs:276203
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/276203>

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> What do others think about making this the default?
>
> My understanding is that usage style of registers varies a lot, where
> some people use them extensively, so any change that makes them
> heavier/slower (such a requiring a confirmation) will alienate them.

My impression is that these people use a workflow based on few register
(I guess maximum 5) because it is hard to read the register preview as
it was before, so they work with for example only "a", "b" and "c", they
always overwrite them and as there is only few registers they can
always remember what they do.

But when you have many registers, the time you spend scrutinizing the
preview buffer is worst than the time you spend hitting RET or even
navigating the preview buffer with C-n/p.=20

>=20
> For that reason I'd opt to keep the defaults as close to the previous
> behavior, focusing on making the new features discoverable rather than
> enabled by default.

So we could have the default exactly as before (register-use-preview =3D=3D
basic) and disable the behavior of register-preview =3D=3D nil, keeping only
t and 'never.

t would provide the fully featured preview buffer (with RET everywhere to c=
onfirm).
And 'never would be the same but with no preview buffer (but still available
with C-h).

As I have actually a problem unsolved with register-use-preview =3D=3D nil
with kmacros, this would save me some more work.

=2D-=20
Thierry

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQHHBAEBCgAxFiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmV7Ql8THHRoaWV2b2xA
cG9zdGVvLm5ldAAKCRAOxW0UHRbvk92+C/4gp+CCUmT1F8O9neY4P5G08CKobPXP
7rEhpdW60B6Uf+aPj/w5cM2gxVws5yQ4lQLfEEEXMyzKYKxUh8JQ+JxaXZ1AeUr7
l69D60m0V6775AUW8Ez9MUICQ6tKgvin4aUpWZOAhughvyv1+jqg6PPLxNFzuDBV
HjyObS7sLa+3+5cTINSm9rCDI7hGMjtkN1bQ46TH/Ai/CFAO0ugPdwkWfmBU/xU3
DgeUxJ/iIc/mOYSSy4W8A9txAhqcdiPyUwbEDYqn7de5cjtmzNLqjaRkPobCz7K+
RfiFI93FMnOu4LXcfSxrvLaLH1DKgRHpVQG+vU7y3MP+BmblwMBEMrjnTdvqfV9n
JfqREF2TTwdPksHfmfq98N3x/PbzDX/bXINC05vnGz/dg3CBu0rzgCCLAv/ryUwI
k9BoejLDrjCngc3RR9rKqve4I/DroNwZdd+mExwTWNlPaJBTa7wTYlhYnRMmHBeL
jGirnYL7snlx98uxwOl45706OMdL97LderE=
=31nw
-----END PGP SIGNATURE-----
--=-=-=--