From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#21304: 24.5; follow-switch-to-buffer changes positions Date: Mon, 30 Sep 2019 00:29:28 +0200 Message-ID: References: <87egix96hu.fsf@blackbird.zamazal.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="258528"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Milan Zamazal , 21304-done@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 30 00:30:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iEhhl-00155K-Dk for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Sep 2019 00:30:13 +0200 Original-Received: from localhost ([::1]:42480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEhhj-0008BE-MN for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Sep 2019 18:30:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35428) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEhhc-00088p-8q for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2019 18:30:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iEhha-0002Tu-R5 for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2019 18:30:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47214) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iEhha-0002Sp-F4 for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2019 18:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iEhha-0000l8-70 for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2019 18:30:02 -0400 In-Reply-To: <87egix96hu.fsf@blackbird.zamazal.org> Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Sep 2019 22:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 21304 X-GNU-PR-Package: emacs Mail-Followup-To: 21304@debbugs.gnu.org, stefan@marxist.se, pdm@zamazal.org Original-Received: via spool by 21304-done@debbugs.gnu.org id=D21304.15697961872856 (code D ref 21304); Sun, 29 Sep 2019 22:30:01 +0000 Original-Received: (at 21304-done) by debbugs.gnu.org; 29 Sep 2019 22:29:47 +0000 Original-Received: from localhost ([127.0.0.1]:56033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEhhK-0000k0-LI for submit@debbugs.gnu.org; Sun, 29 Sep 2019 18:29:46 -0400 Original-Received: from mail-pl1-f174.google.com ([209.85.214.174]:44097) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEhhI-0000jh-V7 for 21304-done@debbugs.gnu.org; Sun, 29 Sep 2019 18:29:45 -0400 Original-Received: by mail-pl1-f174.google.com with SMTP id q15so3104761pll.11 for <21304-done@debbugs.gnu.org>; Sun, 29 Sep 2019 15:29:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=UbASVMlIcwDQWnLxC/+qmtAtlULV7U924z2YRDJ0x5k=; b=PQRUuxQjPdIaSfJXnSN29tjYRSsS18uLPPekzi0+NkgvqqoyQCjk/B2kk+ugbAM0aC MMNofxSStORoiswyEYhmQZSluY4Ywd+Xjq1NdWxDzwpbO/1U4791obWQjEWmVMCaQr4X wF9T7a0GbaqtgygZRzSO+QeUo/9aAk/KCjPSXdO9kpobwFfZlvM4lMGZas5Eib3ClMSg 5sbnjSBH/Sosb8ba5QnsQfInm60rHsxYBuguyD14PpqQ1GuXCF3mZZ/jPhtlF+J9GOHf 8IDQgHp3Z9BW3F2KB3IHSGCA3QLMP/bkkgmaZ7OcvXdY5MW0et/2dGrDyRsq+vWPjDm8 72sQ== X-Gm-Message-State: APjAAAVDAgmUNkOY5eJHgK90x83arQ4LjnvFu/mFXhinHLyhabvl9EsB NeQBMmI0o54+hkYq44h0puCK9+l8pqplN7ymvhg= X-Google-Smtp-Source: APXvYqwNvSplDBuc4H5W5BsTPsddNpz+OuHV0dB/ZvH56Tz9QkQ9LIRpeVl4YTpmwSjY1wWHlkZZrEGrFBEXjjMY30Y= X-Received: by 2002:a17:902:326:: with SMTP id 35mr17484827pld.128.1569796179103; Sun, 29 Sep 2019 15:29:39 -0700 (PDT) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:167761 Archived-At: martin rudalics writes: >> `follow-switch-to-buffer' doesn't retain cursor position nor buffer >> position within the windows. >> >> How to reproduce the bug: >> >> - Start Emacs. >> - Type `C-h n' (NEWS gets displayed) >> - Type `C-h C-c' (COPYING gets displayed) >> - Type `C-x 3' (the window gets split) >> - Type `M-x follow-mode RET' (follow mode gets enabled) >> - Type `C-v' (the buffer gets scrolled -- note the cursor position) >> - Type `M-x follow-switch-to-buffer RET RET' (NEWS gets displayed) >> - Type `M-x follow-switch-to-buffer RET RET' (COPYING gets displayed again) >> >> I'd expect the window contents and cursor position would be the same as >> after typing `C-v'; there is no reason why they should be changed just >> after switching to another buffer and back. But they are changed. > > I see the behavior you describe with Emacs 25 but do not see it with the > upcoming release version. Can you try with Emacs 26? More information was requested, but none was given within 2 years. The last person to write in the thread cannot reproduce this bug. I'm therefore going to assume that this has been fixed, and close this bug report. If this is still an issue in Emacs 26 or later, please reopen the bug. Best regards, Stefan Kangas