all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Colin Fraizer <colin.fraizer@gmail.com>
To: 24651@debbugs.gnu.org
Subject: bug#24651: 25.1; frame-inherited-parameters only partially works
Date: Sat, 8 Oct 2016 15:29:00 -0400	[thread overview]
Message-ID: <CAGo9M378UmZnuztxqUmFH40iAeto1zf3Tx2CXcUGY6aGwdMPzA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 4036 bytes --]

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)) <RET>
    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))))) <RET>
    M-x my-debug-fcn <RET>
    ((#<frame  *Minibuf-1* 0x10484f5a0> (height 79) (width 131) (top 23)
(left 962)))

    C-x 5 2
    M-x my-debug-fcn <RET>
    ((#<frame save-me-frames.el 0x10837e638> (height 36) (width 131) (top
23) (left 962))
    (#<frame  *Minibuf-1* 0x10484f5a0> (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
"((#<frame save-me-frames.el 0x10837e638> (height 36) (width 131) (top 23)
(left 962)) (#<frame  *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 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))

[-- Attachment #2: Type: text/html, Size: 5625 bytes --]

             reply	other threads:[~2016-10-08 19:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-08 19:29 Colin Fraizer [this message]
2020-11-30 12:05 ` bug#24651: 25.1; frame-inherited-parameters only partially works Lars Ingebrigtsen
2020-11-30 17:30   ` martin rudalics
2020-12-02  9:57     ` Lars Ingebrigtsen
2020-12-02 10:31       ` martin rudalics
2020-12-02 17:00       ` Stefan Monnier
2020-12-03  9:53         ` martin rudalics
2020-12-03 10:28           ` Lars Ingebrigtsen
2020-12-03 15:26             ` Stefan Monnier
2020-12-03 15:45               ` martin rudalics
2022-02-08  6:38               ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAGo9M378UmZnuztxqUmFH40iAeto1zf3Tx2CXcUGY6aGwdMPzA@mail.gmail.com \
    --to=colin.fraizer@gmail.com \
    --cc=24651@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.