GNU bug report logs - #21415
25.0.50; Emacs Trunk -- pixelwise width/height for x-create-frame

Previous Next

Package: emacs;

Reported by: Keith David Bershatsky <esq <at> lawlist.com>

Date: Fri, 4 Sep 2015 17:43:01 UTC

Severity: wishlist

Found in version 25.0.50

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: martin rudalics <rudalics <at> gmx.at>
To: Keith David Bershatsky <esq <at> lawlist.com>, 21415 <at> debbugs.gnu.org
Subject: bug#21415: 25.0.50; Emacs Trunk -- pixelwise width/height for x-create-frame
Date: Fri, 04 Sep 2015 21:17:51 +0200
> I am trying to do three things:
>
> (1) efficiently create a new frame that is exact as to pixelwise
> width/height so that `(set-frame-size FRAME WIDTH PIXELWISE)` is not
> needed after each new frame is created;

Interesting.  This is the first time someone asks for this.  Do you have
a particular use case?

> (2) pass a pixelwise argument to `x-create-frame` that would resolve
> the first goal [?];

We'd need a ‘pixel-width’ and a ‘pixel-height’ frame parameter.  When
any of these is present, it would be used instead of the ‘width’ and
‘height’ parameters.  Alternatively, we could interpret floating point
values of ‘width’ and ‘height’ specially.

> (3) avoid intermittent visual flickering of the entire frame that is
> caused by a frame creation at the default size of `(width . 80)
> (height . 35)` followed immediately by programmatically enlarging the
> frame substantially with `set-frame-size` using the pixelwise
> argument.  [The intermittent visual flickering can be avoided by
> setting the `mode-line-format` to `nil`; however, the default
> `mode-line-format` causes/contributes to the visual flickering.]
> [This did not happen with the Emacs Trunk from last year, but happens
> now intermittently with a current version.]

Could you try bisecting to find out when this started?

martin





This bug report was last modified 4 years and 251 days ago.

Previous Next


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