bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#44794: 28.0.50; Frame creation broken with (tool-bar-mode -1)


From: David Fussner
Subject: bug#44794: 28.0.50; Frame creation broken with (tool-bar-mode -1)
Date: Sun, 22 Nov 2020 21:47:21 +0000

As no one else seems to be able to reproduce this bug, I thought I
would give a fuller list of the symptoms I've seen when using various
set-ups in my .emacs file, in case that might help.

If in addition to turning off the tool bar you add:

(add-to-list 'default-frame-alist
                '(height . 30)
                '(font . "Luxi Mono-16"))

Then the initial frame shows the splash page just fine, and all looks
well. After C-x 5 b return then the *scratch* buffer pops up with all
the problems described in the initial report: nothing visible in the
main window and no mini-buffer, either.

If you make the height too big for the screen, in my case with such a
big font I set it to 33, then the initial frame shows the splash page
just fine and is as tall as the screen allows. After C-x 5 b return
then the *scratch* buffer does appear, with text and mini-buffer
intact, only the second frame is about two-thirds the correct height.

After Eli's suggestion above about the WM I did try shutting down KDE
and running xfce4, with exactly the same results as with KDE, as far
as I could tell.

Thanks again to you both for all your help.

David.

On Sun, 22 Nov 2020 at 20:50, David Fussner <dfussner@googlemail.com> wrote:
>
> I'm sorry to report it didn't help (aside from modifying what appears
> in the title bar).
>
> On Sun, 22 Nov 2020 at 19:59, Eli Zaretskii <eliz@gnu.org> wrote:
> >
> > > From: David Fussner <dfussner@googlemail.com>
> > > Date: Sun, 22 Nov 2020 19:23:16 +0000
> > > Cc: Eli Zaretskii <eliz@gnu.org>, 44794@debbugs.gnu.org
> > >
> > > Thanks for the tip -- it says "GNU Emacs at newfont" when it first
> > > comes up, then prepends the buffer name to that later.
> >
> > What happens if you change this:
> >
> >   Lisp_Object icon_title_name_format
> >     = pure_list (empty_unibyte_string,
> >                  build_pure_c_string ("%b - GNU Emacs at "),
> >                  intern_c_string ("system-name"));
> >
> > to say this instead:
> >
> >   Lisp_Object icon_title_name_format
> >     = pure_list (empty_unibyte_string,
> >                  build_pure_c_string ("GNU Emacs at "),
> >                  intern_c_string ("system-name"));
> >
> > This code is in xdisp.c.  The change I propose removes the "%b - "
> > part from the argument to build_pure_c_string.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]