GNU bug report logs - #74750
clone-frame and make-frame pixelwise issues

Previous Next

Package: emacs;

Reported by: Ship Mints <shipmints <at> gmail.com>

Date: Mon, 9 Dec 2024 15:53:02 UTC

Severity: normal

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


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

From: martin rudalics <rudalics <at> gmx.at>
To: Ship Mints <shipmints <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 74750 <at> debbugs.gnu.org
Subject: Re: bug#74750: clone-frame and make-frame pixelwise issues
Date: Wed, 11 Dec 2024 10:37:57 +0100
[Message part 1 (text/plain, inline)]
> Somewhere in the bowels
> of frame.c, et.al., is an issue where text-pixels behaves differently than
> set-frame-size which is reliable on NS where make-frame using text-pixels
> is incorrect by the vertical scroll bar width. GTK it's off, too, but I
> didn't analyze that further.

If you mean that with

(progn
  (setq frame-resize-pixelwise t)
  (make-frame '((width . (text-pixels . 800)))))

then

(frame-text-width)

evaluates to 784, please try the attached patch.

Thanks, martin
[make-frame.diff (text/x-patch, attachment)]

This bug report was last modified 225 days ago.

Previous Next


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