GNU bug report logs - #68679
30.0.50; Burying a buffer shows an already displayed buffer

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: sds@HIDDEN; dated Wed, 24 Jan 2024 00:13:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 68679 <at> debbugs.gnu.org:


Received: (at 68679) by debbugs.gnu.org; 24 Jan 2024 12:28:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 24 07:28:44 2024
Received: from localhost ([127.0.0.1]:44679 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rScN1-0000DU-TB
	for submit <at> debbugs.gnu.org; Wed, 24 Jan 2024 07:28:44 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:58410)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1rScMz-0000DI-Ns
 for 68679 <at> debbugs.gnu.org; Wed, 24 Jan 2024 07:28:42 -0500
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 <eliz@HIDDEN>)
 id 1rScMo-0004ZX-C8; Wed, 24 Jan 2024 07:28:30 -0500
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=UO4YyYGs2hDxIiVv+hvfhFIeCD35gL8todW8LnragpQ=; b=DDS37TPtdmxp
 0L/7vavVVCk2KijYpvwAaZGi2wZgyrVm4EiCdZ6tyNIwNQrfkM4KqgzEennDkLGzNFYcEzLochBOS
 P4BTVxIr7+V3+zZEupIcydeKBXWvIpAqFhXAAUuO0hucwcBqqM8bT6J9SJJbmthLVYt0nkWqP517q
 2BBcZleK6I8EzZdeZacW00Wkcy6e7rQw2O2OLIiyQyitU6xtb3Regb7cLjHPQb6vG8ZtH5Gtmk1D8
 O6+mXXnjaikWkkt+Ek8PV4akt3uXJIqoFr3JVKsiwcG/8FlZkBoeSEzu/qHbRJpiYoNEXSXvYg3V0
 nZ1MW1JlAp+RMInq5jGaxA==;
Date: Wed, 24 Jan 2024 14:28:26 +0200
Message-Id: <864jf26hlh.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: sds@HIDDEN, martin rudalics <rudalics@HIDDEN>
In-Reply-To: <878r4fmvxy.fsf@HIDDEN> (message from Sam Steingold on Tue, 23
 Jan 2024 19:11:53 -0500)
Subject: Re: bug#68679: 30.0.50;
 Burying a buffer shows an already displayed buffer
References: <878r4fmvxy.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 68679
Cc: 68679 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Sam Steingold <sds@HIDDEN>
> Date: Tue, 23 Jan 2024 19:11:53 -0500
> 
> ISTR that quit-window and bury-buffer made sure that the
> replacement/newly displayed buffer is not shown in any other window (at
> least that was my intention when I wrote quit-window many years ago).
> 
> Right now I see that C-x b (switch-to-buffer) offers a good candidate
> (IOW, other-buffer returns a buffer that is not currently shown), but
> both quit-window and bury-buffer replace the current buffer with one
> that is already displayed in another window in the current frame.
> 
> Is there a way to restore the original behavior of never displaying an
> already visible buffer?
> 
> Is this a (known) bug?

Where did you see such promises from these two commands?

Adding Martin, in case he has some comments and pointers.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#68679; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Jan 2024 00:12:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 23 19:12:14 2024
Received: from localhost ([127.0.0.1]:44162 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rSQsH-0007xn-Le
	for submit <at> debbugs.gnu.org; Tue, 23 Jan 2024 19:12:14 -0500
Received: from lists.gnu.org ([2001:470:142::17]:38406)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sam.steingold@HIDDEN>) id 1rSQsF-0007xX-Vt
 for submit <at> debbugs.gnu.org; Tue, 23 Jan 2024 19:12:12 -0500
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 <sam.steingold@HIDDEN>)
 id 1rSQs4-0000GK-KT
 for bug-gnu-emacs@HIDDEN; Tue, 23 Jan 2024 19:12:00 -0500
Received: from mail-qk1-x72b.google.com ([2607:f8b0:4864:20::72b])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <sam.steingold@HIDDEN>)
 id 1rSQs1-0008Jn-NL; Tue, 23 Jan 2024 19:12:00 -0500
Received: by mail-qk1-x72b.google.com with SMTP id
 af79cd13be357-7839ece697bso197455385a.0; 
 Tue, 23 Jan 2024 16:11:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1706055115; x=1706659915; darn=gnu.org;
 h=mime-version:message-id:date:reply-to:return-receipt-to:subject:to
 :from:sender:from:to:cc:subject:date:message-id:reply-to;
 bh=WOR0DK/krpdKkFtJqqMkjAiazqhTa83GYQ0sfnc77oA=;
 b=HLlbs6rSna7b4TRUdPY2EKKlg9dl/uWgkqqWjJou6PnG47rA6Z4blApxHthNbVRJBD
 pw3IpyT77zsDJbNkj9Xi6WBqwvRqtbMPnlqoniSl2x8tE8/RBxvVp/1rFwjx2ThBAgl4
 DZal/VJN1k2KOzWBwjfS7acSK4wKhiH7AZhZO70kivhQgkQ9YWt7LkaBHHVV6WjXngFK
 qaJdW7OqeAV8+nXhWhPU7a7CR/gzXCd5ZUjKXX2afzgj8+b2JiJiNmibQfwyO/6pp9+h
 P6PAnPUwwDG9PAO4lx+nTTlTxKaQQ+eO+GQ5vX2wu4/UxJulKgtjWlUsvHv0lgkDRHO7
 mDqA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1706055115; x=1706659915;
 h=mime-version:message-id:date:reply-to:return-receipt-to:subject:to
 :from:sender:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=WOR0DK/krpdKkFtJqqMkjAiazqhTa83GYQ0sfnc77oA=;
 b=YfrY6jUUOYDjNT0eVvSXqemlixAivuv7bBPLgZPJ4psMwvcuaVUxD6rhcj8LeV7368
 afrtsKXxiWp8+rrQTkbjSRr3fPPaNF1lCvnnsv+cAigwArhmI6D2oeGDqQMKBgzmArgi
 TjWFej1CQDHI6hp0X6bz++/H2dHsrypdeGxFB7e8CxIkIg57FM0erO9ASFOWrKV9VxIB
 qB8NBD5GdeUMqYMttUiWY7rCr+P9Sc6cOdvx8lDsH9UeFLAW9NAS86C3nFQLBQ+fykMr
 IVNHiePpGQEKhmjO7vkKqrK0IHPTIxHQ/lqY19/uMXPYGeOqHzndELhGfSyAN7s4a5uf
 Vgsw==
X-Gm-Message-State: AOJu0YzdlPwTSaRJ6ZhJyyTv2lZbQw1qIxFn7DN5WIoZBkIZVyNqVftp
 AjACtWQUaPu5Zpkz7sBNrQgFn64E21Q/eYJDAvaUruHO7/wu2TPKBnnJkWU=
X-Google-Smtp-Source: AGHT+IGljEVe/bbPdszSi1JexrrDwEYWqaSOZKX/2hX/l7ZX2MDJpBgiRCOilCq2Cy2sewk6AObaQA==
X-Received: by 2002:a05:620a:a0f:b0:783:3496:967a with SMTP id
 i15-20020a05620a0a0f00b007833496967amr576369qka.43.1706055115066; 
 Tue, 23 Jan 2024 16:11:55 -0800 (PST)
Received: from pop-os (pool-108-6-133-45.nycmny.fios.verizon.net.
 [108.6.133.45]) by smtp.gmail.com with ESMTPSA id
 p5-20020a05620a112500b0078397532e70sm3053227qkk.7.2024.01.23.16.11.53
 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256);
 Tue, 23 Jan 2024 16:11:54 -0800 (PST)
From: Sam Steingold <sds@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 30.0.50; Burying a buffer shows an already displayed buffer
X-Attribution: Sam
X-Disclaimer: You should not expect anyone to agree with me.
X-Debbugs-Cc: 
Date: Tue, 23 Jan 2024 19:11:53 -0500
Message-ID: <878r4fmvxy.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::72b;
 envelope-from=sam.steingold@HIDDEN; helo=mail-qk1-x72b.google.com
X-Spam_score_int: -14
X-Spam_score: -1.5
X-Spam_bar: -
X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249,
 FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.5 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: ISTR that quit-window and bury-buffer made sure that the
 replacement/newly
 displayed buffer is not shown in any other window (at least that was my
 intention
 when I wrote quit-window many years ago). Right now I see that C-x b
 (switch-to-buffer) offers a good candidate (IOW,
 other-buffer returns a buffer that is not currently
 shown), but both quit-window and bury-buffer replace the current buffer [...]
 Content analysis details:   (1.5 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
 mail domains are different
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (sam.steingold[at]gmail.com)
 -0.0 T_SCC_BODY_TEXT_LINE   No description available.
 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and
 EnvelopeFrom freemail headers are different
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: sds@HIDDEN
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.5 (/)

ISTR that quit-window and bury-buffer made sure that the
replacement/newly displayed buffer is not shown in any other window (at
least that was my intention when I wrote quit-window many years ago).

Right now I see that C-x b (switch-to-buffer) offers a good candidate
(IOW, other-buffer returns a buffer that is not currently shown), but
both quit-window and bury-buffer replace the current buffer with one
that is already displayed in another window in the current frame.

Is there a way to restore the original behavior of never displaying an
already visible buffer?

Is this a (known) bug?

Thank you!

(https://emacs.stackexchange.com/q/80138/795)



In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.33, cairo version 1.16.0) of 2024-01-12 built on pop-os
Repository revision: 8b7a6d7b6deca9346092501dbfa679e3e5ea5892
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101004
System Description: Pop!_OS 22.04 LTS

Configured using:
 'configure --with-mailutils --with-native-compilation
 --with-imagemagick --with-native-image-api'

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ IMAGEMAGICK
JPEG JSON LCMS2 LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY
PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS
TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB

Important settings:
  value of $LC_COLLATE: C
  value of $LANG: C
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Shell

Minor modes in effect:
  shell-dirtrack-mode: t
  pyvenv-mode: t
  comint-fontify-input-mode: t
  global-atomic-chrome-edit-mode: t
  global-edit-server-edit-mode: t
  server-mode: t
  winner-mode: t
  which-function-mode: t
  url-handler-mode: t
  desktop-save-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-regexp-mode: t
  column-number-mode: t
  line-number-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Memory information:
((conses 16 1179154 1747372) (symbols 48 45559 106) (strings 32 346009 122184)
 (string-bytes 1 11220588) (vectors 16 123283) (vector-slots 8 2866890 496408)
 (floats 8 1195 18070) (intervals 56 24806 20570) (buffers 984 73))

-- 
Sam Steingold (https://aphar.dreamwidth.org/) on Pop 22.04 (jammy) X 11.0.12101004
https://lastingimpactpsychology.com https://steingoldpsychology.com
https://www.memritv.org https://www.dhimmitude.org https://ffii.org
A year spent in artificial intelligence is enough to make one believe in God.




Acknowledgement sent to sds@HIDDEN:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#68679; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 24 Jan 2024 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.