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


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

From: martin rudalics <rudalics <at> gmx.at>
To: Keith David Bershatsky <esq <at> lawlist.com>, 
 Anders Lindgren <andlind <at> gmail.com>
Cc: 21415 <at> debbugs.gnu.org
Subject: Re: bug#21415: 25.0.50; Emacs Trunk -- pixelwise width/height for
 x-create-frame
Date: Mon, 28 Sep 2015 20:00:36 +0200
> The pre-built Windows version from September 23, 2015 doesn't yet have
> the magical patch to support a pixelwise floating point.  I've taken
> the first steps toward learning how to build Emacs on Windows, but
> have encountered some initial stumbling blocks with a never ending
> loop after the initial checking is performed during the make process.
> I will work on it a little each day until I figure it out . . . .
>
> Debugger entered--Lisp error: (wrong-type-argument integerp 1200.0)
>    x-create-frame(((visibility) (width . 1200.0) (height . 600.0)))

Obviously.  This works only with the patch I sent you.  But I asked you
to do on NS:

If with emacs -Q, you evaluate

(progn
  (setq frame-resize-pixelwise t)
  (setq frame-inhibit-implied-resize t)
  (make-frame '((width . 1200.0) (height . 600.0)
		(font . "-*-Courier-normal-normal-normal-*-17-*-*-*-m-0-iso10646-1"))))

what does

(cons (frame-text-width) (frame-text-height))

return?

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.