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, 15 Aug 2007 21:08:31 -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 1187226355 1704 80.91.229.12 (16 Aug 2007 01:05:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Aug 2007 01:05:55 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 16 03:05:52 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 1ILTo8-0000Uh-2E for ged-emacs-devel@m.gmane.org; Thu, 16 Aug 2007 03:05:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ILTo7-0002iY-MX for ged-emacs-devel@m.gmane.org; Wed, 15 Aug 2007 21:05:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ILTnE-0001m5-OR for emacs-devel@gnu.org; Wed, 15 Aug 2007 21:04:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ILTnC-0001kf-RS for emacs-devel@gnu.org; Wed, 15 Aug 2007 21:04:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ILTnC-0001kO-Jd for emacs-devel@gnu.org; Wed, 15 Aug 2007 21:04:54 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ILTnB-0003M4-S2 for emacs-devel@gnu.org; Wed, 15 Aug 2007 21:04:54 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1ILTqh-0002Xm-Cl; Wed, 15 Aug 2007 21:08:31 -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:76605 Archived-At: [I sent this message a week ago but did not get a response.] 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 -------