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#57081: 29.0.50; [PATCH] Point associated with Window for good reasons Date: Tue, 09 Aug 2022 19:53:48 +0300 Message-ID: <83sfm5tl2b.fsf@gnu.org> References: <87zggdbp6y.fsf@dick> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29575"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57081@debbugs.gnu.org To: dick.r.chiang@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 09 18:57:52 2022 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 1oLSYB-0007aq-Oz for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Aug 2022 18:57:51 +0200 Original-Received: from localhost ([::1]:48872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLSYA-0005yn-Of for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Aug 2022 12:57:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44522) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLSVT-0002cy-R6 for bug-gnu-emacs@gnu.org; Tue, 09 Aug 2022 12:55:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54909) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLSVR-00007o-Ui for bug-gnu-emacs@gnu.org; Tue, 09 Aug 2022 12:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oLSVR-0002Fy-Q3 for bug-gnu-emacs@gnu.org; Tue, 09 Aug 2022 12:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Aug 2022 16:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57081 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 57081-submit@debbugs.gnu.org id=B57081.16600640518606 (code B ref 57081); Tue, 09 Aug 2022 16:55:01 +0000 Original-Received: (at 57081) by debbugs.gnu.org; 9 Aug 2022 16:54:11 +0000 Original-Received: from localhost ([127.0.0.1]:44658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLSUc-0002Ek-Mk for submit@debbugs.gnu.org; Tue, 09 Aug 2022 12:54:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLSUb-0002EX-Lp for 57081@debbugs.gnu.org; Tue, 09 Aug 2022 12:54:10 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42988) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLSUR-0008Ts-RD; Tue, 09 Aug 2022 12:54:04 -0400 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=Ly4LF5UCi3AAPa8opgk+mboh8fLri+EWOqei77uVAqo=; b=M+n0LBMhMbqa yOkrfINt3oQNBe47vKy4BZ5AG1o3D3QJbvCdszZJsg+ISoUMkfrhWCRe7p9Gv6fSjfDWIdZDAwfCc avJp4Q+Vxo86ol1s16x2DubMOonWai4V++Qr2utLBUN3uaClEqrV+LfYLIf5+tlD77TdnqhLr07Cd cNDHgWCdse3BC+DxtP1+gUzvPWNFHsVNPqQxmvqeA2QtKPBlcVgH5BEy067VJ17MC3C75P5n4rkNR jVCr9tBdh4xWBgCurerau/G/kBFixKziM3hi7ag7xxgvOIApGIBu7RtIDOba+uWcwRYTDbHeNqm8E M7z0nrjpLdKTHga638WyUQ==; Original-Received: from [87.69.77.57] (port=2566 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLSUR-0003XP-Fl; Tue, 09 Aug 2022 12:53:59 -0400 In-Reply-To: <87zggdbp6y.fsf@dick> (dick.r.chiang@gmail.com) 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" Xref: news.gmane.io gmane.emacs.bugs:239170 Archived-At: > From: dick.r.chiang@gmail.com > Date: Tue, 09 Aug 2022 08:01:57 -0400 > > We regularly split the same buffer across two windows (C-x 2) and > position one window as a reference while manipulating the other. > > When temporarily switching out one window, say to check a definition, > our flow gets wrecked by C-x b's refusal to flip back to the original > buffer since it's already displayed in another window, albeit, and > very importantly, at a different point (which to belabor things, is > the whole reason we want the same buffer in two windows). But if you then insist on switching to that same buffer (which "C-x b" doesn't refuse, it just doesn't offer it as the default, but you can bring it up by M-p/M-n in the minibuffer at the prompt), then you will be shown that buffer at the point you last displayed in that window, which is what you want. So I'm not sure what you are trying to fix here, and your description stops short of telling that.