GNU bug report logs -
#74361
[PATCH] New option xref-navigation-display-window-action
Previous Next
Full log
Message #137 received at 74361 <at> debbugs.gnu.org (full text, mbox):
> From: Juri Linkov <juri <at> linkov.net>
> Cc: dmitry <at> gutov.dev, rudalics <at> gmx.at, 74361 <at> debbugs.gnu.org
> Date: Sat, 23 Nov 2024 21:14:13 +0200
>
> >> >> 1. Demote these options to variables not intended for customization.
> >> >> 2. Move their current default values to display-buffer calls.
> >> >
> >> > I expected to see us do #2 at the same time we deprecated the user
> >> > options. I don't understand why we didn't do that. The deprecation
> >> > message clearly tells users not to use these variables, so it's
> >> > reasonable to expect them to be deleted. Moreover, their presence in
> >> > our sources is a potential cause for byte-compilation warnings.
> >>
> >> Immediate #2 will break customization for many users.
> >> We have to give enough time between two releases
> >> to allow the users to see a warning and adapt their
> >> config files to upcoming deletion of these options.
> >
> > But isn't it true that if users adapt their config files, the
> > customization will stop working for them because category is not used
> > by comint?
>
> Adapting config files means replacing such settings
>
> (setopt display-comint-buffer-action
> '((display-buffer-same-window)
> (inhibit-same-window . nil)))
>
> with
>
> (add-to-list 'display-buffer-alist
> '((category . comint)
> (display-buffer-same-window)
> (inhibit-same-window . nil)))
>
> This already works since all corresponding display-buffer calls
> already provide the 'comint' category.
They do? I thought they use display-comint-buffer-action instead?
I just searched the entire Lisp tree, and didn't find even a single
match for "(category . comint)" except in the default value of
display-comint-buffer-action. So if that user option's value is
changed, the replacement above will stop working, no?
But I already said that, and it doesn't seem to worry you. So what am
I missing here?
This bug report was last modified 171 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.