GNU bug report logs - #65217
29.1; set-frame-size gets confused and drops calls

Previous Next

Package: emacs;

Reported by: Ash <ext0l <at> catgirl.ai>

Date: Thu, 10 Aug 2023 23:08:02 UTC

Severity: normal

Found in version 29.1

Full log


Message #41 received at 65217 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Gregory Heytings <gregory <at> heytings.org>, Po Lu <luangruo <at> yahoo.com>
Cc: ext0l <at> catgirl.ai, 65217 <at> debbugs.gnu.org, rudalics <at> gmx.at
Subject: Re: 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 <at> heytings.org>
> cc: Ash <ext0l <at> catgirl.ai>, rudalics <at> gmx.at, 65217 <at> 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.




This bug report was last modified 1 year and 364 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.