From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Eshel Yaron via "Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#66394: 29.1; Make register-read-with-preview more useful
Date: Sun, 03 Dec 2023 19:29:19 +0100
Message-ID: <m1r0k3gmww.fsf@dazzs-mbp.home>
References: <87il7ib6cu.fsf@posteo.net> <8734xyc8z0.fsf@web.de>
 <87zg05rewi.fsf@posteo.net> <87ttqcg8gw.fsf@web.de>
 <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>
 <87fs0jtkue.fsf@posteo.net> <m1bkb7qqca.fsf@dazzs-mbp.home>
 <87a5qrtepm.fsf@posteo.net>
Reply-To: Eshel Yaron <me@eshelyaron.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="32868"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cc: michael_heerdegen@web.de, Eli Zaretskii <eliz@gnu.org>,
 66394@debbugs.gnu.org, stefankangas@gmail.com, monnier@iro.umontreal.ca
To: Thierry Volpiatto <thievol@posteo.net>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 03 19:30:16 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 1r9rEN-0008KS-DU
	for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 Dec 2023 19:30:15 +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 1r9rE2-0002lX-4b; Sun, 03 Dec 2023 13:29:54 -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 1r9rE1-0002lP-0n
 for bug-gnu-emacs@gnu.org; Sun, 03 Dec 2023 13:29:53 -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 1r9rE0-0005yp-On
 for bug-gnu-emacs@gnu.org; Sun, 03 Dec 2023 13:29:52 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1r9rEA-00033n-NF
 for bug-gnu-emacs@gnu.org; Sun, 03 Dec 2023 13:30:02 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Eshel Yaron <me@eshelyaron.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sun, 03 Dec 2023 18:30:02 +0000
Resent-Message-ID: <handler.66394.B66394.170162817711701@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.170162817711701
 (code B ref 66394); Sun, 03 Dec 2023 18:30:02 +0000
Original-Received: (at 66394) by debbugs.gnu.org; 3 Dec 2023 18:29:37 +0000
Original-Received: from localhost ([127.0.0.1]:60921 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1r9rDl-00032f-1T
 for submit@debbugs.gnu.org; Sun, 03 Dec 2023 13:29:37 -0500
Original-Received: from mail.eshelyaron.com ([107.175.124.16]:58364 helo=eshelyaron.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <me@eshelyaron.com>) id 1r9rDi-00032U-GG
 for 66394@debbugs.gnu.org; Sun, 03 Dec 2023 13:29:35 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com;
 s=mail; t=1701628163;
 bh=Sa7F1k3opF02+QlmI2/uXeWqCKG7sb6oK63u3Nuu0Yo=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=ufznt+iW+alVVW9x0LfVK7Agqfvm/AaXE0t12c+kPtEIfxX74dxfWBNZwJnrpsNy6
 CqebYsNeHrZZrwP0QJb0v8k9S+ogyaFX/H/NjSwK4Xn/H8+vZeTxgkCoPHWnm8Uues
 kLiSheLupp/qWlj3uJCGzBe9JClIHqdEOVtzcKp4aDgHvNF1ZUFn3ZaSWXlScT00kH
 XHOUrRWDC4CGPG7jy9XtZAK3+RYUWvjW0kmv8VzKTIxB2cw5TiqNVj07pE/9XfDI+c
 t9tSx/2TKDXMCOBeRJOsRgZLnHTgN77isN5gu+wk4AtjpZHt0SMatvdXC+97rI/cBa
 KQq9gHKz902rg==
In-Reply-To: <87a5qrtepm.fsf@posteo.net> (Thierry Volpiatto's message of "Sun, 
 03 Dec 2023 16:48:05 +0000")
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:275442
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/275442>

Thierry Volpiatto <thievol@posteo.net> writes:

> Eshel Yaron <me@eshelyaron.com> writes:
>
>> So it'd be great to have the previous behavior available in Emacs 30.
>
> Sorry but I wont write this, it is not complicated to write but needs
> works and attention and I spent enough time on this.
>
> The only thing you mentionned I agree with is the necessity now to use C-q
> to insert key sequence (note that C-n/p will insert it alone), but it is
> not a big annoyance right? (most people don't use this, I don't for
> one).  For the preview buffer not visible, note that you can pop to it
> at any moment with C-h.

What about the fact that `C-x r s` and friends by default no longer work
in the minibuffer?

> Perhaps you will get used to the new behavior after some time,

Why can't I, and other users, have the previous behavior, though?  It's
great to innovate with new alternatives, but why should we break user
workflows in the process, without as much as a NEWS entry to warn them?

> otherwise it is easy to revert completely my commits (it is the
> development branch of emacs after all).

Seeing as you are not willing to make this change backward compatible, I
think that would make sense.  I don't have commit rights to emacs.git,
so I can't do that myself, though.

I do think it shouldn't be that hard to extend the previous
implementation to _optionally_ ask for confirmation before overwriting
register contents, without using the minibuffer.  That way we'd have the
new behavior that you want to introduce without the added breakage.
Would you be willing to test such a patch if I write it?


Thanks,

Eshel