Subject: bug#31745: Frame's bug when window-system

From: Robert Pluim <[email-masked]>
Date: Thu, 07 Jun 2018 15:27:07 +0200

"õ¦ú" <[email-masked]> 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