GNU bug report logs -
#67993
Selecting buffer automatically
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Sat, 23 Dec 2023 17:56:01 UTC
Severity: wishlist
Tags: patch
Fixed in version 30.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> + `post-command-select-window' -- A non-nil value means that after the
> + current command is executed and the hook `post-command-hook' is called,
> + the window displayed by this function will be selected. A nil value
> + means that if functions like `pop-to-buffer' selected another window,
> + at the end of this command that window will be deselected, and the
> + window that was selected before calling this function will remain
> + selected.
>
> I'd say "will be usually selected" and "will be usually deselected".
> For example, (post-command-select-window . nil) will effectively select
> the window that was selected before 'display-buffer' was called,
The docstring above says the same:
"the window that was selected before calling this function
will remain selected"
> regardless of which other window were selected after the
> 'display-buffer'.
These clarifications could be added to the docstring as well:
"the window that was selected before calling this function
will remain selected regardless of which other windows
were selected later with other calls of 'display-buffer'."
This bug report was last modified 1 year and 124 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.