all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* set-frame-size for frame without minibuffer loses mode line
@ 2007-08-07 16:46 Drew Adams
  2007-08-08  9:31 ` martin rudalics
  2007-10-09 11:33 ` Jason Rumney
  0 siblings, 2 replies; 8+ messages in thread
From: Drew Adams @ 2007-08-07 16:46 UTC (permalink / raw)
  To: Bug-Gnu-Emacs

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'

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-10-09 15:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-07 16:46 set-frame-size for frame without minibuffer loses mode line Drew Adams
2007-08-08  9:31 ` martin rudalics
2007-08-08 14:13   ` Drew Adams
2007-08-08 15:28     ` martin rudalics
2007-10-09 11:33 ` Jason Rumney
2007-10-09 14:19   ` Drew Adams
2007-10-09 15:07     ` Jason Rumney
2007-10-09 15:28       ` Drew Adams

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.