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: Fri, 20 Oct 2023 05:49:26 +0000
Message-ID: <8734y5vnj7.fsf@posteo.net>
References: <87il7ib6cu.fsf@posteo.net> <87sf67qqmp.fsf@web.de>
 <875y3386ep.fsf@posteo.net> <87a5sddh14.fsf@web.de>
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="33166"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: 66394@debbugs.gnu.org
To: Michael Heerdegen <michael_heerdegen@web.de>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 20 08:04:18 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 1qticM-0008OE-Qe
	for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 Oct 2023 08:04:18 +0200
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 1qtibi-00036I-F4; Fri, 20 Oct 2023 02:03:38 -0400
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 1qtibg-0002uO-Ex
 for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2023 02:03:36 -0400
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 1qtibg-0002EV-6l
 for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2023 02:03:36 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1qtic6-00023F-IK
 for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2023 02:04:02 -0400
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: Fri, 20 Oct 2023 06:04:02 +0000
Resent-Message-ID: <handler.66394.B66394.16977818357871@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.16977818357871
 (code B ref 66394); Fri, 20 Oct 2023 06:04:02 +0000
Original-Received: (at 66394) by debbugs.gnu.org; 20 Oct 2023 06:03:55 +0000
Original-Received: from localhost ([127.0.0.1]:38473 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1qtibz-00022t-9M
 for submit@debbugs.gnu.org; Fri, 20 Oct 2023 02:03:55 -0400
Original-Received: from mout02.posteo.de ([185.67.36.66]:44749)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <thievol@posteo.net>) id 1qtibu-00022c-O6
 for 66394@debbugs.gnu.org; Fri, 20 Oct 2023 02:03:53 -0400
Original-Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 871CD240101
 for <66394@debbugs.gnu.org>; Fri, 20 Oct 2023 08:03:17 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1697781797; bh=mklZ2qC0muRIy3YgaZmThThjXhuhR30FiehWLS5nQuY=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From;
 b=CfSRf6A9IvlXXLcuOAOPMfgwnNxLYupsEYTvXA5ccVFocL/WVwx7Bw0A2s3oz0JJE
 Uyfna4k5Nzy5LQvWdjgIz5mC3dvCZtLKJH2wSLbvlagfwTxWP1YEpx2QRrCQx1B7WF
 2vKz9ris2zCYvCdbwI0MTAa0zOe71JWLjScuoXtk8Dl/AreEBDIU7mC4p8HoXZmU6g
 qE0KHLtDJHxyYYp+oGfSKxunPmemAfl92Am2jdQJiKOcy9BhQicAJMebgkR/tkfOvn
 cnIEN3VXbSyLT4P8Rn5QItTc8/bZQb97UFtWyeDUkBtTq9ZMZFvd3HEcAZUDwq539s
 Oi8Evt24woI1g==
Original-Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4SBYsw4H7Wz6tvr;
 Fri, 20 Oct 2023 08:03:16 +0200 (CEST)
In-reply-to: <87a5sddh14.fsf@web.de>
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:272771
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/272771>

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


Michael Heerdegen <michael_heerdegen@web.de> writes:

> Thierry Volpiatto <thievol@posteo.net> writes:
>
>> There is only RET as additional key and it is a good thing IMO as it let
>> the time to user to see what he is doing.  Anyway using a real
>> minibuffer with its keymap is much better and allows further
>> modifications in the future to fit the needs of everybody. Using
>> read-key doesn't allow more alternatives.
>
> For keys like C-a you also need to hit C-q.  It's not 100% compatible.

I don't understand, what C-a and C-q have to do here? Also, what C-q is
intended to do in minibuffer?

> But wait: What I find confusing is that I also need need to confirm for
> `jump-to-register'.  Is this intended?

Do you mean RET? If so yes.

>
>> Note that now you can use M-n to select in minibuffer the available
>> keys (this only for setting or modifying a register).
>
> In Helm or in vanilla Emacs?  I don't see that for M-n in vanilla Emacs.

Once the patch is applied, C-x r x M-n (repeat if necessary), same for
C-x r w/n etc...

> Oh, and there is a little bug when the register binding list is empty
> (e.g. after restarting Emacs): your code errors because Emacs does not
> pop up a preview window in that case.

I think you mean when hitting C-n/p or up/down?
It is fixed in last version of the patch (not publied yet).

>
> Michael.


=2D-=20
Thierry

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

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

iQHHBAEBCgAxFiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmUyGBwTHHRoaWV2b2xA
cG9zdGVvLm5ldAAKCRAOxW0UHRbvk2JkC/wOTCW+WKHqSXYKaEjctjV8sQ3J1rVx
YSZ81i8Cj7WR1lAPkdQo6dzXK+3eAWEXAMnZeM1WsBMz+G+CuyorAKGA/BAltO96
zelaM0i5Fxo6C8BhNZhehPn/4MBZKJ1Af6uL4BpBphUbyMhz2nKzVEjspg4IJrWu
CeF/BdTxZEFa5Pwp3Chbqn/m701ZMLTyHJcutHw5UgoO4hBHu5cxQEBnIJqdntnZ
IoEHXq0fvTI0GyrTlJb2oHkwbvxgzYLMkG0pfgmGiVh4ShxrOXtcTOTIjOz/70Bs
NKSU3P4F4oU5W51n3Hf1fTmxhdF4Xz/7W71/hsdeZgXTQA7CiQB9u6V8TcBxFAUJ
t9xObmTZzB5iANdCI2Q/0My6Q6cnUbrPkcPTMttrWbLLAYncrRTo1PCIdX3oSbMk
mzKQuseBeAJbxCyd7hv7rK6PYYKJLhSRR//x/ZuPTmbcNmpFlczyXFmFYiWyLkj8
RFysSePJhO1SA7v/PBDTzmNQxKdR0RUqmv4=
=1D+M
-----END PGP SIGNATURE-----
--=-=-=--