From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean McAfee Newsgroups: gmane.emacs.bugs Subject: bug#74438: 29.1; global-mark-ring does not work as described Date: Wed, 20 Nov 2024 11:16:38 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000d1b7cd06275cfd90" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7098"; mail-complaints-to="usenet@ciao.gmane.io" To: 74438@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 20 20:18:19 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 1tDqDT-0001f9-3F for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Nov 2024 20:18:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDqDF-00078M-N3; Wed, 20 Nov 2024 14:18:05 -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 1tDqDD-000771-3M for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2024 14:18:03 -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 1tDqDC-0006Dg-Qr for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2024 14:18:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=gFqsYI+LlCYn4MrMe/1AVbR3FAi+be1wKh38ncNNBcg=; b=WNnimoNQ7hP6tZPaF8D8ehZ0STbvK+4wpGwPOgZ1QZ2txPVjLU7RNUvIBMD51/hBr0i7C3H5Yzed3Rr7mioKHisawPXKyl0ohLg3cgqmKz/c19wd0fj676Nb/btR8mBRhPEuQWITfT4b2Orszgp7lYzFQCRIMXhJS5wTALhR9pRqZy2U259bOKDbIAlGWO+z0TuShSo2TX5N1+XqOgg8IRdZizzZ8qK8BU03/jyD7Uq+OXdUmsPEGGwfcBvYsh8OKVsgTumRkrO/xI5BWRHMbr0iGqr8TMLhMeMxEdODnP4KnPeUJbM5n5us4dwyHGb/zLQioaAcnbEaIHRsbnCY9A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDqDC-0003jY-GA for bug-gnu-emacs@gnu.org; Wed, 20 Nov 2024 14:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Sean McAfee Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Nov 2024 19:18:02 +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.173213027214322 (code B ref 74438); Wed, 20 Nov 2024 19:18:02 +0000 Original-Received: (at 74438) by debbugs.gnu.org; 20 Nov 2024 19:17:52 +0000 Original-Received: from localhost ([127.0.0.1]:47809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDqD2-0003iw-B2 for submit@debbugs.gnu.org; Wed, 20 Nov 2024 14:17:52 -0500 Original-Received: from mail-yw1-f178.google.com ([209.85.128.178]:59756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDqD0-0003in-19 for 74438@debbugs.gnu.org; Wed, 20 Nov 2024 14:17:51 -0500 Original-Received: by mail-yw1-f178.google.com with SMTP id 00721157ae682-6ee55cfa88cso44227b3.3 for <74438@debbugs.gnu.org>; Wed, 20 Nov 2024 11:17:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732130209; x=1732735009; darn=debbugs.gnu.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=gFqsYI+LlCYn4MrMe/1AVbR3FAi+be1wKh38ncNNBcg=; b=k1Y6jvtm7MNMWkwjCheUG8ElI9ivPbwuAGgKWpDwZ2hVqOBH3uLidI5+hE/oC4uOZw sUmgaFsV9LQXgv6CHIBvLZiY4Tsodp9CMDXI06KldiTCRxuF2JCdvpfPAeZKIXaA88XD gZvOnCA7+BysWUtCEl0U+x8MHFoUKzMNkF3v8hCqFryyFSmIUzce5dI9aDdjHxw0/Ep0 M+mIUMW6gojyiQ3VmFnnRE9aZB3acS9sX7aYXtvwr1OjTcxTX2Hrxq0mS7R45UXGbq76 7D5/IY2Yxw8pkB39LqTrYN1knLJLuYfd/eOomhPQoXsfcbVQYz8EgIikGbDOTPtyu59c ISMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732130209; x=1732735009; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gFqsYI+LlCYn4MrMe/1AVbR3FAi+be1wKh38ncNNBcg=; b=J51Jj89+56VamYeO7A7YiOX0zSg5y21kpmKgM0y4KrDpNm1nain+22DP00p8FkVV+N Ogw6pIdSUMTaFr21ssO2YYIC6H6CeFvY5TDL7gkRTjgTpMzVtEOH4gVK5OmgVD/koxGn QUUqZnmdXXgiXXRTDdNUlakBHV66GBhE6/iNIPaI5evojXfy9YXznP1RE9rQ/sihDHjN 1a6wXvQcpKu3Ki0ZgbpMkr41SYkJgEZw7dM/7q5hwUn7c7alyvRF6ybBaRcDqWIn9b2O xYjffDvnj5OZu+3RciW5pMbwxyEBdoVoInrH/y6rGy0Whk75PMiCjJrI3YgsDdAb8feF /6Ug== X-Gm-Message-State: AOJu0YxFs2/9IMVyi+fELxujQL0/TOKgN6OO6MafrNOcQ3bpeNO+1Tjr zRDop8WCyg/zIXawC6pqsddVooXRZ4P30LzYQe48W1JAzJWWNordJ8PkU2TeK98vyjsBrYko+9o FqtTVlkekmwyXuYTJbqN2XwRXezw2zsiE X-Gm-Gg: ASbGncu0dANI3v3J2PmwaO9ZjkU1Kc2KSxG5/Rz+0n9XQaK4H7vKhSrOUWMu0C3LUp2 zsLnIrziVV7XOx1nqrTM3RxMCcinEmCo= X-Google-Smtp-Source: AGHT+IGRd4G9DeIjXJ3za8vlDu0CvgWbWcqYTfS0QxqdsiuJiEMy6ftqpGKxkE7DFwTsE6wrkV2fOoV2ezyt0pjj5ys= X-Received: by 2002:a05:690c:63c8:b0:6e3:1f02:407b with SMTP id 00721157ae682-6eebd0f45famr37415097b3.11.1732130209116; Wed, 20 Nov 2024 11:16:49 -0800 (PST) In-Reply-To: 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:295697 Archived-At: --000000000000d1b7cd06275cfd90 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Nov 20, 2024 at 2:18=E2=80=AFAM Nikolay Kudryavtsev < nikolay.kudryavtsev@gmail.com> wrote: > Emacs won't allow you to set multiple marks in the same position, it's > just going to activate the current mark. > I don't want to set multiple marks in the same position though. I just want to be able to know in which buffer I most recently set a mark. I expected that the first element in global-mark-ring would tell me, but it doesn't, not reliably, because if the mark already happens to be at the place I run set-mark-command, the ring is not updated, and the first element may refer to some other buffer. That may be the "correct" behavior by some standard, but it doesn't match the documentation. --000000000000d1b7cd06275cfd90 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Nov 20, 2024 at 2:18=E2=80=AFAM N= ikolay Kudryavtsev <nik= olay.kudryavtsev@gmail.com> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft:1px solid rgb(204,204,204);padding-left:1ex"> =20 =20 =20

Emacs won't allow you to set multiple marks in the same position= , it's just going to activate the current mark.

I don't want to set multiple marks in the same position though.= =C2=A0 I just want to be able to know in which buffer I most recently set a= mark.=C2=A0 I expected that the first element in global-mark-ring would te= ll me, but it doesn't, not reliably, because if the mark already happen= s to be at the place I run set-mark-command, the ring is not updated, and t= he first element may refer to some other buffer.=C2=A0 That may be the &quo= t;correct" behavior by some standard, but it doesn't match the doc= umentation.

--000000000000d1b7cd06275cfd90--