unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [drew.adams@oracle.com: set-frame-size for frame without minibuffer loses mode line]
@ 2007-08-09  0:07 Richard Stallman
  0 siblings, 0 replies; 7+ messages in thread
From: Richard Stallman @ 2007-08-09  0:07 UTC (permalink / raw)
  To: emacs-devel

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 -------

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

* [drew.adams@oracle.com: set-frame-size for frame without minibuffer loses mode line]
@ 2007-08-16  1:08 Richard Stallman
  2007-08-16  2:11 ` Glenn Morris
  2007-08-16 11:27 ` Robert J. Chassell
  0 siblings, 2 replies; 7+ messages in thread
From: Richard Stallman @ 2007-08-16  1:08 UTC (permalink / raw)
  To: emacs-devel

[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" <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 -------

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

* Re: [drew.adams@oracle.com: set-frame-size for frame without minibuffer loses mode line]
  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-16 11:27 ` Robert J. Chassell
  1 sibling, 2 replies; 7+ messages in thread
From: Glenn Morris @ 2007-08-16  2:11 UTC (permalink / raw)
  To: rms; +Cc: emacs-devel

Richard Stallman wrote:

> [I sent this message a week ago but did not get a response.]
>
> Would someone please DTRT, then ack?


I followed this complicated recipe on a GNU/Linux system, and could
not produce the reported bug. Perhaps it is Windows-specific.


> From: "Drew Adams" <drew.adams@oracle.com>
> Subject: set-frame-size for frame without minibuffer loses mode line
> To: "Bug-Gnu-Emacs" <bug-gnu-emacs@gnu.org>
> Date: Tue, 7 Aug 2007 09:46:52 -0700
[...]
> 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.
[...]
> 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] 7+ messages in thread

* Re: [drew.adams@oracle.com: set-frame-size for frame without minibuffer loses mode line]
  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 11:27 ` Robert J. Chassell
  1 sibling, 0 replies; 7+ messages in thread
From: Robert J. Chassell @ 2007-08-16 11:27 UTC (permalink / raw)
  To: emacs-devel

Today's GNU Emacs CVS snapshot, Thu, 2007 Aug 16  09:43  UTC
GNU Emacs 22.1.50.19 (i686-pc-linux-gnu, GTK+ Version 2.10.13)
started with

     /usr/local/src/emacs/src/emacs -Q 

On a conventionial Emacs, version 22.1.1 (i386-mingw-nt5.1.2600),
distributed by a company that restricts you for other software, Drew
Adams reported

    The dired frame is correctly resized, but an empty extra line appears
    below the mode line (there is no minibuffer on this frame).

This does not happen with my GNU/Linux system with the CVS snapshot;
it all works as expected.

Specifically, I evaluated the following in *scratch*:

    (setq pop-up-frames t)
    (setq minibuffer-frame-alist (cons (quote (minibuffer . only))
                                       minibuffer-frame-alist))
    (setq default-frame-alist (cons (quote (minibuffer))
                                    default-frame-alist))
    (make-frame minibuffer-frame-alist)

Then,

    C-x 4 d some directory

    With the dired frame selected:
    M-: (set-frame-size (selected-frame) 30 40)

and Drew reported the problem but I did not see any.  Also, I followed
his further instructions but the mode line did not disappear.

-- 
    Robert J. Chassell                          GnuPG Key ID: 004B4AC8
    bob@rattlesnake.com                         bob@gnu.org
    http://www.rattlesnake.com                  http://www.teak.cc

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

* Re: [drew.adams@oracle.com: set-frame-size for frame without minibuffer loses mode line]
  2007-08-16  2:11 ` Glenn Morris
@ 2007-08-16 18:39   ` Richard Stallman
  2007-08-24 16:10   ` Richard Stallman
  1 sibling, 0 replies; 7+ messages in thread
From: Richard Stallman @ 2007-08-16 18:39 UTC (permalink / raw)
  To: emacs-devel; +Cc: Glenn Morris

    I followed this complicated recipe on a GNU/Linux system, and could
    not produce the reported bug. Perhaps it is Windows-specific.

Thanks.

Would those who care about Windows support please take a look?

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

* Re: [drew.adams@oracle.com: set-frame-size for frame without minibuffer loses mode line]
  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
  1 sibling, 1 reply; 7+ messages in thread
From: Richard Stallman @ 2007-08-24 16:10 UTC (permalink / raw)
  To: emacs-devel; +Cc: Glenn Morris

[I sent this message a week ago but did not get a response.]

    I followed this complicated recipe on a GNU/Linux system, and could
    not produce the reported bug. Perhaps it is Windows-specific.

Thanks.

Would those who care about Windows support please take a look?

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

* Re: [drew.adams@oracle.com: set-frame-size for frame without minibuffer loses mode line]
  2007-08-24 16:10   ` Richard Stallman
@ 2007-08-25 11:50     ` martin rudalics
  0 siblings, 0 replies; 7+ messages in thread
From: martin rudalics @ 2007-08-25 11:50 UTC (permalink / raw)
  To: rms; +Cc: Glenn Morris, emacs-devel

 > [I sent this message a week ago but did not get a response.]
 >
 >     I followed this complicated recipe on a GNU/Linux system, and could
 >     not produce the reported bug. Perhaps it is Windows-specific.
 >
 > Thanks.
 >
 > Would those who care about Windows support please take a look?

Earlier I explained that on WindowsME it's sufficient to do

(set-frame-size (selected-frame) 30 40)

to trigger the bug, provided it makes the menu bar wrap (make it occupy
two lines instead of one).  Does anyone know whether and how the
redisplay code for Windows handles wrapping of the menu bar?

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

end of thread, other threads:[~2007-08-25 11:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
  -- strict thread matches above, loose matches on Subject: below --
2007-08-09  0:07 Richard Stallman

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).