From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jasonr@f2s.com Newsgroups: gmane.emacs.bugs Subject: bug#1348: set-frame-width and set-frame-position seem buggy on at least MSWindows Date: Tue, 2 Dec 2008 07:42:43 +0000 Message-ID: <1228203763.4934e6f38c1b2@webmail.freedom2surf.net> References: 4922BD1F.2080604@gmx.at <492DBE0C.1030707@gmx.de> <492EA390.1020206@gmx.at> <492EDCC9.7070806@gmx.de> <492EF976.1070108@gmx.at> <49319B2E.20006@gmx.de> <49325AAA.5090606@gmx.at> <1228089264.493327b06fd4e@webmail.freedom2surf.net> <49339200.7080603@gmx.at> <1228119737.49339eb964cc6@webmail.freedom2surf.net> <4933AFA5.5020109@gmx.at> <4934D1AF.50905@gmx.de> Reply-To: jasonr@f2s.com, 1348@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1228204243 13670 80.91.229.12 (2 Dec 2008 07:50:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Dec 2008 07:50:43 +0000 (UTC) To: grischka , 1348@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 02 08:51: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 1L7Q2t-0000PD-IJ for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Dec 2008 08:51:47 +0100 Original-Received: from localhost ([127.0.0.1]:51207 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7Q1j-0003FD-Fl for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Dec 2008 02:50:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L7Q1U-00037j-S1 for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 02:50:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L7Q1Q-00037D-U2 for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 02:50:20 -0500 Original-Received: from [199.232.76.173] (port=33268 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7Q1Q-00037A-PM for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 02:50:16 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:3719) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L7Q1Q-0000lZ-Cg for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 02:50:16 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L7Q1P-0005zM-91 for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 02:50:15 -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 mB27oCAI024556; Mon, 1 Dec 2008 23:50:12 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mB27o32t023911; Mon, 1 Dec 2008 23:50:03 -0800 X-Loop: don@donarmstrong.com Resent-From: jasonr@f2s.com Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 02 Dec 2008 07: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.122820377322521 (code B ref 1348); Tue, 02 Dec 2008 07:50:03 +0000 Original-Received: (at 1348) by emacsbugs.donarmstrong.com; 2 Dec 2008 07:42:53 +0000 Original-Received: from mk-outboundfilter-5-a-2.mail.uk.tiscali.com (mk-outboundfilter-5-a-2.mail.uk.tiscali.com [212.74.114.4]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB27gn5F022509 for <1348@emacsbugs.donarmstrong.com>; Mon, 1 Dec 2008 23:42:51 -0800 Original-X-Trace: 113234936/mk-outboundfilter-5.mail.uk.tiscali.com/F2S/$F2S-MX-ACCEPTED/f2s-freedom2surf-infrastructure/194.106.33.239/None/jasonr@f2s.com X-SBRS: None X-RemoteIP: 194.106.33.239 X-IP-MAIL-FROM: jasonr@f2s.com X-MUA: Internet Messaging Program (IMP) 3.2.3 X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AosDAJZ1NEnCaiHv/2dsb2JhbACSNr5Rgn0 X-IronPort-AV: E=Sophos;i="4.33,701,1220223600"; d="scan'208";a="113234936" X-IP-Direction: IN Original-Received: from mail5.freedom2surf.net (HELO webmail1.freedom2surf.net) ([194.106.33.239]) by smtp.f2s.tiscali.co.uk with ESMTP; 02 Dec 2008 07:42:43 +0000 Original-Received: from localhost (i-194-106-33-239 [127.0.0.1]) by webmail1.freedom2surf.net (Postfix) with ESMTP id 951E6228539; Tue, 2 Dec 2008 07:42:43 +0000 (GMT) Original-Received: from 61.4.103.130 ([61.4.103.130]) by webmail.freedom2surf.net (IMP) with HTTP for ; Tue, 2 Dec 2008 07:42:43 +0000 In-Reply-To: <4934D1AF.50905@gmx.de> User-Agent: Internet Messaging Program (IMP) 3.2.3 X-Originating-IP: 61.4.103.130 X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Tue, 02 Dec 2008 02:50:20 -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:22835 Archived-At: Quoting grischka : > Below is a patch that fixes the problem on windows. I believe this patch is incorrect, as it will result in the message handling code running in the context of the Lisp thread, which will result in a whole host of unreproducable crashing bugs if left like that. Probably the reason it seems to work is that it introduces a delay that is generally long enough for the real resizing or moving to take place before the Lisp thread continues. Inter-thread synchronization is what is needed here to fix this safely and deterministically.