emacs-devel
[Top][All Lists]
Advanced

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

Re: Standard check before creating large num of frames


From: Stefan Monnier
Subject: Re: Standard check before creating large num of frames
Date: Thu, 15 Sep 2016 08:00:52 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> several functions might create new frames.  In particular when
> `pop-up-frames' is non-nil, `display-buffer' creates a new frame.
> Creating a lot of new frames might be expensive.

> Some functions may ask for user confirmation before creating an many
> frames.  For instance, see `ibuffer-do-view-1': this function ask for
> confirmation before creating > 3 frames.  IMO, it's good if each
> function creating a large number of frames do a similar check.  We might
> add a new option, for instance 'max-number-of-frames' or
> 'frame-max-number':

I get the impression that setting pop-up-frames will inevitably lead to
many more frames than 3.  IOW setting pop-up-frames non-nil is already
a way to say that you're OK with having many frames.


        Stefan




reply via email to

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