From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Themba Fletcher" Newsgroups: gmane.emacs.bugs Subject: bug#1348: set-frame-width and set-frame-position seem buggy on at least MSWindows Date: Fri, 14 Nov 2008 17:46:19 -0500 Message-ID: Reply-To: Themba Fletcher , 1348@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1226739335 5601 80.91.229.12 (15 Nov 2008 08:55:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Nov 2008 08:55:35 +0000 (UTC) To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 15 09:56:36 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 1L1GxI-0002fJ-2V for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Nov 2008 09:56:36 +0100 Original-Received: from localhost ([127.0.0.1]:34889 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L1GwA-0008Qz-0f for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Nov 2008 03:55:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L17no-0003IG-84 for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2008 18:10:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L17nn-0003Hw-B4 for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2008 18:10:11 -0500 Original-Received: from [199.232.76.173] (port=50907 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L17nn-0003Ht-8M for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2008 18:10:11 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:38534) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L17nm-0004Zy-MT for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2008 18:10:10 -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 mAENA8Za011028; Fri, 14 Nov 2008 15:10:08 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mAEMt4Is006582; Fri, 14 Nov 2008 14:55:04 -0800 X-Loop: don@donarmstrong.com Resent-From: "Themba Fletcher" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 14 Nov 2008 22:55:04 +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 submit@emacsbugs.donarmstrong.com id=B.12267028055184 (code B ref -1); Fri, 14 Nov 2008 22:55:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 14 Nov 2008 22:46:45 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAEMkgb1005178 for ; Fri, 14 Nov 2008 14:46:43 -0800 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L17R3-0004cs-Uj for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2008 17:46:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L17R3-0004bg-5H for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2008 17:46:41 -0500 Original-Received: from [199.232.76.173] (port=49933 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L17R3-0004bM-0h for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2008 17:46:41 -0500 Original-Received: from smtp100.biz.mail.re2.yahoo.com ([206.190.52.46]:26146) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1L17R2-00036Y-ET for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2008 17:46:40 -0500 Original-Received: (qmail 29295 invoked from network); 14 Nov 2008 22:46:36 -0000 Original-Received: from unknown (HELO cadstation01) (themba@76.252.62.121 with login) by smtp100.biz.mail.re2.yahoo.com with SMTP; 14 Nov 2008 22:46:36 -0000 X-YMail-OSG: JyrFhXEVM1lvNS6IbftNaCHlhL8GnOV33Y9WHq7caz.sHIRJYVhLjf8MuVWLs0Fa3d8mGr1ml50KmGlvygIrALfYxQTY9Lf9Fy2BmHl_k67ehGL8tCFAEtu5BhAKz8geQR1D14bCBY5dARNI.Iyk3Mz. X-Yahoo-Newman-Property: ymail-3 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AclGqqqe2rB3F/FoSdii7Kcsp7b/Cg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Fri, 14 Nov 2008 18:10:11 -0500 X-Mailman-Approved-At: Sat, 15 Nov 2008 03:55:21 -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:22365 Archived-At: When migrating to Emacs 22.3.1 on microsoft windows, the following lines in my .emacs file do not behave as expected: (set-frame-position (selected-frame) 0 0) (sleep-for 2) ; not originally in my .emacs -- testing only (set-frame-width (selected-frame) 150) (sleep-for 2) (set-frame-height (selected-frame) 55) (sleep-for 2)) This used to leave me with a 150 X 55 frame located at 0,0 on my display but it instead now leaves me with a default size frame still located at 0,0 as expected. Please note that when I said M-x ielm and pasted in the set-frame-width and -height lines as above after emacs finished loading they did as I expected, ie. resized the frame without problem. I replaced these lines with the following in my .emacs as a workaround: (let ((destructo-target (selected-frame))) (make-frame (list '(top . 0) '(left . 0) '(width . 150) '(height . 55))) (delete-frame destructo-target)) In GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) of 2008-09-06 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: Lisp Minor modes in effect: icomplete-mode: t partial-completion-mode: t encoded-kbd-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x l i s p SPC m o d e M-x f i l e SPC b u r e p o r Recent messages: Loading goto-addr...done top.org has auto save data; consider M-x recover-this-file Loading c:/Program Files/emacs-22.3/site-lisp/org-6.12b/lisp/org.el (source)... Loading easy-mmode...done Loading derived...done Loading c:/Program Files/emacs-22.3/site-lisp/org-6.12b/lisp/org.el (source)...done OVERVIEW For information about GNU Emacs and the GNU system, type C-h C-a. Loading url-util...done Loading emacsbug...done