[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19576: write-file writes the wrong buffer
From: |
martin rudalics |
Subject: |
bug#19576: write-file writes the wrong buffer |
Date: |
Sun, 22 Nov 2015 18:46:19 +0100 |
> I couldn't think of any situation that would cause that. It would
> require a resize of windows outside redisplay that would also cause
> redisplay to decide that the mini-window needs to be resized. If you
> can come up with a recipe for this, we should indeed remove the "just
> once" promise.
A silly example with emacs -Q is
(defvar fun 0)
(defun fun (frame)
"..."
(message "\n%s\n" (setq fun (1+ fun))) (ding))
(add-hook 'window-size-change-functions 'fun)
This gets me complete erratic behavior when moving point.
Another example is
(defvar fun 0)
(defun fun (frame)
"..."
(message "%s" (setq fun (1+ fun))) (ding))
(add-hook 'window-size-change-functions 'fun)
(progn
(tool-bar-mode -1)
(sit-for 1)
(tool-bar-mode 1))
With my patch for bug#21975 this runs ‘fun’ twice when the tool-bar is
reenabled. Likely due to my calculations of the real tool bar height.
martin
- bug#19576: write-file writes the wrong buffer, (continued)
- bug#19576: write-file writes the wrong buffer, martin rudalics, 2015/11/21
- bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/21
- bug#19576: write-file writes the wrong buffer, martin rudalics, 2015/11/21
- bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/21
- bug#19576: write-file writes the wrong buffer, Anders Lindgren, 2015/11/21
- bug#19576: write-file writes the wrong buffer, martin rudalics, 2015/11/22
- bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/22
- bug#21333: bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/21
- bug#19576: write-file writes the wrong buffer, martin rudalics, 2015/11/22
- bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/22
- bug#19576: write-file writes the wrong buffer,
martin rudalics <=
- bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/23
- bug#19576: write-file writes the wrong buffer, Alan Mackenzie, 2015/11/23
- bug#19576: write-file writes the wrong buffer, martin rudalics, 2015/11/24
- bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/24
- bug#19576: write-file writes the wrong buffer, martin rudalics, 2015/11/28
- bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/28
- bug#19576: write-file writes the wrong buffer, martin rudalics, 2015/11/30
- bug#19576: write-file writes the wrong buffer, Eli Zaretskii, 2015/11/30
- bug#19576: write-file writes the wrong buffer, martin rudalics, 2015/11/30
- bug#19576: write-file writes the wrong buffer, martin rudalics, 2015/11/19