unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24651: 25.1; frame-inherited-parameters only partially works
@ 2016-10-08 19:29 Colin Fraizer
  2020-11-30 12:05 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 11+ messages in thread
From: Colin Fraizer @ 2016-10-08 19:29 UTC (permalink / raw)
  To: 24651

[-- 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 --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-02-08  6:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-08 19:29 bug#24651: 25.1; frame-inherited-parameters only partially works Colin Fraizer
2020-11-30 12:05 ` 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

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).