Subject: Re: bug#28915: Emacs 27 under macOS window system; improper frame resizing (off by 4 pixels)

From: martin rudalics <[email-masked]>
Date: Sat, 21 Oct 2017 10:16:18 +0200

I forgot to present the necessary code adjustments for this.  Use

(setq frame-resize-pixelwise t)

(progn (set-frame-width nil (frame-text-width) nil t)
        (frame-native-width))

(progn (set-frame-height nil (frame-text-height) nil t)
        (frame-native-height))

martin