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:28:17 -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="26592"; mail-complaints-to="usenet@ciao.gmane.io" Cc: thievol@posteo.net, raman@google.com, eller.helmut@gmail.com, tino.calancha@gmail.com, emacs-devel@gnu.org To: Eduardo Ochs Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 10 09:28:39 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 1rCFB1-0006ii-LG for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Dec 2023 09:28:39 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCFAi-0007ox-QT; Sun, 10 Dec 2023 03:28:20 -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 1rCFAg-0007oo-VA for emacs-devel@gnu.org; Sun, 10 Dec 2023 03:28:18 -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 1rCFAg-0002i8-38; Sun, 10 Dec 2023 03:28:18 -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=MaWuNeTA2EaH4ivRiWJUtZFvbMuA2ZckW4ojAe32OFo=; b=O2/mYKqHSCxX HhCEcfLhbfedfzaoQvGLJeGAoOJIganptNmiLiuhAdLeo4o7l5RYMYouL3SWsVRT/9ZOa8uZlWaN/ bAcYjyZawMvSMF4YZQvbnKDQVMrwHPupAlrvqCgFgRedoBQUMjy3drDQ1kzLs4viE9KFOjfXKxSWc NH3hRUYbNQniHmxJc0VGYDFxPpeqpYtWAEOVpfRBhIEpx7TsnzV8MPYV3jCQeXZ1M4kJ9AX/DwOMP caRIDoC1rHvEP1AIyvBJ0FHnrAsp9j2i8AwPJrZ1uyLl90nhGPU3XKZmrX7QSEhXHiLyDzTeIweOc oGYQzsRmwy973ckBwA95Kw==; Original-Received: from ams by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rCFAf-0002gX-Sd; Sun, 10 Dec 2023 03:28:17 -0500 In-Reply-To: (message from Eduardo Ochs on Sun, 10 Dec 2023 02:44:22 -0300) 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:313658 Archived-At: The old behavior is to not ask for confirmation when overwriting a register, and some people - including me - would like to have a simple way to make `C-x r SPC' (`point-to-register') behave in the old way... Is there a way to do that by just setting variables? If not, can you implement a way to do that? More importantly, the documentation for how registers behave is out of sync with this new behaviour. The old behaviour should really be made default until. ‘C-x r R’ Record the position of point and the current buffer in register R (‘point-to-register’). ‘C-x r j R’ Jump to the position and buffer saved in register R (‘jump-to-register’). Typing ‘C-x r ’ (‘point-to-register’), followed by a character ‘R’, saves both the position of point and the current buffer in register R. The register retains this information until you store something else in it.