From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Stefan Kangas <stefankangas@gmail.com>
Newsgroups: gmane.emacs.bugs
Subject: bug#66394: 29.1; Make register-read-with-preview more useful
Date: Thu, 14 Dec 2023 11:39:19 -0800
Message-ID: <CADwFkmnCE_EBjvxjrV-yxjCp=6M9H-qAfo+3YqMavjQD-=3n1A@mail.gmail.com>
References: <87il7ib6cu.fsf@posteo.net> <87h6mcr8ol.fsf@posteo.net>
 <87r0l73029.fsf@web.de> <877cmdx8ud.fsf@posteo.net>
 <jwvjzqcxrnq.fsf-monnier+emacs@gnu.org>
 <87sf50s1gh.fsf@posteo.net> <83o7ficesp.fsf@gnu.org>
 <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>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="34810"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: michael_heerdegen@web.de, Eli Zaretskii <eliz@gnu.org>,
 monnier@iro.umontreal.ca, 66394@debbugs.gnu.org
To: Thierry Volpiatto <thievol@posteo.net>, Dmitry Gutov <dmitry@gutov.dev>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 14 20:40:17 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 1rDrZB-0008oi-7q
	for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Dec 2023 20:40:17 +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 1rDrYz-0001sb-33; Thu, 14 Dec 2023 14:40:05 -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 1rDrYx-0001sM-Ja
 for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2023 14:40:03 -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 1rDrYx-0000wW-6H
 for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2023 14:40:03 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rDrYw-0003k2-Ho
 for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2023 14:40:02 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Stefan Kangas <stefankangas@gmail.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Thu, 14 Dec 2023 19:40:02 +0000
Resent-Message-ID: <handler.66394.B66394.170258276914326@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.170258276914326
 (code B ref 66394); Thu, 14 Dec 2023 19:40:02 +0000
Original-Received: (at 66394) by debbugs.gnu.org; 14 Dec 2023 19:39:29 +0000
Original-Received: from localhost ([127.0.0.1]:50953 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1rDrYO-0003iz-QZ
 for submit@debbugs.gnu.org; Thu, 14 Dec 2023 14:39:29 -0500
Original-Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]:42007)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@gmail.com>) id 1rDrYM-0003ih-3V
 for 66394@debbugs.gnu.org; Thu, 14 Dec 2023 14:39:27 -0500
Original-Received: by mail-ed1-x535.google.com with SMTP id
 4fb4d7f45d1cf-551d5cd1c5fso2005355a12.0
 for <66394@debbugs.gnu.org>; Thu, 14 Dec 2023 11:39:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1702582761; x=1703187561; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=vpZmKAGauOzSXgEyQrlR3l4RyCTMFqHPY+i5R8SDdos=;
 b=Mj5CBg2VsTZy1UmSs0rhD19n0bexmBIEVM4hzNLGSqh7dCotq7NCADiv4eOeOq6U9x
 MWL6KgR72d5tTmUB54elVybP3fgXQ/O+6tX+jVG7WAH/dQLQmHZEO1jby1wZh61PJkBB
 g4Et1BGkUW/4HGbB1c0glsfHpMP79GDIAsaxoFo8faHMa6qayw/a09gScYderU9GnQud
 23gq43NyejNwGOPauFk4uQWklnNUNKnJCiuiQHoBZYOY4g6nTHj5dVYNozvhlhB9AVxb
 69tDGu/lyPZDINb1VUUFsvDKJOuoEeYYxxJTJAtKzO6OOVfKHvvsPia9m9A6xmzde3B9
 P3HQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1702582761; x=1703187561;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=vpZmKAGauOzSXgEyQrlR3l4RyCTMFqHPY+i5R8SDdos=;
 b=M/0zvdsxMPqOtHWQLPy0578odeDm3Nhd5ajN/E0rRhJ4tQNyo+4dId23K6zNCO1LzU
 YiVOsE+4ag6lKIYl1np9DGLylOqsiLCLoBhWWXWAb0/+/3W/b/IuUVyX1sIJR4yyWDkv
 Pq/Lxv5cenrTZYcJ7JtEc6l3b/qeAD8I5pvz7l2I3/LKzfbXBG5DHKkfu3U+8w59JKfu
 QZPxvyCoN4nvHQ+TAuMfytJPp/i0KhPyavd9ZcM4dm3oTr8rXWxpPiqAsGro9c8Kebe6
 nAM3isFD2mnSFCldsiALo2x8Gtpn8r/ws9nGMrw/AZSdBoFPd4W3CGfsatVDEgaiLpgw
 sACA==
X-Gm-Message-State: AOJu0Yx63faz+2rmHrqz1q6kb0SPVQo8vV2cD6QJwNYucp6/54F5QTs6
 ++gn79zWgfbGTsgzSWdVXeO8A5oukNQWJYVtFIM=
X-Google-Smtp-Source: AGHT+IEqXMC/H2miuQRbSlbGDU+5Mcj5+ujnXjaW6Mz4Ou2rLwWV0kHMZWSD/r1Gi/WBimmOnyAoCSAw+chEY19gnA8=
X-Received: by 2002:a50:8712:0:b0:54c:aa1c:205e with SMTP id
 i18-20020a508712000000b0054caa1c205emr9562739edb.17.1702582760695; Thu, 14
 Dec 2023 11:39:20 -0800 (PST)
Original-Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Thu, 14 Dec 2023 11:39:19 -0800
In-Reply-To: <87v894hr2e.fsf@posteo.net>
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:276213
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/276213>

Thierry Volpiatto <thievol@posteo.net> writes:

> From 386457b493e3d2ebdb605dd8a8ce3c323847f537 Mon Sep 17 00:00:00 2001
> From: Thierry Volpiatto <thievol@posteo.net>
> Date: Mon, 11 Dec 2023 07:02:40 +0100
> Subject: [PATCH 1/2] Don't confirm with RET even when overwriting in register
>  commands

The preview here when copying to and inserting from registers is really
nice.

However, I think we should do what Stefan Monnier suggested: keep the
old default (with regards to which keys to press), and make it
discoverable for those that want it.

That said, I think the new feature, if made optional, will clearly be
popular among at least a section of users.  So it's a nice addition and
extension of Emacs' capabilities.

> From 7b634a3359565dea755392324055443eb02aa070 Mon Sep 17 00:00:00 2001
> From: Thierry Volpiatto <thievol@posteo.net>
> Date: Tue, 12 Dec 2023 07:24:32 +0100
> Subject: [PATCH 2/2] Provide emacs-29 behavior for register-preview

This one is okay in terms of the keys I need to press (i.e. there is no
change from emacs-29, by default), but why not keep the preview from the
first one?  That part I think was a really good addition, and also
non-intrusive.  It makes me feel more in control, as I'm not inserting
or overwriting stuff blindly.  We might want an option to turn it off,
though.

I hope that helps.