unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Andreas Politz <politza@hochschule-trier.de>, 24240@debbugs.gnu.org
Subject: bug#24240: 25.1.50; window-state-put, image-mode and window scrolling
Date: Tue, 16 Aug 2016 13:00:23 +0200	[thread overview]
Message-ID: <57B2F247.9050601@gmx.at> (raw)
In-Reply-To: <87bn0ttyzc.fsf@hochschule-trier.de>

 > I guess ideally window-state-put should be atomic in the sense
 > that it delays these kinds of hooks until the window is
 > completely restored.

We'd need a variable, say ‘window-inhibit-configuration-change-hook’.

 > ;; Workaround 1 (does not work, why ?)
 >
 > (defun window-state-put-workaround (fn &rest args)
 >   (let (window-configuration-change-hook)
 >     (apply fn args))
 >   (run-window-configuration-change-hook))

Can you run this under the debugger in order to see what happens?

martin






  reply	other threads:[~2016-08-16 11:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-15 23:05 bug#24240: 25.1.50; window-state-put, image-mode and window scrolling Andreas Politz
2016-08-16 11:00 ` martin rudalics [this message]
2016-08-16 13:51   ` Andreas Politz
2016-08-17  8:30     ` martin rudalics
2016-08-17 10:33       ` Andreas Politz
2016-08-17 15:47         ` martin rudalics
2016-08-17 16:12           ` Andreas Politz
2016-08-18  8:42             ` martin rudalics
2016-10-30  8:47               ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57B2F247.9050601@gmx.at \
    --to=rudalics@gmx.at \
    --cc=24240@debbugs.gnu.org \
    --cc=politza@hochschule-trier.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).