GNU bug report logs - #46034
Feature request: add variable for automatically selecting the apropos window

Previous Next

Package: emacs;

Reported by: SB <progscriptclone <at> gmail.com>

Date: Fri, 22 Jan 2021 13:31:02 UTC

Severity: wishlist

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 46034 in the body.
You can then email your comments to 46034 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#46034; Package emacs. (Fri, 22 Jan 2021 13:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to SB <progscriptclone <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 22 Jan 2021 13:31:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: SB <progscriptclone <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Feature request: add variable for automatically selecting the apropos
 window
Date: Fri, 22 Jan 2021 21:02:05 +0800
Feature request for "apropos.el": add a variable for automatically
selecting the apropos window when it is shown.

Please add an "apropos-window-select" variable that is analogous to
help.el's "help-window-select".




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#46034; Package emacs. (Sat, 23 Jan 2021 17:35:03 GMT) Full text and rfc822 format available.

Message #8 received at 46034 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: SB <progscriptclone <at> gmail.com>
Cc: 46034 <at> debbugs.gnu.org
Subject: Re: bug#46034: Feature request: add variable for automatically
 selecting the apropos window
Date: Sat, 23 Jan 2021 19:29:08 +0200
> Feature request for "apropos.el": add a variable for automatically
> selecting the apropos window when it is shown.
>
> Please add an "apropos-window-select" variable that is analogous to
> help.el's "help-window-select".

I don't know why there is this too specific option 'help-window-select'.
It seems there are many other windows that needs to be customized
to select them.  Wouldn't it be more general solution to use
display-buffer-alist, maybe with something like:

(add-to-list 'display-buffer-alist '("\\*Help\\*" nil (post-display . select-window)))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#46034; Package emacs. (Mon, 25 Jan 2021 19:05:01 GMT) Full text and rfc822 format available.

Message #11 received at 46034 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Juri Linkov <juri <at> linkov.net>, SB <progscriptclone <at> gmail.com>
Cc: 46034 <at> debbugs.gnu.org
Subject: Re: bug#46034: Feature request: add variable for automatically
 selecting the apropos window
Date: Mon, 25 Jan 2021 20:04:23 +0100
> I don't know why there is this too specific option 'help-window-select'.

It was added a couple of years before 'display-buffer-alist' was invented.

> It seems there are many other windows that needs to be customized
> to select them.  Wouldn't it be more general solution to use
> display-buffer-alist, maybe with something like:
>
> (add-to-list 'display-buffer-alist '("\\*Help\\*" nil (post-display . select-window)))

I'd prefer

(add-to-list 'display-buffer-alist '("\\*Help\\*" nil (select-window . t)))

but might change my mind as soon as you tell us what other values for
post-display you have in mind.

martin




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#46034; Package emacs. (Mon, 25 Jan 2021 20:15:01 GMT) Full text and rfc822 format available.

Message #14 received at 46034 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 46034 <at> debbugs.gnu.org, SB <progscriptclone <at> gmail.com>
Subject: Re: bug#46034: Feature request: add variable for automatically
 selecting the apropos window
Date: Mon, 25 Jan 2021 22:14:12 +0200
>> It seems there are many other windows that needs to be customized
>> to select them.  Wouldn't it be more general solution to use
>> display-buffer-alist, maybe with something like:
>>
>> (add-to-list 'display-buffer-alist '("\\*Help\\*" nil (post-display . select-window)))
>
> I'd prefer
>
> (add-to-list 'display-buffer-alist '("\\*Help\\*" nil (select-window . t)))
>
> but might change my mind as soon as you tell us what other values for
> post-display you have in mind.

Maybe 'shrink-window-if-larger-than-buffer' like in bug#45688
or maybe better to use an option like 'after-display-buffer-function',
I'm not sure.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#46034; Package emacs. (Sat, 30 Apr 2022 19:36:02 GMT) Full text and rfc822 format available.

Message #17 received at 46034 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: SB <progscriptclone <at> gmail.com>
Cc: 46034 <at> debbugs.gnu.org
Subject: Re: bug#46034: Feature request: add variable for automatically
 selecting the apropos window
Date: Sat, 30 Apr 2022 21:34:52 +0200
SB <progscriptclone <at> gmail.com> writes:

> Feature request for "apropos.el": add a variable for automatically
> selecting the apropos window when it is shown.
>
> Please add an "apropos-window-select" variable that is analogous to
> help.el's "help-window-select".

I think it would make sense to make the apropos just respect
`help-window-select', so I've done that in Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 29.1, send any further explanations to 46034 <at> debbugs.gnu.org and SB <progscriptclone <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 30 Apr 2022 19:36:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 29 May 2022 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 332 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.