GNU bug report logs -
#32790
27.0.50; point jumps unexpectedly after delete-window
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Thu, 20 Sep 2018 23:57:01 UTC
Severity: minor
Found in version 27.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
Message #119 received at 32790 <at> debbugs.gnu.org (full text, mbox):
> I imagine it could be a structure like returned by 'window-state-get'
> but instead of a buffer name specify a regexp or a list of possible
> buffer names that are allowed to be displayed in the given window.
> Then display-buffer could search a buffer in such template and
> reconstruct the window state where the buffer will be displayed in
> the place specified in the template.
I see what you mean. But it will take us some time till we get there.
Alone specifying such a thing would be a quite challenging endeavour.
> Please note that in the code posted 3 days ago I used the hook that you
> proposed recently window-state-change-functions, so this code is not yet
> functional :)
Ahh.. That hook has not been written yet and I'm not sure whether I'll
be able to ever do that. In either case: The window state will not
change when a window gets just reused by 'display-buffer' and no
selection takes place. So can't you simply use 'post-command-hook'
for your purpose?
martin
This bug report was last modified 5 years and 234 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.