GNU bug report logs - #35860
Delayed window positioning after buffer display

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Wed, 22 May 2019 21:07:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Juri Linkov <juri <at> linkov.net>
Cc: 35860 <at> debbugs.gnu.org
Subject: bug#35860: Delayed window positioning after buffer display
Date: Wed, 19 Jun 2019 11:14:24 +0200
> Adding such hooks would allow to get rid of macros easily.
> For example, instead of using two variables 'window-point-delayed'
> and 'window-start-delayed', a pre-display hook in 'view-lossage'
> will be able just to set a buffer-local run-once post-display hook
> that will adjust the window positions after the buffer is displayed
> in the window.

The problem is to properly clear these hooks to avoid that they affect
future, unrelated calls of 'display-buffer'.  In most cases they are
supposed to be one-shots so a 'condition-case' in 'display-buffer'
should suffice, but it's a bit abnormal for hooks to get auto-cleared.

martin




This bug report was last modified 6 years and 59 days ago.

Previous Next


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