From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#69983: Use category for display-buffer-alist Date: Wed, 24 Apr 2024 19:46:39 +0300 Organization: LINKOV.NET Message-ID: <86r0euvhcg.fsf@mail.linkov.net> References: <86h6gv7e0z.fsf@mail.linkov.net> <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@gmx.at> <86wmpdu0fa.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13014"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: 69983@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 24 18:58:04 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 1rzfwZ-0003Cl-SK for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Apr 2024 18:58:03 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rzfwU-0007SC-Ag; Wed, 24 Apr 2024 12:57:58 -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 1rzfwS-0007S3-6M for bug-gnu-emacs@gnu.org; Wed, 24 Apr 2024 12:57:56 -0400 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 1rzfwR-00035E-8B for bug-gnu-emacs@gnu.org; Wed, 24 Apr 2024 12:57:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rzfwh-0000Gg-Mf for bug-gnu-emacs@gnu.org; Wed, 24 Apr 2024 12:58:11 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Apr 2024 16:58:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69983 X-GNU-PR-Package: emacs Original-Received: via spool by 69983-submit@debbugs.gnu.org id=B69983.1713977885884 (code B ref 69983); Wed, 24 Apr 2024 16:58:11 +0000 Original-Received: (at 69983) by debbugs.gnu.org; 24 Apr 2024 16:58:05 +0000 Original-Received: from localhost ([127.0.0.1]:59387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rzfwW-0000DL-7K for submit@debbugs.gnu.org; Wed, 24 Apr 2024 12:58:03 -0400 Original-Received: from relay9-d.mail.gandi.net ([2001:4b98:dc4:8::229]:34003) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rzfvD-0008L5-AY for 69983@debbugs.gnu.org; Wed, 24 Apr 2024 12:56:45 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 036F0FF804; Wed, 24 Apr 2024 16:56:13 +0000 (UTC) In-Reply-To: <86wmpdu0fa.fsf@mail.linkov.net> (Juri Linkov's message of "Thu, 04 Apr 2024 09:16:17 +0300") X-GND-Sasl: juri@linkov.net 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:283923 Archived-At: > +(make-obsolete-variable > + 'display-comint-buffer-action > + "use a `(category . comint)' condition in `display-buffer-alist'." > + "30.1") I noticed this now gives during byte-compilation: Warning: `display-comint-buffer-action' is an obsolete variable (as of 30.1) So probably the best thing to do would be to suppress warnings such as: diff --git a/lisp/cmuscheme.el b/lisp/cmuscheme.el index c84a1809322..d4316fb1175 100644 --- a/lisp/cmuscheme.el +++ b/lisp/cmuscheme.el @@ -238,7 +238,8 @@ run-scheme (inferior-scheme-mode))) (setq scheme-program-name cmd) (setq scheme-buffer "*scheme*") - (pop-to-buffer "*scheme*" display-comint-buffer-action)) + (with-suppressed-warnings ((obsolete display-comint-buffer-action)) + (pop-to-buffer "*scheme*" display-comint-buffer-action)))