From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [drew.adams@oracle.com: set-frame-size for frame without minibuffer loses mode line] Date: Wed, 08 Aug 2007 20:07:38 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1186618053 27715 80.91.229.12 (9 Aug 2007 00:07:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Aug 2007 00:07:33 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 09 02:07:31 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IIvYo-0003qr-TE for ged-emacs-devel@m.gmane.org; Thu, 09 Aug 2007 02:07:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IIvYo-0003cc-CF for ged-emacs-devel@m.gmane.org; Wed, 08 Aug 2007 20:07:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IIvW4-0002WD-9e for emacs-devel@gnu.org; Wed, 08 Aug 2007 20:04:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IIvW3-0002Vn-Lz for emacs-devel@gnu.org; Wed, 08 Aug 2007 20:04:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IIvW3-0002Vi-Hm for emacs-devel@gnu.org; Wed, 08 Aug 2007 20:04:39 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IIvW3-0003fW-14 for emacs-devel@gnu.org; Wed, 08 Aug 2007 20:04:39 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IIvYw-0005ZZ-NF; Wed, 08 Aug 2007 20:07:38 -0400 X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:76223 Archived-At: Would someone please DTRT, then ack? ------- Start of forwarded message ------- X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=failed version=3.1.0 From: "Drew Adams" To: "Bug-Gnu-Emacs" Date: Tue, 7 Aug 2007 09:46:52 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: set-frame-size for frame without minibuffer loses mode line emacs -Q M-: (setq pop-up-frames t) M-: (setq minibuffer-frame-alist (cons (quote (minibuffer . only)) minibuffer-frame-alist)) M-: (setq default-frame-alist (cons (quote (minibuffer)) default-frame-alist)) M-: (make-frame minibuffer-frame-alist) C-x 4 d some directory With the dired frame selected: M-: (set-frame-size (selected-frame) 30 40) The dired frame is correctly resized, but an empty extra line appears below the mode line (there is no minibuffer on this frame). With the dired frame selected, repeat the last command (that is, repeat (set-frame-size (selected-frame) 30 40)): C-x ESC ESC Now, both the extra empty "minibuffer" line and the mode line have disappeared. The more serious bug is the disappearance of the mode line. No matter how many times the `set-frame-size' is repeated, the mode line does not reappear. IOW, the first `set-frame-size' is OK (except for the extra blank line), but repeating it removes the mode line. This is not related to C-x ESC ESC or M-:. The same thing happens from Lisp code that calls `set-frame-size'. If there is a standalone minibuffer, then the problem arises. In GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600) of 2007-06-02 on RELEASE Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --cflags -Ic:/gnuwin32/include' _______________________________________________ bug-gnu-emacs mailing list bug-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs ------- End of forwarded message -------