all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ���� <mark.liu.li.ming@foxmail.com>
To: 31745@debbugs.gnu.org
Subject: bug#31745: Frame's bug when window-system
Date: Thu, 7 Jun 2018 11:04:06 +0800	[thread overview]
Message-ID: <tencent_FECA28FD597F2D938B682AC6A597EABE1505@qq.com> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb18030", Size: 1154 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 2306 bytes --]

             reply	other threads:[~2018-06-07  3:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-07  3:04 ����� [this message]
2018-06-07 13:27 ` bug#31745: Frame's bug when window-system Robert Pluim
     [not found]   ` <tencent_B0DAFA5C99D0444331AABD7EF7DB50C0E908@qq.com>
2018-06-07 15:15     ` bug#31745: 回复: " Robert Pluim
2018-06-08  1:19       ` bug#31745: 回复:Re: 回复: bug#31745: Frame's bug whenwindow-system 刘力铭
2018-06-08  8:35         ` Robert Pluim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tencent_FECA28FD597F2D938B682AC6A597EABE1505@qq.com \
    --to=mark.liu.li.ming@foxmail.com \
    --cc=31745@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.