unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: emacs-devel@gnu.org
Subject: [drew.adams@oracle.com: set-frame-size for frame without minibuffer loses mode line]
Date: Wed, 08 Aug 2007 20:07:38 -0400	[thread overview]
Message-ID: <E1IIvYw-0005ZZ-NF@fencepost.gnu.org> (raw)

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" <drew.adams@oracle.com>
To: "Bug-Gnu-Emacs" <bug-gnu-emacs@gnu.org>
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 -------

             reply	other threads:[~2007-08-09  0:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-09  0:07 Richard Stallman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-08-16  1:08 [drew.adams@oracle.com: set-frame-size for frame without minibuffer loses mode line] Richard Stallman
2007-08-16  2:11 ` Glenn Morris
2007-08-16 18:39   ` Richard Stallman
2007-08-24 16:10   ` Richard Stallman
2007-08-25 11:50     ` martin rudalics
2007-08-16 11:27 ` Robert J. Chassell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1IIvYw-0005ZZ-NF@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).