From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74438: 29.1; global-mark-ring does not work as described Date: Wed, 20 Nov 2024 16:35:13 +0200 Message-ID: <86o72arn1a.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34446"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74438@debbugs.gnu.org, eefacm@gmail.com To: Nikolay Kudryavtsev Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 20 15:36:35 2024 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 1tDloo-0008qD-Vx for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Nov 2024 15:36:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDlob-0007om-Rh; Wed, 20 Nov 2024 09:36:23 -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 1tDloJ-0007nj-5g for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2024 09:36:06 -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 ) id 1tDloI-0004Lk-U7 for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2024 09:36:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=K2zN6KEo5KxeOpUQgwlde0hKhL2aDpesQy3Z100UIx0=; b=j/nL4Q/+aOqUSLo8oQCJtF7XPSb6EiSVAfPEC1+3eFC7mphQbxStKeWTlruEmxgnZyKvRlJWgs5bNAhyrXfdPrJM1meSzW2sEp1zmHPGXc9Mucx2ZZJnrbwzxIJ0dxrhBZdq6IguJ+QR9WgYuwlzIjE9fjMgC8L0vyI6m5BwNgCVUJcoe0w0J52Skcgp/Sl24TNfYnSEwTjbsY3kPf9Ehf+uaKlo/yyfxyIi9gPaiQwwRUexSmY8Zk6OL0+I6Iw0EcWwGKmNOx8O0WojZ4ldPXDfnLQb0ibBNLJ4bD/jiVb/w8zQ6S8gMr4X9GbmE/VaqmQgYu7yGWwefaO+7mQFaw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDloH-0007Sh-Mw for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2024 09:36:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Nov 2024 14:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74438 X-GNU-PR-Package: emacs Original-Received: via spool by 74438-submit@debbugs.gnu.org id=B74438.173211334128652 (code B ref 74438); Wed, 20 Nov 2024 14:36:01 +0000 Original-Received: (at 74438) by debbugs.gnu.org; 20 Nov 2024 14:35:41 +0000 Original-Received: from localhost ([127.0.0.1]:45919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDlnx-0007S0-BI for submit@debbugs.gnu.org; Wed, 20 Nov 2024 09:35:41 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDlnu-0007Rm-K6 for 74438@debbugs.gnu.org; Wed, 20 Nov 2024 09:35:39 -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 1tDlno-0004Jq-Tc; Wed, 20 Nov 2024 09:35:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=K2zN6KEo5KxeOpUQgwlde0hKhL2aDpesQy3Z100UIx0=; b=k7jYfWqDeOVY V5DqXMre7jtotcHnADKF5Kd6BTdtUFsGNM9QkhRQ6NCtmrUvF4Z4q6rj6hl8yrXw5t3Oxb7UCNJIn xZzayIWtkAT/O1vUErxI6Tb3iX1ZqAvayenRcezH0Z8xQMIrfHGG76e4+NBIni7OsTs6g50UNE8vn H0S42qfgFxL3DsYPzPg0U7sqfyCVzaQenojXd9WuReckZWm7vYb0FIML+Lb3SyyAhTO0lT9+PWDHQ xhZCkSMeXIMFr2YDvvO3apU6/gxr9wLWjgumyGqWZrdJFaVt5+cgkky+Lc3hrww7bVbD1oljXiaoc zO9ii3/jD1BsFGrvI+m0IQ==; In-Reply-To: (message from Nikolay Kudryavtsev on Wed, 20 Nov 2024 13:18:00 +0300) 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:295679 Archived-At: > From: Nikolay Kudryavtsev > Date: Wed, 20 Nov 2024 13:18:00 +0300 > > Emacs won't allow you to set multiple marks in the same position, it's just going to activate the current mark. > Hence your reproduction recipe can be simplified to: > > 1 C-x C-f foo > 2 C-SPC => Mark set > 3 C-SPC => Mark deactivated > 4 C-SPC => Mark activated > 5 C-SPC => Mark deactivated > 6 C-SPC => Mark activated > > See how you're not getting "Mark set" any time after the first message? Yes, technically, it doesn't set a mark, it just activates the existing mark. And the global-mark-ring section says that Emacs pushes a mark on the ring when it sets the mark in some buffer. Which is not what happens here. > Maybe a couple of sentences should be added to the manual regarding this behavior, because mark ring is > often a source of confusion for the new users. If you can tell what are the confusions, I could work on clarifying them.