GNU bug report logs - #28536
26.0.60; cannot set frame geometry, plus weirdness

Previous Next

Package: emacs;

Reported by: Nick Helm <nick <at> tenpoint.co.nz>

Date: Thu, 21 Sep 2017 12:03:02 UTC

Severity: normal

Tags: fixed

Found in version 26.0.60

Fixed in version 26.1

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 28536 in the body.
You can then email your comments to 28536 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#28536; Package emacs. (Thu, 21 Sep 2017 12:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nick Helm <nick <at> tenpoint.co.nz>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 21 Sep 2017 12:03:02 GMT) Full text and rfc822 format available.

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

From: Nick Helm <nick <at> tenpoint.co.nz>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.0.60; cannot set frame geometry, plus weirdness
Date: Fri, 22 Sep 2017 00:01:38 +1200
Emacs does not set frame geometry parameters correctly:

  Emacs -Q

  (frame-parameter nil 'width)  -> 75
  (frame-parameter nil 'height) -> 35
  ;this is already odd as default geometry should be 80x36

  (set-frame-parameter nil 'width 105)

  (frame-parameter nil 'width)  -> 100 ;width is incorrect
  (frame-parameter nil 'height) -> 35

Setting frame width also seems to somehow influence frame height:

  (set-frame-parameter nil 'width 105)
  (set-frame-parameter nil 'width 105) 
  ;set frame width a few more times
  ;the frame pixel height changes by a fraction of a char each time

  (frame-parameter nil 'width)  -> 100
  (frame-parameter nil 'height) -> 34  ;height changed



In GNU Emacs 26.0.60 (build 3, x86_64-apple-darwin16.7.0, NS appkit-1504.83 Version 10.12.6 (Build 16G29))
 of 2017-09-21 built on jupiter.local
Repository revision: 047f02f00f602b9aef63ae8938e12f3f0ab481eb
Windowing system distributor 'Apple', version 10.3.1504
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Emacs start-up time: 0.5 seconds
user-error: The mark is not set now, so there is no region
Configured using:
 'configure --with-ns --without-pop'

Configured features:
JPEG NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS LCMS2

Important settings:
  value of $LANG: en_NZ.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Text

Minor modes in effect:
  savehist-mode: t
  global-eldoc-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  visual-line-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime
smime dig mailcap gnus-sum gnus-group gnus-undo gnus-start gnus-cloud
nnimap nnmail mail-source tls gnutls utf7 netrc nnoo parse-time
gnus-spec gnus-int gnus-range gnus-win gnus nnheader wid-edit emacsbug
message subr-x puny seq byte-opt bytecomp byte-compile cconv format-spec
rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util
rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils time dired-x easymenu dired dired-loaddefs
pcase savehist nh-macdict easy-mmode iso-transl edmacro kmacro
cl-loaddefs cl-lib gv linum plain-theme time-date tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win
ucs-normalize mule-util term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote kqueue cocoa ns lcms2 multi-tty make-network-process emacs)

Memory information:
((conses 16 262652 8928)
 (symbols 48 26289 1)
 (miscs 40 39 185)
 (strings 32 47889 1494)
 (string-bytes 1 1385812)
 (vectors 16 40662)
 (vector-slots 8 764982 29035)
 (floats 8 205 64)
 (intervals 56 212 0)
 (buffers 992 11))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28536; Package emacs. (Thu, 21 Sep 2017 21:13:01 GMT) Full text and rfc822 format available.

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

From: Alan Third <alan <at> idiocy.org>
To: Nick Helm <nick <at> tenpoint.co.nz>
Cc: Bob Halley <halley <at> play-bow.org>, 28536 <at> debbugs.gnu.org
Subject: Re: bug#28536: 26.0.60; cannot set frame geometry, plus weirdness
Date: Thu, 21 Sep 2017 22:12:41 +0100
On Fri, Sep 22, 2017 at 12:01:38AM +1200, Nick Helm wrote:
> 
> Emacs does not set frame geometry parameters correctly:
> 
>   Emacs -Q
> 
>   (frame-parameter nil 'width)  -> 75
>   (frame-parameter nil 'height) -> 35
>   ;this is already odd as default geometry should be 80x36
> 
>   (set-frame-parameter nil 'width 105)
> 
>   (frame-parameter nil 'width)  -> 100 ;width is incorrect
>   (frame-parameter nil 'height) -> 35
> 
> Setting frame width also seems to somehow influence frame height:
> 
>   (set-frame-parameter nil 'width 105)
>   (set-frame-parameter nil 'width 105) 
>   ;set frame width a few more times
>   ;the frame pixel height changes by a fraction of a char each time
> 
>   (frame-parameter nil 'width)  -> 100
>   (frame-parameter nil 'height) -> 34  ;height changed

Apologies all, this was my fault. I misunderstood the discussion in an
old bug report that probably should have been closed as notabug.

I’ve reverted the change now.

Thanks for your reports.
-- 
Alan Third




Added tag(s) fixed. Request was from Alan Third <alan <at> idiocy.org> to control <at> debbugs.gnu.org. (Thu, 21 Sep 2017 21:15:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 26.1, send any further explanations to 28536 <at> debbugs.gnu.org and Nick Helm <nick <at> tenpoint.co.nz> Request was from Alan Third <alan <at> idiocy.org> to control <at> debbugs.gnu.org. (Thu, 21 Sep 2017 21:15:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28536; Package emacs. (Fri, 22 Sep 2017 16:07:02 GMT) Full text and rfc822 format available.

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

From: Nick Helm <nick <at> tenpoint.co.nz>
To: Alan Third <alan <at> idiocy.org>
Cc: 28536 <at> debbugs.gnu.org
Subject: Re: bug#28536: 26.0.60; cannot set frame geometry, plus weirdness
Date: Sat, 23 Sep 2017 04:06:03 +1200
Alan Third <alan <at> idiocy.org> writes:

> On Fri, Sep 22, 2017 at 12:01:38AM +1200, Nick Helm wrote:
>> 
>> Emacs does not set frame geometry parameters correctly:
>>
>> Setting frame width also seems to somehow influence frame height:
>
> Apologies all, this was my fault. I misunderstood the discussion in an
> old bug report that probably should have been closed as notabug.
>
> I’ve reverted the change now.

Thanks Alan, it's all working as expected again.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 21 Oct 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 241 days ago.

Previous Next


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