From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Colin Fraizer Newsgroups: gmane.emacs.bugs Subject: bug#24651: 25.1; frame-inherited-parameters only partially works Date: Sat, 8 Oct 2016 15:29:00 -0400 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b6dca52fd6744053e5f8989 X-Trace: blaine.gmane.org 1476036514 28739 195.159.176.226 (9 Oct 2016 18:08:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 9 Oct 2016 18:08:34 +0000 (UTC) To: 24651@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 09 20:08:30 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btIWE-000518-PQ for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Oct 2016 20:08:15 +0200 Original-Received: from localhost ([::1]:45155 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btIWD-0006vH-72 for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Oct 2016 14:08:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btIW5-0006us-Ee for bug-gnu-emacs@gnu.org; Sun, 09 Oct 2016 14:08:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btIW2-0007IQ-MY for bug-gnu-emacs@gnu.org; Sun, 09 Oct 2016 14:08:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44019) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btIW2-0007IL-Ix for bug-gnu-emacs@gnu.org; Sun, 09 Oct 2016 14:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1btIW2-0000S5-Fb for bug-gnu-emacs@gnu.org; Sun, 09 Oct 2016 14:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Colin Fraizer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Oct 2016 18:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24651 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14760364711699 (code B ref -1); Sun, 09 Oct 2016 18:08:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Oct 2016 18:07:51 +0000 Original-Received: from localhost ([127.0.0.1]:50207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btIVq-0000RL-Gb for submit@debbugs.gnu.org; Sun, 09 Oct 2016 14:07:50 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50491) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bsxJA-0002zU-0B for submit@debbugs.gnu.org; Sat, 08 Oct 2016 15:29:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bsxJ2-0005y2-9u for submit@debbugs.gnu.org; Sat, 08 Oct 2016 15:29:13 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:57647) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsxJ2-0005xQ-6I for submit@debbugs.gnu.org; Sat, 08 Oct 2016 15:29:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsxIz-00009r-7Q for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2016 15:29:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bsxIx-0005tg-E6 for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2016 15:29:09 -0400 Original-Received: from mail-pa0-x22d.google.com ([2607:f8b0:400e:c03::22d]:36104) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsxIw-0005rN-MQ for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2016 15:29:07 -0400 Original-Received: by mail-pa0-x22d.google.com with SMTP id ry6so35254937pac.3 for ; Sat, 08 Oct 2016 12:29:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=DiCyaTBIb4RvwcCAJCI8CRUtD8TI5Ak1siRdCnhD4hg=; b=tQNnsspKJcYDijqJTB21ov9qr2M7pgUj2nMgXQYR2ecT3smj2s3vNt1PfeakNFvh3P iEnXgr+L2CaGj+5ru99ouBmgwHuraoPqkM033gDmkNT+WhHwYWUJvEvsRAsQQBeYgzcb 1ES+iN8a7DGm4jdy4RlxLiKDg6btovDVrN/O4XdxxVd/amtFHRVhl7Is7N52Vex4TCIw PLlJXun9aC6LSYVQ5DmfF/km+OuWYdfqN/CYxfYgTQ57Be60OjoS7qDzRQNOVxSdV0I1 jpfWWRECQ2RhrRLWSNK/HdxAe+UD67tzzsWIU0url7WrxRRRQblR6P6QQLO/Te7C9+zK lbPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=DiCyaTBIb4RvwcCAJCI8CRUtD8TI5Ak1siRdCnhD4hg=; b=XXeXsQic5iT8w+nlND8cwkVW/pyZ7vFszdsysWZ7OqvJ0eULIJCLuzPl4cCAtJqIgL Js6yAZvMSH8FdI+lnkL9pgmsB2pk/U9bv/S+/1O/ySDqg9grWHYzbIs5XlwW+qFwULsf FB3ifGtl2UWEPmUWDPHcSEbOkBmrJOcjm4k4hMF5sf3EWF0+7YkHa6va0pqCv1L8T8mO itSEm2DJddmnOnfkbDz+gq/IkpwL/1POZYQyb52vDOOWofNvNnvN0Y4650PaMPgl0HT/ 2VIGTKsz+FGl26eq2xRQ08erVfUTHc18G1kr49Cql6QWY+YjD0gdLkQ2/AHx0Qe4OT2O Xn5A== X-Gm-Message-State: AA6/9RlD9zUVCcgLTWIlNhXTxxgVBUyN4sY8p+WyztqvM/GPC6xEVnqjqHd3nb7IQ0t8ZThw3a+5i0EoF8bfsw== X-Received: by 10.66.144.41 with SMTP id sj9mr40460421pab.97.1475954941450; Sat, 08 Oct 2016 12:29:01 -0700 (PDT) Original-Received: by 10.67.23.198 with HTTP; Sat, 8 Oct 2016 12:29:00 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Sun, 09 Oct 2016 14:07:48 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:124276 Archived-At: --047d7b6dca52fd6744053e5f8989 Content-Type: text/plain; charset=UTF-8 To: bug-gnu-emacs@gnu.org Subject: 25.1; frame-inherited-parameters only partially works --text follows this line-- $ emacs -Q M-: (setq frame-inherited-parameters '(height width top left)) M-: (defun my-debug-fcn () (interactive) (kill-new (prin1-to-string (mapcar (lambda (f) (cons f (mapcar (lambda (elt) (cons elt (cons (frame-parameter f elt) nil))) frame-inherited-parameters))) (frame-list))))) M-x my-debug-fcn ((# (height 79) (width 131) (top 23) (left 962))) C-x 5 2 M-x my-debug-fcn ((# (height 36) (width 131) (top 23) (left 962)) (# (height 79) (width 131) (top 23) (left 962))) The corresponding values of those four frame parameters should be the same for the new frame and the old, but the height is incorrectly set to 36. I am running on MacOS Sierra. (Details below.) Best regards, --Colin Fraizer colin.fraizer@gmail.com In GNU Emacs 25.1.1 (x86_64-apple-darwin16.0.0, NS appkit-1504.00 Version 10.12 (Build 16A323)) of 2016-09-28 built on demwa.local Windowing system distributor 'Apple', version 10.3.1504 Configured using: 'configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs/25.1/share/info/emacs --prefix=/usr/local/Cellar/emacs/25.1 --without-x --with-xml2 --with-dbus --with-gnutls --with-imagemagick --with-modules --with-rsvg --without-pop --with-ns --disable-ns-self-contained' Configured features: JPEG RSVG IMAGEMAGICK DBUS NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-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 line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Mark set "((# (height 36) (width 131) (top 23) (left 962)) (# (height 79) (width 131) (top 23) (left 962)))" Making completion list... Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win ucs-normalize term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core 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 charscript case-table epa-hook jka-cmpr-hook help simple abbrev 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 dbusbind kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 196668 7450) (symbols 48 19638 0) (miscs 40 66 222) (strings 32 15072 5822) (string-bytes 1 434856) (vectors 16 32974) (vector-slots 8 653773 5373) (floats 8 166 326) (intervals 56 234 16) (buffers 976 20)) --047d7b6dca52fd6744053e5f8989 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Subject: 25.1; frame-inherited-p= arameters only partially works
--text follows this line--

=C2=A0 =C2=A0 $ emacs -Q
=C2=A0 =C2=A0 M-: (set= q frame-inherited-parameters '(height width top left)) <RET>
=C2=A0 =C2=A0 M-: (defun my-debug-fcn ()
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 (interactive)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 (kill-new (prin1-to-string (mapcar (lambda (f) (cons f (mapcar
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 (lambda (elt) (cons elt (cons (frame-parameter f elt) nil)))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 frame-inherited-parameters))) (frame-list))))) <RET>= ;
=C2=A0 =C2=A0 M-x my-debug-fcn <RET>
=C2=A0 =C2= =A0 ((#<frame =C2=A0*Minibuf-1* 0x10484f5a0> (height 79) (width 131) = (top 23) (left 962)))

=C2=A0 =C2=A0 C-x 5 2
<= div>=C2=A0 =C2=A0 M-x my-debug-fcn <RET>
=C2=A0 =C2=A0 ((#&= lt;frame save-me-frames.el 0x10837e638> (height 36) (width 131) (top 23)= (left 962))
=C2=A0 =C2=A0 (#<frame =C2=A0*Minibuf-1* 0x10484f= 5a0> (height 79) (width 131) (top 23) (left 962)))

<= div>The corresponding values of those four frame parameters should be=
the same for the new frame and the old, but the height is incorrectly<= /div>
set to 36.

I am running on MacOS Sierra.= =C2=A0(Details below.)

Best regards,
--= Colin Fraizer



=
In GNU Emacs 25.1.1 (x86_64-apple-darwin16.0.0, NS appkit-15= 04.00 Version 10.12 (Build 16A323))
=C2=A0of 2016-09-28 built on = demwa.local
Windowing system distributor 'Apple', version= 10.3.1504
Configured using:
=C2=A0'configure --dis= able-dependency-tracking --disable-silent-rules
=C2=A0--enable-lo= callisppath=3D/usr/local/share/emacs/site-lisp
=C2=A0--infodir=3D= /usr/local/Cellar/emacs/25.1/share/info/emacs
=C2=A0--prefix=3D/u= sr/local/Cellar/emacs/25.1 --without-x --with-xml2
=C2=A0--with-d= bus --with-gnutls --with-imagemagick --with-modules --with-rsvg
= =C2=A0--without-pop --with-ns --disable-ns-self-contained'
Configured features:
JPEG RSVG IMAGEMAGICK DBUS NOTI= FY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS NS MODULES

Important settings:
=C2=A0 value of $LANG: en_U= S.UTF-8
=C2=A0 locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes i= n effect:
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mo= de: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel= -mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: = t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lo= ck-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor= -mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-en= cryption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0= line-number-mode: t
=C2=A0 transient-mark-mode: t

=
Recent messages:
For information about GNU Emacs and t= he GNU system, type C-h C-a.
Mark set
"((#<fram= e save-me-frames.el 0x10837e638> (height 36) (width 131) (top 23) (left = 962)) (#<frame =C2=A0*Minibuf-1* 0x10484f5a0> (height 79) (width 131)= (top 23) (left 962)))"
Making completion list...
=
Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message dired for= mat-spec rfc822 mml
mml-sec password-cache epg epg-config gnus-ut= il mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gm= m-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util he= lp-fns help-mode easymenu
cl-loaddefs pcase cl-lib mail-prsvr mai= l-utils time-date mule-util
tooltip eldoc electric uniquify ediff= -hook vc-hooks lisp-float-type
mwheel ns-win ucs-normalize term/c= ommon-win tool-bar dnd fontset image
regexp-opt fringe tabulated-= list newcomment elisp-mode lisp-mode
prog-mode register page menu= -bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock= syntax facemenu font-core frame cl-generic cham
georgian utf-8-l= ang misc-lang vietnamese tibetan thai tai-viet lao
korean japanes= e eucjp-ms cp51932 hebrew greek romanian slovak czech
european et= hiopic indian cyrillic chinese charscript case-table epa-hook
jka= -cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice
loa= ddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashta= ble-print-readable backquote dbusbind kqueue cocoa ns multi-tty
m= ake-network-process emacs)

Memory information:
((conses 16 196668 7450)
=C2=A0(symbols 48 19638 0)
<= div>=C2=A0(miscs 40 66 222)
=C2=A0(strings 32 15072 5822)
=C2=A0(string-bytes 1 434856)
=C2=A0(vectors 16 32974)
=C2=A0(vector-slots 8 653773 5373)
=C2=A0(floats 8 166 326)
=C2=A0(intervals 56 234 16)
=C2=A0(buffers 976 20))
=

--047d7b6dca52fd6744053e5f8989--