Subject: Re: bug#16863: 24.3.50; (NS) Frame size does not adjust when starting on / moving to smaller display

From: Adrian Robert <[email-masked]>
Date: Mon, 24 Feb 2014 12:32:37 +0200

Ah, sorry, I’ve now merged it.  I suppose I can be cited for laziness not to check, but hopefully this sort of thing can serve as motivation to bring in more currently-available bug-tracker technology (check for bugs w/similar keywords on submit) to emacs..

On 2014.2.24, at 12:20, Jan Djärv <[email-masked]> wrote:

> Hi. 
> 
> How is this different from bug #14713?
> 
>     Jan D. 
> 
>> 24 feb 2014 kl. 08:13 skrev Adrian Robert <[email-masked]>:
>> 
>> 
>> On a Mac with multi displays, if you have a frame on one display taller than a second one, and you move it to that second one, it will not shrink to accomodate it, but rather leave some of the bottom of the frame offscreen.  And if you have a height set in your NS resources (maybe frame-alist also) that is higher than the display that you start up on, the TOP of the frame may be offscreen, a situation which there is no way to rectify aside from creating a new frame and destroying that one.  This is a regression from previous behavior under NS.
>> 
>> 
>> 
>> 
>> In GNU Emacs 24.3.50.1 (x86_64-apple-darwin13.0.0, NS apple-appkit-1265.00)
>> of 2014-02-13 on vishuddha
>> Repository revision: 116427 [email-masked]
>> Windowing system distributor `Apple', version 10.3.1265
>> Configured using:
>> `configure --with-ns CFLAGS=-O3'
>> 
>> Important settings:
>> locale-coding-system: utf-8-unix
>> 
>> Major mode: Lisp Interaction
>> 
>> Minor modes in effect:
>> iswitchb-mode: t
>> auto-image-file-mode: t
>> which-function-mode: t
>> global-hl-line-mode: t
>> show-paren-mode: t
>> shell-dirtrack-mode: t
>> recentf-mode: t
>> ns-extended-platform-support-mode: t
>> tooltip-mode: t
>> mouse-wheel-mode: t
>> menu-bar-mode: t
>> file-name-shadow-mode: t
>> global-font-lock-mode: t
>> font-lock-mode: t
>> auto-composition-mode: t
>> auto-encryption-mode: t
>> auto-compression-mode: t
>> column-number-mode: t
>> line-number-mode: t
>> 
>> Recent input:
>> M-x r e p o r t - r e m <tab> <backspace> <backspace> 
>> <backspace> e <tab> <return>
>> 
>> Recent messages:
>> Loading /usr/local/share/emacs/site-lisp/cedet-1.0pre4/common/cedet.elc...done
>> Loading /usr/local/share/emacs/site-lisp/gnuserv.el (source)...done
>> Loading /usr/local/share/emacs/site-lisp/gnuserv-compat.el (source)...done
>> Loading `gnuserv-compat': old-style backquotes detected!
>> Loading mic-paren (compiled; note, source file is newer)...done
>> Loading gnus...done
>> Loading /Users/arobert/.emacs.d/.session...done
>> For information about GNU Emacs and the GNU system, type C-h C-a.
>> Package assoc is obsolete!
>> Package iswitchb is obsolete!
>> 
>> Load-path shadows:
>> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/speedbar/speedbar hides /Applications/Emacs.app/Contents/Resources/lisp/speedbar
>> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/speedbar/sb-image hides /Applications/Emacs.app/Contents/Resources/lisp/sb-image
>> /usr/local/share/emacs/site-lisp/format-spec hides /Applications/Emacs.app/Contents/Resources/lisp/format-spec
>> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/common/ezimage hides /Applications/Emacs.app/Contents/Resources/lisp/ezimage
>> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/speedbar/dframe hides /Applications/Emacs.app/Contents/Resources/lisp/dframe
>> /usr/local/share/emacs/site-lisp/uudecode hides /Applications/Emacs.app/Contents/Resources/lisp/mail/uudecode
>> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/eieio/eieio hides /Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/eieio
>> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/eieio/eieio-speedbar hides /Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/eieio-speedbar
>> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/eieio/eieio-opt hides /Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/eieio-opt
>> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/eieio/eieio-custom hides /Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/eieio-custom
>> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/eieio/eieio-base hides /Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/eieio-base
>> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/eieio/chart hides /Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/chart
>> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/semantic/semantic hides /Applications/Emacs.app/Contents/Resources/lisp/cedet/semantic
>> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/common/mode-local hides /Applications/Emacs.app/Contents/Resources/lisp/cedet/mode-local
>> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/common/inversion hides /Applications/Emacs.app/Contents/Resources/lisp/cedet/inversion
>> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/ede/ede hides /Applications/Emacs.app/Contents/Resources/lisp/cedet/ede
>> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/common/cedet hides /Applications/Emacs.app/Contents/Resources/lisp/cedet/cedet
>> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/common/cedet-files hides /Applications/Emacs.app/Contents/Resources/lisp/cedet/cedet-files
>> 
>> Features:
>> (shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies
>> mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
>> rfc2045 ietf-drums semantic-el semantic-bovine bovine-debug semantic-debug
>> package gnus gnus-ems nnheader mail-utils cus-start cus-load iswitchb
>> image-file which-func imenu hl-line mic-paren paren tramp tramp-compat
>> auth-source gnus-util mm-util mail-prsvr password-cache tramp-loaddefs
>> trampver shell pcomplete comint ansi-color ring format-spec decompile
>> gnuserv-compat devices gnuserv session ns-mark-nav ecb-autoloads cedet
>> cedet-contrib-load speedbar-load semantic-load semantic-ia-sb semantic-analyze
>> semantic-ctxt semantic-format semantic-cb semantic-sort semanticdb-find
>> semanticdb-el semanticdb-search semantic-find semanticdb semantic-util-modes
>> semantic-util semantic semantic-lex semantic-tag working fame semantic-fw
>> mode-local find-func derived eieio-load ede-speedbar ede ede-load
>> eieio-speedbar speedbar sb-image ezimage dframe assoc eieio-custom ede-source
>> eieio-base eieio cl-macs gv cl cogre-load cedet-load inversion edmacro kmacro
>> advice help-fns recentf tree-widget wid-edit cl-loaddefs cl-lib ido
>> ns-platform-support easy-mmode easymenu time-date tooltip electric uniquify
>> ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image
>> regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page
>> menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax
>> facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan
>> thai tai-viet lao korean japanese hebrew greek romanian slovak czech european
>> ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
>> abbrev minibuffer 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 make-network-process cocoa ns
>> multi-tty emacs)
>> 
>>