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


Message #85 received at 31745 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 31745 <at> debbugs.gnu.org,
 刘力铭 <mark.liu.li.ming <at> foxmail.com>
Subject: Re: bug#31745: 回复: bug#31745: 回复:回复:Re: 回复:bug#31745: Frame's bug whenwindow-system
Date: Sat, 30 Jun 2018 10:34:12 +0200
> xterm -geometry 80x36+-50+-50
>
> but the resulting window is always fully visible. Itʼs possible the
> window manager hasn't fully implemented support for negative offsets,
> itʼs somewhat obscure.

It's normal - some window managers simply refuse to position an
initial window partially offscreen.

I have to return to my earlier request which you replied to as follows:

>> (modify-frame-parameters nil '((left . 0) (top . 0) (width . 130) (height . 56)))
>>
>
> That does nothing, but the following resizes the frame:
>
> (modify-frame-parameters nil '((left . 0) (top . 0) (width . 100) (height . 48)))
>
> And has done the right thing:
>
> (frame-parameter nil 'height) => 48
> (frame-parameter nil 'width) => 100

Did you call 'modify-frame-parameters' in your initial file or in the
initial frame?  I was interested in the latter.

martin






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.