GNU bug report logs - #67993
Selecting buffer automatically

Previous Next

Package: emacs;

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

From: martin rudalics <rudalics <at> gmx.at>
To: Juri Linkov <juri <at> linkov.net>
Cc: 67993 <at> debbugs.gnu.org
Subject: bug#67993: Selecting buffer automatically
Date: Sat, 13 Jan 2024 11:39:10 +0100
> But actually the customization for "1" doesn't affect popping to "2"
> because pop-to-buffer still selects windows and creates such layout:
>
>    *scratch*
>    Buffer "1"
>    Buffer "2"
>
> Only post-command-hook selects the original window afterwards
> instead of leaving the buffer "2" selected.

And if the customization for "2" meant to select the window, the final
outcome will depend on whichever (de-)selection comes last in the
'post-command-hook'.  You should at least document that in the manual.
It looks pretty fragile to me.

martin




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

Previous Next


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