unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: martin rudalics <rudalics@gmx.at>
Cc: 31745@debbugs.gnu.org, 刘力铭 <mark.liu.li.ming@foxmail.com>
Subject: bug#31745: 回复: bug#31745: 回复:回复:Re: 回复:bug#31745: Frame's bug whenwindow-system
Date: Wed, 27 Jun 2018 11:01:20 +0200	[thread overview]
Message-ID: <871scsr4bj.fsf@gmail.com> (raw)
In-Reply-To: <5B2E077E.7070907@gmx.at> (martin rudalics's message of "Sat, 23 Jun 2018 10:40:30 +0200")

[-- Attachment #1: Type: text/plain, Size: 1767 bytes --]

martin rudalics <rudalics@gmx.at> writes:

>> So when everything kinda works:
> [...]
>> So we start small, go big, then go small again, but the end result,
>> even though it looks correct, is actually wrong:
>>
>> (frame-parameter nil 'height)
>> 36
>> (frame-parameter nil 'width)
>> 80
>>
>> Although I asked for:
>>
>> (add-to-list 'default-frame-alist '(width . 130))
>> (add-to-list 'default-frame-alist '(height . 56))
>>
>> in the .el Iʼm loading.
>
> Isn't "when everything kinda works" the end result "is actually wrong"
> somehow contradictory?  I think you mean to say that the end result is
> consistent but fails to process the values you specified.
>

Yes, which is why I used the modifier 'kinda'. The emacs state is
consistent and usable, but not as requested.

>> When it doesnʼt work:
> [...]
>> we start big, go small, and stay small. The frame is actually the same
>> size as previous, but emacs' state is messed up:
>>
>> (frame-parameter nil 'height)
>> 56
>> (frame-parameter nil 'width)
>> 130
>
> This means that you get the expected values for the parameters but the
> frame itself has the wrong sizes?

Yes, plus parts of emacs obviously believe the frame-parameters, since
the minibuffer and modeline are not visible.

> What did you use to produce this and does it only happen with scaling?
> I still do not understand the nature of this bug in the first place.

src/emacs -q --no-site-file --no-site-lisp --no-splash --eval '(setq
x-wait-for-event-timeout nil)' -l ../emacs-real-26/31745.el

(although it happens with non-nil x-wait-for-event-timeout as well)
where 31745.el is based off the original reporter's .emacs (attached).

Scaling is not in effect.

Regards

Robert


[-- Attachment #2: 31745.el --]
[-- Type: application/emacs-lisp, Size: 10997 bytes --]

  reply	other threads:[~2018-06-27  9:01 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <tencent_31247D97CC59228818C55E91FB6828E17407@qq.com>
2018-06-08 11:33 ` bug#31745: 回复: bug#31745: 回复:Re: 回复:bug#31745: Frame's bug whenwindow-system Robert Pluim
     [not found]   ` <tencent_77BD98CBDECAFB6E2884F40BFD81CC292207@qq.com>
2018-06-08 12:43     ` bug#31745: 回复: bug#31745: 回复:回复:Re: " Robert Pluim
2018-06-21 11:41       ` Noam Postavsky
2018-06-21 11:59         ` Robert Pluim
2018-06-22  8:56       ` martin rudalics
2018-06-22 14:44         ` Robert Pluim
2018-06-23  8:40           ` martin rudalics
2018-06-27  9:01             ` Robert Pluim [this message]
2018-06-28  8:02               ` martin rudalics
2018-06-28  8:25                 ` Robert Pluim
2018-06-28  8:33                   ` martin rudalics
2018-06-28  9:06                     ` Robert Pluim
2018-06-28 12:25                       ` martin rudalics
2018-06-28 14:15                         ` Robert Pluim
2018-06-29  8:42                           ` martin rudalics
2018-06-29 11:57                             ` Robert Pluim
2018-06-30  8:34                               ` martin rudalics
2018-06-30  9:13                                 ` Robert Pluim
2018-07-01  9:02                                   ` martin rudalics
2018-07-02  4:58                                     ` bug#31745: �ظ��� bug#31745: �ظ����ظ���Re: �ظ���bug#31745: " �����
2018-07-02 14:31                                     ` bug#31745: 回复: bug#31745: 回复:回复:Re: 回复:bug#31745: " Robert Pluim
2018-07-02 15:26                                       ` bug#31745: bug#31745: �ظ����ظ����ظ���Re: �ظ���bug#31745: Frame'sbug whenwindow-system �����
2022-04-28 10:42                                         ` bug#31745: default-frame-alist sizing parameters set in ~/.emacs are not applied correctly Lars Ingebrigtsen
2022-05-26 12:49                                           ` Lars Ingebrigtsen
2018-06-22 15:30         ` bug#31745: �ظ��� bug#31745: �ظ��� bug#31745: �ظ����ظ���Re: �ظ���bug#31745: Frame's bug whenwindow-system �����
2018-06-23  8:40           ` bug#31745: 回复: bug#31745: 回复: bug#31745: 回复:回复:Re: 回复:bug#31745: " martin rudalics
2018-06-23 11:50             ` bug#31745: �ظ��� bug#31745: �ظ��� bug#31745: �ظ����ظ���Re: �ظ���bug#31745: " �����
2018-06-27  7:34               ` bug#31745: 回复: bug#31745: 回复: bug#31745: 回复:回复:Re: 回复:bug#31745: " martin rudalics
2018-06-27  9:13                 ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=871scsr4bj.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=31745@debbugs.gnu.org \
    --cc=mark.liu.li.ming@foxmail.com \
    --cc=rudalics@gmx.at \
    /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 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).