From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Alfred M. Szmidt" Newsgroups: gmane.emacs.devel Subject: Re: Please, Restore Previous Behavior for jump-to-register Date: Sun, 10 Dec 2023 03:21:03 -0500 Message-ID: References: <87h6kr9817.fsf@posteo.net> <87a5qi1vui.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35348"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eduardoochs@gmail.com, raman@google.com, eller.helmut@gmail.com, tino.calancha@gmail.com, emacs-devel@gnu.org To: Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 10 09:21:55 2023 Return-path: Envelope-to: ged-emacs-devel@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 1rCF4V-0008xL-3f for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Dec 2023 09:21:55 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCF3i-0006Oi-Dm; Sun, 10 Dec 2023 03:21: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 ) id 1rCF3h-0006OY-0R for emacs-devel@gnu.org; Sun, 10 Dec 2023 03:21:05 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rCF3f-0001B7-PF; Sun, 10 Dec 2023 03:21:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=Q+Ye3Vt6W9MmQsEqNRnu76g+DDPPwRswYUQcVshQLb8=; b=etGr1BPH3jwK trfoECNsaw3MFi1HkUUqVks/b6LvwGvL+/rhK7yUbhd0x64Kv7+SqVO2BDbYC4im6yxjG0Q6gBDbm zGFW+98nziLEThcRpATFpbHvXxL+bvA5+nQi1qgpW5NSsO5QeaUQDhwrG6j6KNh7LwYeoGcQZDrWy MgwxN4xyjWTuEwZm0AXAkSZUMOkelAPrK96KbfPzyD1WMNu+bbrbEPAtr7Rt2+GJkOAc7Yq01EeLl 7yvkVM4zzuZUxzK9NKpnkmnAYI8lT+C/3scgBCkZclXood4H/2+UNuwcEbnwH0FpCFR/IEK3hovU1 M4JW06Fxc7KZ8WupZ9n6sA==; Original-Received: from ams by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rCF3f-0001KT-9Y; Sun, 10 Dec 2023 03:21:03 -0500 In-Reply-To: <87a5qi1vui.fsf@posteo.net> (message from Thierry Volpiatto on Sun, 10 Dec 2023 05:15:49 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:313657 Archived-At: [1:text/plain Hide] Eduardo Ochs writes: > On Sat, 9 Dec 2023 at 03:58, Thierry Volpiatto wrote: >> >> You can now have the previous behavior by customizing >> `register-use-preview`. >> >> It will be soon visible in NEWS and INFO. > > Hi Thierry, > > AFAICS a part of the problem still remains... > Try this in an emacs30 -q: > > (setq register-use-preview 'never) > C-x r SPC a > C-x r SPC a > > The second `C-x r SPC a' says "[Overwrite register `a']" and asks for > a RET to confirm. This is the wanted behavior when you are about to overwrite a register. It really is not. The whole story of registers, since its dawn, was to have a very quick way of setting them. That includes overwriting them quickly, this is specially important in keyboard macros where you wish to record specific points to jump back and forth too .. now, you cannot reuse one register in a keyboard macro without having to deal the interactive question .. which only occurs on the second invocation of the keyboard macro.