From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#1348: set-frame-width and set-frame-position seem buggy on at least MSWindows Date: Thu, 04 Dec 2008 18:58:52 +0100 Message-ID: <49381A5C.2030903@gmx.at> 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> <49355A23.8030001@gmx.at> <4935CE37.4010206@gmx.de> <49365CB8.5050800@gmx.at> <4936C0E6.9050200@gmx.de> Reply-To: martin rudalics , 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 1228414258 2174 80.91.229.12 (4 Dec 2008 18:10:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Dec 2008 18:10:58 +0000 (UTC) Cc: 1348@emacsbugs.donarmstrong.com, jasonr@f2s.com To: grischka Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 04 19:12:00 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 1L8Ig4-0000l9-KD for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Dec 2008 19:11:52 +0100 Original-Received: from localhost ([127.0.0.1]:35529 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L8Ieu-0005IV-0t for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Dec 2008 13:10:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L8Ieb-0004vS-3j for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2008 13:10:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L8IeZ-0004sH-MA for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2008 13:10:19 -0500 Original-Received: from [199.232.76.173] (port=42343 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L8IeZ-0004rs-7h for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2008 13:10:19 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44565) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L8IeY-0000ZY-IO for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2008 13:10:18 -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 mB4IADVb014682; Thu, 4 Dec 2008 10:10:13 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mB4IA38K014123; Thu, 4 Dec 2008 10:10:03 -0800 X-Loop: don@donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 04 Dec 2008 18:10: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.122841379312078 (code B ref 1348); Thu, 04 Dec 2008 18:10:03 +0000 Original-Received: (at 1348) by emacsbugs.donarmstrong.com; 4 Dec 2008 18:03:13 +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 mB4I38En012070 for <1348@emacsbugs.donarmstrong.com>; Thu, 4 Dec 2008 10:03:10 -0800 Original-Received: (qmail invoked by alias); 04 Dec 2008 18:03:02 -0000 Original-Received: from 88-117-47-114.adsl.highway.telekom.at (EHLO [88.117.47.114]) [88.117.47.114] by mail.gmx.net (mp011) with SMTP; 04 Dec 2008 19:03:02 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/A9MJ7raPA+KBYyBxuWWRRLckgh+bBtPujbg/SJz qycYJcpngI4nBB User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: <4936C0E6.9050200@gmx.de> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.67 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 04 Dec 2008 13:10:19 -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:22946 Archived-At: > Now not sure what you meant. Probably something not good. > But what? Size wrong? Events lost? Example? Consider the following silly fragment: (progn (sleep-for 10) (set-frame-height nil 20)) C-x C-e it and resize the frame with the WM. The results here are not very predictable, neither with no without your patch. If you manually make the window smaller than 20 lines it gets resized after 10 secs. Otherwise it remains larger. In any case, the point is what gets processed by Emacs after the 10 seconds elapsed. >> I suppose resizing a frame might do all sorts of nasty things like >> resizing and deleting windows within the resized frame, switching >> buffers, showing another menu-/tool-bar, ... > > Only with at least two frames? Sounds cryptic ;) With one frame. Emacs reacts to frame resizing requests by adjusting the windows within the frame accordingly. If a window gets too small, Emacs has to delete one (note that Emacs implements a tiling window manager within each frame). Eventually, all that remains is the menubar or, if there's none, just the title line. And, deleting a window may change the menubar because another buffer may become current. martin