GNU bug report logs - #31745
default-frame-alist sizing parameters set in ~/.emacs are not applied correctly

Previous Next

Package: emacs;

Reported by: "������" <mark.liu.li.ming <at> foxmail.com>

Date: Thu, 7 Jun 2018 07:50:01 UTC

Severity: normal

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Robert Pluim <rpluim <at> gmail.com>
To: "����" <mark.liu.li.ming <at> foxmail.com>
Cc: 31745 <at> debbugs.gnu.org
Subject: bug#31745: Frame's bug when window-system
Date: Thu, 07 Jun 2018 15:27:07 +0200
"õ¦ú" <mark.liu.li.ming <at> foxmail.com> writes:

> This bug occurs in both emacs 26.1 in the official archlinux repo and emacs-git 27.0.50 in aur when i am using MATE 1.20.0 with its default window manager.
>
>
>
> My configuration about frame size in .emacs is as follows:
> (add-to-list 'default-frame-alist '(top . 0))
> (add-to-list 'default-frame-alist '(left . 0))
> (add-to-list 'default-frame-alist '(width . 120))
> (add-to-list 'default-frame-alist '(height . 47))
> (add-to-list 'default-frame-alist '(font . "Sarasa Mono CL 12"))
>
>
>
> If i launch emacs with a file in terminal, such as `emacs .emacs` or run `emacs --geometry 120x47`, all works will.
>
>
> But in other cases, such as launch emacs in terminal using command
> `emacs`, emacs will display a smaller frame in its default size, but
> text area will treat itself as if it is actually in an 120x47-size
> frame. For example, it will not show mode line, because the mode line
> is "displayed" on line 46, but the frame is actually 80x36 and if one
> line in scratch has more than 80 charactors, it will not display
> `right-arrow` or `right-curly-arrow`.
>
>
> I also try to add `(x-parse-geometry "120x47+0+0")` in file `.emacs`, but it doesn't work.

Unfortunately you've cut out all the information from report-emacs-bug
that might help us narrow this down. Could you provide the values of

system-configuration-options
system-configuration-features

(or just run `report-emacs-bug' again and paste the results into a reply to
this bug report).

Does this also happen when running 'emacs -Q -l .emacs', with .emacs
containing only your frame size configuration?

Thanks

Robert




This bug report was last modified 3 years and 53 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.