From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#68081: 30.0.50; derived-mode and display-buffer-alist Date: Mon, 1 Jan 2024 10:38:09 +0100 Message-ID: <8db30606-c98c-4078-a448-6ad31bd59768@gmx.at> References: <83r0j6774p.fsf@gnu.org> <342c493e-b0ba-40a8-8023-58a9bb04abd6@gmx.at> <83v88h5j7z.fsf@gnu.org> <9fc1e566-d99e-479a-bb38-fce6a964dfc0@gmx.at> <83edf43soc.fsf@gnu.org> <9cfb6641-9fda-4623-8623-a17341369c18@gmx.at> Reply-To: martin rudalics Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30921"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 68081@debbugs.gnu.org, Eli Zaretskii To: German Pacenza Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 01 10:39:23 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 1rKElX-0007oO-39 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Jan 2024 10:39:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKElD-0000sh-4U; Mon, 01 Jan 2024 04:39:03 -0500 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 1rKElA-0000sC-TR for bug-gnu-emacs@gnu.org; Mon, 01 Jan 2024 04:39:00 -0500 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 1rKElA-0004i5-LV for bug-gnu-emacs@gnu.org; Mon, 01 Jan 2024 04:39:00 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rKElB-0006n4-R3 for bug-gnu-emacs@gnu.org; Mon, 01 Jan 2024 04:39:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Jan 2024 09:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68081 X-GNU-PR-Package: emacs Original-Received: via spool by 68081-submit@debbugs.gnu.org id=B68081.170410190826054 (code B ref 68081); Mon, 01 Jan 2024 09:39:01 +0000 Original-Received: (at 68081) by debbugs.gnu.org; 1 Jan 2024 09:38:28 +0000 Original-Received: from localhost ([127.0.0.1]:47332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKEkd-0006mA-Id for submit@debbugs.gnu.org; Mon, 01 Jan 2024 04:38:27 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:36405) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKEkW-0006ls-SZ for 68081@debbugs.gnu.org; Mon, 01 Jan 2024 04:38:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.at; s=s31663417; t=1704101891; x=1704706691; i=rudalics@gmx.at; bh=KgDM9j4xfyMUnKnzF2fIqR1KEPqJorXRL8Blhzv/oNA=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From: In-Reply-To; b=DbIzl091OcZWVYgHcYhqEr2gYeK5WaGHBwXGmUgKZ3c4bWDQIn3CfhJFNTmq2khF yXLTjDFx17BMZj4V3AAbWkgb7kgOBZlo3olD3L3QNXV6MxKXxhie1H9alyiTldwdj 6ONGfKDv1haMHr9U9jquaq1hXTzHw8Ptx4MFsC0j/QRUdmi/aq74MGuSYxxvI05hS ULNUTKP34x/juc+t4YvAGBeZrPYeEUpRHh3nnL8Vdk5fGsWX4x2UZhrsDyx3l6U3H zJMtyXNgR6jFPCrGrF2OnwjZGi1d6qiOGUjRrqbyKZADwqK0KKLCDt3a32bfS3J1B ZvnNv+PPVvvbm18m2w== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.31.113] ([46.125.249.36]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MKsj7-1rfTax3qN3-00LJ1g; Mon, 01 Jan 2024 10:38:11 +0100 Content-Language: en-US In-Reply-To: X-Provags-ID: V03:K1:WFTftQ2IofwiElmcSbdD3DVc2oCD+cbyoHUXlN8YcbHcC3JY2/6 Y9Zyrx+k+nuDlxvJCmutVhtLgqlr5WM1qc+JrB17YE6RrIfuthi2GFgHerr1smfGaJx8sZe SuG4cWDVY0rYB+sLRMpjLtpdUIlz9LkBJtgldhljOKn5x/2uJPoFx18NWXY3HsjbQ9+2lzY Fb7ZfhqMbJZWJEdUeMTFw== UI-OutboundReport: notjunk:1;M01:P0:YYlkIyrJuuQ=;BNQNV+E/BWx0oTlWvHcz6TIlcJV 4xgGJXg6DXYdRZk1PifFal7m/GVuj2S2M8tMFPBULFCyJVyHbd8BJhlTfKIUCWbZ+6J92r6wZ GSy1qMbiS39rWzawpj8glieyqtFbG2QqcutmjcK9r/UfdyuVEv4NGYCeRZLPxkkbdhni1KGVF GGatN6qAEbyxTWtDctnC/umgoHSChV8qTvPQ5jVbM1YMMzv9BNJ4Xs2tlHIqdHn07wNBXFE9+ 4K1OZDUBJv+nilXM8A9KkXUUtCVCyXzLqJtewvtyA/GMa5VmmTYLz25fpkKgphZMyA9Jr5FPi sM/LaJIJ8UfcdH5w/FpOCn1Nnr5+CdtGbjHEnezu+dmehSpQhIGDXUM4fwvVtbYU/G9NWibhk EK1Raq6yCzwnnAmApZYEyhVuqNG55HREO00+FLX6n8BpvFVdPTI/3Y/jrQAVRKPhD88Kh/QH2 3s2ThbUiArR6U4vAshwWpMIUPMfCcfPYm2w2uhvCDl0lIvQ+tZK8idJVTNQmFWbpEl2DwDE5R qiyUq2BFy+kqjOOrRKAbM6+2FkkXTQ7nZyZy4yRB3Yg2/NqpH6w3AZaCj3BuIKVgGK8QM5JV5 KKOTkUoJJ/nttcdzDkwoCw17ZrACS+7M3I086BvxJIvrPUUhv9+ageYVFwEK1V5aimGHnSBj4 6bN9GOtVuDPfekZ/mIJK4qy6WWDRwSkKihbLnpkZuQPwdJPNQltPwicilCaXk/+IshbnAdFhQ TPps4pgpmSCCYPyePv0g7JA873tbknjCsK0CiylHQCBbKTMqn49BzUC72+0SsTqMBPWRlbrv 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:277171 Archived-At: > I agree, Info mode is only one of the affected modes, compilation-mode > also shows this behaviour and others might as well. And these cannot be reasonably fixed all by moving the -mode calls in front of the 'display-buffer' call in a consistent manner. The original problem is with 'window-normalize-buffer-to-switch-to'. It should never be called in non-interactive use, so 'info' would have been forced to provide a buffer as argument and not just a name. I'm afraid that this inconsistency makes 'buffer-match-p' pretty useless for 'pop-to-buffer' and its like. A strong warning seems appropriate. martin