From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#66394: 29.1; Make register-read-with-preview more useful Date: Sat, 21 Oct 2023 03:34:43 +0000 Message-ID: <87y1fwtyrl.fsf@posteo.net> References: <87il7ib6cu.fsf@posteo.net> <87sf67qqmp.fsf@web.de> <875y3386ep.fsf@posteo.net> <87a5sddh14.fsf@web.de> <8734y5vnj7.fsf@posteo.net> <87bkcslr18.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="14183"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66394@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 21 05:56:50 2023 Return-path: 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 ) id 1qu36Y-0003WM-IR for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Oct 2023 05:56:50 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qu36P-0003Mo-6o; Fri, 20 Oct 2023 23:56:41 -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 ) id 1qu36K-0003MV-16 for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2023 23:56:37 -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 ) id 1qu36J-0006td-4A for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2023 23:56:35 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qu36k-0005MC-BA for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2023 23:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Oct 2023 03:57:02 +0000 Resent-Message-ID: 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.169786058820551 (code B ref 66394); Sat, 21 Oct 2023 03:57:02 +0000 Original-Received: (at 66394) by debbugs.gnu.org; 21 Oct 2023 03:56:28 +0000 Original-Received: from localhost ([127.0.0.1]:42004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qu36C-0005LP-21 for submit@debbugs.gnu.org; Fri, 20 Oct 2023 23:56:28 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:35711) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qu367-0005L8-P7 for 66394@debbugs.gnu.org; Fri, 20 Oct 2023 23:56:26 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id B2E3F240028 for <66394@debbugs.gnu.org>; Sat, 21 Oct 2023 05:55:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1697860549; bh=y7EFUqxEkCy353ZP2HQKLA71qkTmLpP7KXGm28rN0Mw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=WHwr4juixHxks7z2VUMXfo4knsiDETn4zq9uy3QAFm786BAIiITB7Jsjtd/ZRhiOL aq0896MgpeS1yCI0Q8jjdp0/PV1A3eH86m6HNQ0VZD1uqVMPPmVxbX7Zl8Gflx4pHn 3AHARIa5iT3gohxbQvjDylb3tRqyJyCvsArN9OWgTOQiyTwJQP5itH6zGut6hEzCCd BtZsUpXobCCzjigSS+EaqunM4Sl41tAYRjHZ6uP+t+zbwUWCDMXcB+Wjee1dnefbKi 89UjZDwuCCG9r7SjxxHw6UYlJlERdKRls+EyoEPpbR7n/ozDtWCIc5LOnQF9exYI2m l4Xv2Po7J6khQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SC70N6wCtz6txm; Sat, 21 Oct 2023 05:55:48 +0200 (CEST) In-reply-to: <87bkcslr18.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" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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:272829 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Michael Heerdegen writes: > Thierry Volpiatto writes: > >> > 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? > > Registers are characters. Control characters are valid registers. So > you can for example do C-x r s C-a to save the region string into register > `C-a'. Your patch complicates inputting such registers. Dunno if > people use such registers, but I wanted to mention this. It's a bit > harder now to use non-printable characters as registers now. Yes, probably this is one downside of this patch, but as you mentionned one can use C-q C-a if really needed, I for one never used such registers. > >> > 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. > > For jumping? Why is this useful? Well, actually with original behavior you can jump to a register recorded as a string, which returns an error of course because the register is meant to use with insert. Now the situation is better because the candidates are filtered but you can still jump to an unwanted place, read-from-minibuffer lets you the time to see where you are going. > >> >> 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 Emac= s. >> >> Once the patch is applied, C-x r x M-n (repeat if necessary), same for >> C-x r w/n etc... > > Is this part in the patch you had been posting in the first messages? > Because I only get "End of history; no default available" with that > patch installed. No, I will prepare a patch later, when there is interest in this feature, for now use the gist I maintain here as mentionned previously: https://gist.github.com/thierryvolpiatto/2219f99ac96ed1b468fac204bca23b4a Thanks. =2D-=20 Thierry --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHHBAEBCgAxFiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmUzS74THHRoaWV2b2xA cG9zdGVvLm5ldAAKCRAOxW0UHRbvk+kHDAC0wew7ufsr5ydzSAFSq6DY1HEAnk9Y 6hjo+IIUj1pJOvhvE5kxCy5ZC3Zpu0Inir5U63GhS/IphwznYs8d+LPS461HU7Am YOQNl8Rc0DvKQltSBmb6Yl2Dvei0Zk26lHPp/+RTXotIaoH6FRp8+bUPU/MFkFuj VfxwwUTJjARtfdtcqEYA/K7UawASvTUXKBF76y5XZoDnH8AcETWKBAaqknDRXfVK gtttO+OpOp4mYU8jYs68nqCBsDGZ0a16uIf7d39plIRPmfRHp1k7EzME1cYFky+J us/Bloor/HJoBkBrMcA2KHIwuBZWA6GCFJIWVsAtogj1Wz/wG0GbORZ0/uo7wBIq mO26kHHpltmUyJzZ1J6ZWqvNbk7OTFDE8tICebameRGxEu55ahYxoFIcwk8Zb42I PzQAozbGjv0/gAfhS8blNEBk3TsWPZL8L8/JEZcVwRaGNfqB0dnymst7gE0bjKJO nvxfku++Bmjz6qZiA7lQTxGq5aUabCe8KOM= =QxXV -----END PGP SIGNATURE----- --=-=-=--