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#64497: 30.0.50; `other-buffer' returns current buffer Date: Thu, 06 Jul 2023 20:40:31 +0300 Message-ID: <83o7kpgcq8.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24422"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64497@debbugs.gnu.org To: hugo@heagren.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 06 19:41:20 2023 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 1qHSym-00068q-GT for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Jul 2023 19:41:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qHSyY-0001I9-2A; Thu, 06 Jul 2023 13:41:06 -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 1qHSyV-0001Hd-7q for bug-gnu-emacs@gnu.org; Thu, 06 Jul 2023 13:41:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qHSyU-0005XW-Vt for bug-gnu-emacs@gnu.org; Thu, 06 Jul 2023 13:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qHSyU-000461-GR for bug-gnu-emacs@gnu.org; Thu, 06 Jul 2023 13:41:02 -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, 06 Jul 2023 17:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64497 X-GNU-PR-Package: emacs Original-Received: via spool by 64497-submit@debbugs.gnu.org id=B64497.168866524315710 (code B ref 64497); Thu, 06 Jul 2023 17:41:02 +0000 Original-Received: (at 64497) by debbugs.gnu.org; 6 Jul 2023 17:40:43 +0000 Original-Received: from localhost ([127.0.0.1]:41977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHSyA-00045J-Ns for submit@debbugs.gnu.org; Thu, 06 Jul 2023 13:40:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHSy5-00044y-S1 for 64497@debbugs.gnu.org; Thu, 06 Jul 2023 13:40:41 -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 1qHSy0-0005PF-14; Thu, 06 Jul 2023 13:40:32 -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=pXPGBK2GEAuj15Wpm4rXJNv3FvjvoGAYugce9ZhKcuA=; b=NA0HTXd6bFAw bGMDnIA7ORN27X3mL447QgdeRW1D/NJg7mFvqoq+H4dEdR1cd4GmQTAn4i2lg9OmKHQwgPV2oD25J fjKsxhJB9xY1dnMLnPzrMz7SfwmEoFCoD2isSZ5zuO0O9EuG3dUTMOMI6zSEzsqiIhO0EgdT0VI+b QjmDhfZEMdsxgFlOMYKAARR+bnI3/aNr7W0x4yPVxNhW5A5PzIGE6QIfik6s/82T22gEBI7zPSOt6 6IzukzKu046qq3tHT18lC1zrKIymvxHv5wn/zGlBwrhIdBefu7fx7l+RqHUfS/Oz8F9lYiW23ON51 14N36UtbOnBqqgIf+puGsA==; Original-Received: from [87.69.77.57] (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 1qHSxz-0006SG-Fn; Thu, 06 Jul 2023 13:40:31 -0400 In-Reply-To: (hugo@heagren.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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:264689 Archived-At: > Date: Thu, 06 Jul 2023 17:16:21 +0100 > From: hugo@heagren.com > > I've just built Emacs from master. My binding to > `mode-line-other-buffer' wasn't doing what it should, so I investigated. > On my machine, the form `(other-buffer)' returns the current buffer. > > I notice that a recent change to `other-buffer' relates to scratch > buffers (though my C isn't good enough to know what it really does). I > have tested this in a scratch buffer, and there too `(other-buffer)' > returns the current buffer (i.e. *scratch*). > > `(other-buffer (current-buffer))' behaves as it -- i.e. returns a buffer > other than the current buffer. I cannot reproduce this with the current master branch, FWIW.