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#70384: [PATCH] 30.0.50; save-mark-and-excursion breaks with tmm disabled Date: Thu, 18 Apr 2024 17:20:14 +0300 Message-ID: <865xweeorl.fsf@gnu.org> References: <86msprdj9e.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7346"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70384@debbugs.gnu.org, ultrono@gmail.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 18 16:21:14 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 1rxSdT-0001eX-Tt for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Apr 2024 16:21:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxSdB-0001kz-Ta; Thu, 18 Apr 2024 10:20:53 -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 1rxSdA-0001kd-36 for bug-gnu-emacs@gnu.org; Thu, 18 Apr 2024 10:20:52 -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 1rxSd9-0001JH-PF for bug-gnu-emacs@gnu.org; Thu, 18 Apr 2024 10:20:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rxSdM-0005fU-QG for bug-gnu-emacs@gnu.org; Thu, 18 Apr 2024 10:21:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Apr 2024 14:21:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70384 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 70384-submit@debbugs.gnu.org id=B70384.171345005121671 (code B ref 70384); Thu, 18 Apr 2024 14:21:04 +0000 Original-Received: (at 70384) by debbugs.gnu.org; 18 Apr 2024 14:20:51 +0000 Original-Received: from localhost ([127.0.0.1]:52706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rxSd8-0005d7-9x for submit@debbugs.gnu.org; Thu, 18 Apr 2024 10:20:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rxSd6-0005cA-24; Thu, 18 Apr 2024 10:20:48 -0400 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 1rxScn-00019T-5a; Thu, 18 Apr 2024 10:20:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=JPSeI2j9K2vyUBT2OeeVJBzBDgL2frNxt6rl5HO0l7o=; b=DPkDoGm1+OvOqAYm1EAN cW/iS2fBxaUiLBOUT9AP3knwbVsdXJGv4ggj/+XTwPFBkgJffLyInPyppL2eFKq/Ua1XiOwICXWYL 5D/ivDpMHz4NZYzHBS00EJLLtpmGOgABCPW2PCxjwm6zPIi8updYuwg09ZlO+B3BeNjgKi+v8x1AR spJidn5MPhoE8G1lFBF0vhak8+W+beHuuEwUbhvBvOnwCYHdF8zXbHLTEevqvA0kHDMTzSHZu9oVz oDJLl+9T1RcPnne57b804c0sdRmBwWgDuv16e4OFR95NHwvvJ3e5GMP3aVBseianfc5+k3uC8VkO5 U970RLZHDC9D1g==; In-Reply-To: (message from Stefan Monnier on Thu, 18 Apr 2024 09:55:56 -0400) 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:283566 Archived-At: tags 70384 notabug wontfix close 70384 thanks > From: Stefan Monnier > Cc: Paul Nelson , 70384@debbugs.gnu.org > Date: Thu, 18 Apr 2024 09:55:56 -0400 > > > I'm not sure I agree with your expectations. activate-mark activates > > the mark unconditionally when transient-mark-mode is disabled, unless > > you invoke it with a non-nil argument. And indeed > > > > (save-mark-and-excursion (activate-mark t)) > > > > behaves like you expect. > > > > Stefan, am I missing something? > > It's all very messy with dark corners where the right answer is unclear, > yes. That's one of the reasons why I extracted that mark-handling > functionality out of `save-excursion` in the first place. 🙂 > > IOW my opinion is: if you use `save-mark-and-excursion`, you get what > you deserve. OK, thanks. So I'm closing this non-bug as wontfix.