GNU bug report logs - #32850
27.0.50; window-swap-states doesn't swap window prev/next-buffers

Previous Next

Package: emacs;

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

Date: Thu, 27 Sep 2018 00:06:02 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


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Juri Linkov <juri <at> linkov.net>
Cc: "Charles A. Roelli" <charles <at> aurox.ch>, 32850 <at> debbugs.gnu.org
Subject: bug#32850: 27.0.50; window-swap-states doesn't swap window prev/next-buffers
Date: Wed, 21 Nov 2018 09:20:13 +0100
>> Also note that the overhead induced by executing these functions then
>> becomes proportional to the value of the prefix argument (for each
>> single switch you call 'set-window-prev-buffers',
>> 'set-window-next-buffers' 'record-window-buffer',
>> 'unrecord-window-buffer' and run 'buffer-list-update-hook',
>> 'window-scroll-functions' and 'window-configuration-change-hook').
>
> Aren't hooks intended to run only once when the command is finished?

'post-command-hook' only.  'window-size-change-functions' is currently
run once for each redisplay.  The three I cited above are run for
every set_window_buffer when the buffer changes.  Note that you are
your own client here since you want to pretend that all these buffers
were indeed displayed.

martin




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

Previous Next


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