[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#74361: [PATCH] New option xref-navigation-display-window-action
From: |
Juri Linkov |
Subject: |
bug#74361: [PATCH] New option xref-navigation-display-window-action |
Date: |
Fri, 22 Nov 2024 09:29:00 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) |
>> 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.
- bug#74361: [PATCH] New option xref-navigation-display-window-action, (continued)
- bug#74361: [PATCH] New option xref-navigation-display-window-action, Eli Zaretskii, 2024/11/18
- bug#74361: [PATCH] New option xref-navigation-display-window-action, Dmitry Gutov, 2024/11/18
- bug#74361: [PATCH] New option xref-navigation-display-window-action, Eli Zaretskii, 2024/11/19
- bug#74361: [PATCH] New option xref-navigation-display-window-action, Dmitry Gutov, 2024/11/19
- bug#74361: [PATCH] New option xref-navigation-display-window-action, Eli Zaretskii, 2024/11/20
- bug#74361: [PATCH] New option xref-navigation-display-window-action, Eli Zaretskii, 2024/11/21
- bug#74361: [PATCH] New option xref-navigation-display-window-action, Juri Linkov, 2024/11/21
- bug#74361: [PATCH] New option xref-navigation-display-window-action, Eli Zaretskii, 2024/11/21
- bug#74361: [PATCH] New option xref-navigation-display-window-action, Juri Linkov, 2024/11/21
- bug#74361: [PATCH] New option xref-navigation-display-window-action, Eli Zaretskii, 2024/11/21
- bug#74361: [PATCH] New option xref-navigation-display-window-action,
Juri Linkov <=
- bug#74361: [PATCH] New option xref-navigation-display-window-action, Eli Zaretskii, 2024/11/22
- bug#74361: [PATCH] New option xref-navigation-display-window-action, Juri Linkov, 2024/11/23
- bug#74361: [PATCH] New option xref-navigation-display-window-action, Eli Zaretskii, 2024/11/23
- bug#74361: [PATCH] New option xref-navigation-display-window-action, Juri Linkov, 2024/11/23
- bug#74361: [PATCH] New option xref-navigation-display-window-action, Eli Zaretskii, 2024/11/23
- bug#74361: [PATCH] New option xref-navigation-display-window-action, Juri Linkov, 2024/11/24
- bug#74361: [PATCH] New option xref-navigation-display-window-action, Eli Zaretskii, 2024/11/24
- bug#74361: [PATCH] New option xref-navigation-display-window-action, Juri Linkov, 2024/11/25
- bug#74361: [PATCH] New option xref-navigation-display-window-action, Juri Linkov, 2024/11/19