bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#65217: 29.1; set-frame-size gets confused and drops calls


From: Eli Zaretskii
Subject: bug#65217: 29.1; set-frame-size gets confused and drops calls
Date: Fri, 18 Aug 2023 15:14:05 +0300

> Date: Fri, 18 Aug 2023 08:34:15 +0000
> From: Gregory Heytings <gregory@heytings.org>
> cc: Ash <ext0l@catgirl.ai>, rudalics@gmx.at, 65217@debbugs.gnu.org
> 
> > I disagree.  It is a consequence of the fact that the actual resizing is 
> > performed by the window manager, and that Emacs must wait for the 
> > window-system response event to perform the resize correctly.  Lisp 
> > programs that perform several such operations in a row must inject short 
> > wait periods to allow for the processing of the window-system events. 
> > That's what Martin meant by saying that using sit-for solves the 
> > problems.
> >
> 
> Instead of assuming that Elisp programmers understand these subtle points, 
> can't we provide an optional argument to set-frame-size, say FORCE, that 
> would do that sit-for?

Fine with me, assuming that Martin and Po Lu agree.





reply via email to

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