Subject: bug#16863: closed (Re: bug#14713: 24.3.50; NS regression: frame size does not adjust to smaller desktop)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 08 Mar 2014 15:51:03 +0000

Your bug report

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

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
14713: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14713
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#14713: 24.3.50; NS regression: frame size does not adjust to smaller desktop
From: "Jan D." <[email-masked]>
To: Adrian Robert <[email-masked]>
Cc: [email-masked]
Date: Sat, 08 Mar 2014 16:50:41 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

This is fixed in trunk.

	Jan D.

Adrian Robert skrev 2013-06-25 19:19:
>
> If I drag an emacs frame from one display to another in a multi-monitor setup, the frame used to automatically resize to fit the smaller display. Now it now longer does. And if you had a large frame size remembered from the previous run, and start on a smaller display, it will also fail to adjust. Not sure when this regressed, it may have been either in the Mitsuharu-related display size-reporting function changes or else in some general size-and-windowing-related changes that occurred earlier.
>
>
>
>
> In GNU Emacs 24.3.50.1 (x86_64-apple-darwin12.4.0, NS apple-appkit-1187.39)
> of 2013-06-25 on vishuddha.local
> Bzr revision: 113168 [email-masked]
> Windowing system distributor `Apple', version 10.3.1187
> Configured using:
> `configure --with-ns CFLAGS=-Os'
>
> Important settings:
>    value of $LANG: en_US.UTF-8
>    locale-coding-system: utf-8-unix
>    default enable-multibyte-characters: t
>
> Major mode: Text
>
> 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
>    diff-auto-refine-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
>    auto-fill-function: do-auto-fill
>
> Recent input:
> <down-mouse-1> <mouse-1> C-x C-f <M-backspace> <M-backspace>
> N a <tab> <tab> p l <tab> <backspace> <backspace> <tab>
> <tab> E n <tab> <M-backspace> <tab> <tab> D o c <tab>
> <tab> c l o u d 2 _ l i c e n t <backspace> s i n g
> . t x t <return> <menu-bar> <options> <blink-cursor-mode>
> <menu-bar> <help-menu> <send-emacs-bug-report>
>
> Recent messages:
> 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!
> Making completion list... [4 times]
> (New file)
> Blink-Cursor mode disabled
>
> Load-path shadows:
> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/speedbar/speedbar hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/speedbar
> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/speedbar/sb-image hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/sb-image
> /usr/local/share/emacs/site-lisp/format-spec hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/format-spec
> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/common/ezimage hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/ezimage
> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/speedbar/dframe hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/dframe
> /usr/local/share/emacs/site-lisp/nxml-mode-20041004/xsd-regexp hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/nxml/xsd-regexp
> /usr/local/share/emacs/site-lisp/nxml-mode-20041004/xmltok hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/nxml/xmltok
> /usr/local/share/emacs/site-lisp/nxml-mode-20041004/rng-xsd hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/nxml/rng-xsd
> /usr/local/share/emacs/site-lisp/nxml-mode-20041004/rng-valid hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/nxml/rng-valid
> /usr/local/share/emacs/site-lisp/nxml-mode-20041004/rng-util hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/nxml/rng-util
> /usr/local/share/emacs/site-lisp/nxml-mode-20041004/rng-uri hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/nxml/rng-uri
> /usr/local/share/emacs/site-lisp/nxml-mode-20041004/rng-pttrn hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/nxml/rng-pttrn
> /usr/local/share/emacs/site-lisp/nxml-mode-20041004/rng-parse hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/nxml/rng-parse
> /usr/local/share/emacs/site-lisp/nxml-mode-20041004/rng-nxml hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/nxml/rng-nxml
> /usr/local/share/emacs/site-lisp/nxml-mode-20041004/rng-match hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/nxml/rng-match
> /usr/local/share/emacs/site-lisp/nxml-mode-20041004/rng-maint hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/nxml/rng-maint
> /usr/local/share/emacs/site-lisp/nxml-mode-20041004/rng-loc hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/nxml/rng-loc
> /usr/local/share/emacs/site-lisp/nxml-mode-20041004/rng-dt hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/nxml/rng-dt
> /usr/local/share/emacs/site-lisp/nxml-mode-20041004/rng-cmpct hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/nxml/rng-cmpct
> /usr/local/share/emacs/site-lisp/nxml-mode-20041004/nxml-util hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/nxml/nxml-util
> /usr/local/share/emacs/site-lisp/nxml-mode-20041004/nxml-uchnm hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/nxml/nxml-uchnm
> /usr/local/share/emacs/site-lisp/nxml-mode-20041004/nxml-rap hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/nxml/nxml-rap
> /usr/local/share/emacs/site-lisp/nxml-mode-20041004/nxml-parse hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/nxml/nxml-parse
> /usr/local/share/emacs/site-lisp/nxml-mode-20041004/nxml-outln hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/nxml/nxml-outln
> /usr/local/share/emacs/site-lisp/nxml-mode-20041004/nxml-ns hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/nxml/nxml-ns
> /usr/local/share/emacs/site-lisp/nxml-mode-20041004/nxml-mode hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/nxml/nxml-mode
> /usr/local/share/emacs/site-lisp/nxml-mode-20041004/nxml-maint hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/nxml/nxml-maint
> /usr/local/share/emacs/site-lisp/nxml-mode-20041004/nxml-glyph hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/nxml/nxml-glyph
> /usr/local/share/emacs/site-lisp/nxml-mode-20041004/nxml-enc hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/nxml/nxml-enc
> /usr/local/share/emacs/site-lisp/uudecode hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/mail/uudecode
> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/eieio/eieio hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/emacs-lisp/eieio
> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/eieio/eieio-speedbar hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/emacs-lisp/eieio-speedbar
> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/eieio/eieio-opt hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/emacs-lisp/eieio-opt
> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/eieio/eieio-custom hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/emacs-lisp/eieio-custom
> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/eieio/eieio-base hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/emacs-lisp/eieio-base
> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/eieio/chart hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/emacs-lisp/chart
> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/semantic/semantic hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/cedet/semantic
> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/common/mode-local hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/cedet/mode-local
> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/common/inversion hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/cedet/inversion
> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/ede/ede hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/cedet/ede
> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/common/cedet hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/Emacs.app/Contents/Resources/lisp/cedet/cedet
> /usr/local/share/emacs/site-lisp/cedet-1.0pre4/common/cedet-files hides /Users/arobert/src/EmacsApp/Bzr/trunk/nextstep/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 vc-fossil eieio-opt disp-table help-mode semantic-el
> semantic-bovine bovine-debug semantic-debug 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 format-spec decompile
> gnuserv-compat devices gnuserv nxml-enc powershell-mode compile thingatpt
> session coffee-mode comint ansi-color magit-bisect magit-key-mode magit
> diff-mode log-edit ring pcvs-util add-log 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 wid-edit
> ede-source eieio-base eieio cl-macs gv cl cl-loaddefs cl-lib cogre-load
> cedet-load inversion edmacro kmacro nadvice advice help-fns
> ns-platform-support easy-mmode easymenu time-date tooltip 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 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 ns multi-tty
> emacs)
>
>

Subject: 24.3.50; (NS) Frame size does not adjust when starting on / moving to smaller display
From: Adrian Robert <[email-masked]>
To: [email-masked]
Date: Mon, 24 Feb 2014 09:13:14 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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)