emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: managing windows in two frames


From: martin rudalics
Subject: Re: managing windows in two frames
Date: Sat, 07 Sep 2013 11:37:28 +0200

> Ah, indeed it's simpler.  It does have the disadvantage of relying on an
> obsolete variable, tho.

I thought Jorge wanted something that works with existing (and elder)
Emacsen.

> Maybe we should define a new macro `with-inhibit-window-changes' which
> could replace save-window-excursion for those uses (it might use
> save-window-excursion internally, just in case, but would also try to
> prevent creation of frames and window changes in other frames).

We could easily do that but for one issue: Some buffer display calls
expect that neither snow nor rain will prevent Emacs from producing a
suitable window (compare bug#15213).

Also, a user's expectation that code following

  (pop-to-buffer (generate-new-buffer " *temp*"))

operates on the new buffer is not entirely silly given our current
understanding of `pop-to-buffer'.  Many years ago I asked here whether
anything might prevent the display of a buffer but no-one had the
courage to answer ...

martin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]