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#74361: [PATCH] New option xref-navigation-display-window-action Date: Fri, 22 Nov 2024 09:29:00 +0200 Organization: LINKOV.NET Message-ID: <87iksfpwlr.fsf@mail.linkov.net> References: <86ldxkitjn.fsf@gnu.org> <5a2abf5e-011b-43d0-b34a-e06e354badc5@gutov.dev> <8634jrin5v.fsf@gnu.org> <86ikskvie0.fsf@gnu.org> <97e7ec85-7e5c-4aa4-a85f-b5f40adc8de6@gutov.dev> <8634jov5ir.fsf@gnu.org> <86serntf0h.fsf@gnu.org> <86h680rhxr.fsf@gnu.org> <87h680fotv.fsf@mail.linkov.net> <864j40pfbw.fsf@gnu.org> <87bjy8e5qc.fsf@mail.linkov.net> <86y11cnyws.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18567"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) Cc: dmitry@gutov.dev, 74361@debbugs.gnu.org, rudalics@gmx.at To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 22 08:50:31 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 1tEOQw-0004hs-Mv for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Nov 2024 08:50:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEOQX-0006q5-Il; Fri, 22 Nov 2024 02:50:05 -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 1tEOQV-0006pv-HR for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2024 02:50:03 -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 1tEOQV-0003Zk-7s for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2024 02:50:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=a8n/Jhsrz98WoQ+aoRjHAsZSnUDzp22bKmRmhrUTpkQ=; b=E+f0wAHzsvTyuyfr7ZCycz/PKXB3WHajJeSeCK/kSpvci165cxkvk6YhiVCcGffkb+/yWQgRNQfNX/0mepPHNWzAbZnZuQ3V5N2QTbZCfatQq7JH3tj+VXLZjdQLTjURVK8uoAjv+T1pRTOMMX5Hh4lyzs/occ/Oq6uxSAgNSac8aVyx6qIVyZBGP3WDKEZJ5/pjfx8my1IbFgvLNaStYWJS0WJnKkC44ws7kSdphNJaqlwJuRIe7cEkEvmH7kv/qw80Hnb9S9ivt4oIVrE1VNdxIVLhiusnBZzYb6sYZ6PQ3ALVuHUGjDIfX0mFHRr3Bf07l3GaKouPcMFRmsSrkQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tEOQV-0003QW-2B for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2024 02:50:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Nov 2024 07:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74361 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 74361-submit@debbugs.gnu.org id=B74361.173226180013152 (code B ref 74361); Fri, 22 Nov 2024 07:50:02 +0000 Original-Received: (at 74361) by debbugs.gnu.org; 22 Nov 2024 07:50:00 +0000 Original-Received: from localhost ([127.0.0.1]:52893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEOQR-0003Q3-Sb for submit@debbugs.gnu.org; Fri, 22 Nov 2024 02:50:00 -0500 Original-Received: from relay3-d.mail.gandi.net ([217.70.183.195]:53141) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEOQP-0003Pg-8l for 74361@debbugs.gnu.org; Fri, 22 Nov 2024 02:49:57 -0500 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id E8FAC60002; Fri, 22 Nov 2024 07:49:47 +0000 (UTC) In-Reply-To: <86y11cnyws.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 21 Nov 2024 21:56:51 +0200") 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:295776 Archived-At: >> cmuscheme.el: >> (define-derived-mode inferior-scheme-mode comint-mode "Inferior Scheme" >> ... >> (pop-to-buffer "*scheme*" display-comint-buffer-action) >> >> inf-lisp.el: >> (define-derived-mode inferior-lisp-mode comint-mode "Inferior Lisp" >> ... >> (pop-to-buffer "*inferior-lisp*" display-comint-buffer-action) >> >> shell.el: >> (define-derived-mode shell-mode comint-mode "Shell" >> ... >> (pop-to-buffer buffer display-comint-buffer-action) > > Those are not the categories, those are the deprecated user options > for which the categories are supposed to be a replacement we > recommend: > > (make-obsolete-variable > 'display-comint-buffer-action > "use a `(category . comint)' condition in `display-buffer-alist'." > "30.1") The categories are a replacement only for customization. But all display-buffer calls should still contain `(category . comint)' that currently presented in these variables. IOW, the variables currently are used in two ways: 1. as the default values for display-buffer calls 2. as user options But now customization is supposed to be only with the help of `(category . comint)' in `display-buffer-alist'. So these variable will be used only in display-buffer calls. > So if some user wants to take our advice and modernize his/her > customizations to use '(category . comint)' instead of > display-comint-buffer-action, the customization will stop working for > him/her when we remove those obsolete options in some future Emacs > version. Right? Or what am I missing? These are two possible solutions: 1. Demote these options to variables not intended for customization. 2. Move their current default values to display-buffer calls.