From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: grischka Newsgroups: gmane.emacs.bugs Subject: bug#1348: set-frame-width and set-frame-position seem buggy on at least MSWindows Date: Sat, 29 Nov 2008 20:42:38 +0100 Message-ID: <49319B2E.20006@gmx.de> References: 4922BD1F.2080604@gmx.at <492DBE0C.1030707@gmx.de> <492EA390.1020206@gmx.at> <492EDCC9.7070806@gmx.de> <492EF976.1070108@gmx.at> Reply-To: grischka , 1348@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1227988305 18559 80.91.229.12 (29 Nov 2008 19:51:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Nov 2008 19:51:45 +0000 (UTC) Cc: 1348@emacsbugs.donarmstrong.com To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 29 20:52:47 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L6Vrz-0005G2-1a for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Nov 2008 20:52:47 +0100 Original-Received: from localhost ([127.0.0.1]:56371 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6Vqp-0003DO-65 for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Nov 2008 14:51:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L6VpX-0002lh-Ny for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 14:50:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L6VpX-0002l9-1p for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 14:50:15 -0500 Original-Received: from [199.232.76.173] (port=42137 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6VpW-0002l4-Og for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 14:50:14 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56928) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L6VpW-0008Vs-7Z for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 14:50:14 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mATJoBAY010012; Sat, 29 Nov 2008 11:50:12 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mATJo3n7009333; Sat, 29 Nov 2008 11:50:03 -0800 X-Loop: don@donarmstrong.com Resent-From: grischka Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 29 Nov 2008 19:50:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1348 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1348-submit@emacsbugs.donarmstrong.com id=B1348.12279878437998 (code B ref 1348); Sat, 29 Nov 2008 19:50:03 +0000 Original-Received: (at 1348) by emacsbugs.donarmstrong.com; 29 Nov 2008 19:44:03 +0000 Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id mATJhxgP007991 for <1348@emacsbugs.donarmstrong.com>; Sat, 29 Nov 2008 11:44:01 -0800 Original-Received: (qmail invoked by alias); 29 Nov 2008 19:43:52 -0000 Original-Received: from 1Cust245.tnt5.ber2.deu.da.uu.net (EHLO [149.225.86.245]) [149.225.86.245] by mail.gmx.net (mp026) with SMTP; 29 Nov 2008 20:43:52 +0100 X-Authenticated: #18588216 X-Provags-ID: V01U2FsdGVkX1/brtpktzPbvn57byfFan03HY5tMyDPDnahQnxpD0 03eREJBmBaXgeq User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) In-Reply-To: <492EF976.1070108@gmx.at> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 29 Nov 2008 14:50:15 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22768 Archived-At: martin rudalics wrote: > > Why can't it wait? A couple of frames doesn't sound like thousands > > and also you probably would not start editing your files while your > > frames are still moving around. So it wouldn't make any difference > > on the user level, except that you'd get correct results by design. > > I have never looked into that code. IIUC one problem is flickering when > a frame gets redrawn too often. Moreover, it's not always safe to > redraw frames. Redraw? Isn't this about resize rather than redraw? > > And then it can of course (and probably should) handle other events > > while waiting for the ConfigureNotify. In GUI apps it is normal that > > "wait" doesn't mean just sleep or block. > > Sounds rather like an additional complication. At the time we call > `set-frame-height' we want to execute Lisp code. Complication is not additional if it allows you to get rid of other complication, in particular such that causes inexplicable misbehavior. > ... In any case, it seems we still > wouldn't know how many lines the menubar occupies, or am I missing > something? Well, whatever the answer to this question is, I'm afraid it wouldn't help to understand the bug. It happens with no menubar as well.