all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#28442: 26.0.50; desktop-save-mode no longer restores correct frame size on macOS
@ 2017-09-13 11:06 Aaron Jensen
  2017-09-13 11:22 ` Aaron Jensen
  2017-11-22 17:07 ` Alan Third
  0 siblings, 2 replies; 23+ messages in thread
From: Aaron Jensen @ 2017-09-13 11:06 UTC (permalink / raw)
  To: 28442


After d31cd79b40dbd5459b16505a4ee4340210499277 is applied,
desktop-save-mode will no longer restore frames on macOS to the proper
size. They end up being slightly smaller in both height and width,
meaning that repeated restarts will result in a shrinking frame.

I don't know where the equivalent is in desktop.el, but when
implementing my own version of restoring the frame position it was
(before d31cd79b) necessary to slightly adjust frame height and width
from the reported width when saving. I was able to remove this hack
after d31cd79b: https://github.com/aaronjensen/restore-frame-position/commit/b89f85e145dd94922a74de60f2e8993c80874796

Also note that even without d31cd79b, desktop-save-mode restores a
height that is roughly 4px shy of the frames's actual height, but that
may have something to do with a setting I have somewhere that allows my
emacs frame height to not be snapped to text height--I don't remember
what that setting is, however.

To repro:

emacs -Q

eval:

  (desktop-save-mode)

C-x C-c

emacs -Q

eval:

  (desktop-read)




In GNU Emacs 26.0.50 (build 1, x86_64-apple-darwin16.7.0, NS appkit-1504.83 Version 10.12.6 (Build 16G29))
 of 2017-09-13 built on aaron-mbpt.local
Repository revision: a0202fdc85ddc36b73a1c7c4f2d3ec45cd22c5e1
Windowing system distributor 'Apple', version 10.3.1504
Recent messages:
Desktop: 1 frame, 0 buffers restored.
Loading /Users/aaronjensen/.emacs-private.el (source)...
.emacs-private.el: ‘when-let’ is an obsolete macro (as of 26.1); use ‘when-let*’ instead.
Loading /Users/aaronjensen/.emacs-private.el (source)...done
Turning on magit-auto-revert-mode...done
evil-magit initialized
Starting new Ispell process aspell with default dictionary...
Loading /Users/aaronjensen/.emacs.d/.cache/recentf...done
Open the quickhelp.
Skipping check for new version (reason: dotfile)

Configured using:
 'configure
 'CFLAGS=-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libxml2
 -I/usr/local/opt/imagemagick@6/include' --disable-dependency-tracking
 --disable-silent-rules
 --enable-locallisppath=/usr/local/share/emacs/site-lisp
 --infodir=/usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/info/emacs
 --prefix=/usr/local/Cellar/emacs-plus/HEAD-d4c3669_2 --with-ns
 --disable-ns-self-contained --with-modules --with-xml2 --with-gnutls
 --with-imagemagick --with-rsvg --without-dbus --without-pop
 --without-makeinfo
 'LDFLAGS=-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/lib
 -lxml2 -lz -lpthread -licucore''

Configured features:
JPEG RSVG NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES

Important settings:
  value of $LC_CTYPE: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Spacemacs buffer

Minor modes in effect:
  global-git-gutter+-mode: t
  projectile-mode: t
  recentf-mode: t
  magit-auto-revert-mode: t
  global-git-commit-mode: t
  async-bytecomp-package-mode: t
  desktop-save-mode: t
  global-spacemacs-whitespace-cleanup-mode: t
  spacemacs-whitespace-cleanup-mode: t
  ws-butler-global-mode: t
  ws-butler-mode: t
  winum-mode: t
  winner-mode: t
  volatile-highlights-mode: t
  global-vi-tilde-fringe-mode: t
  pupo-mode: t
  purpose-mode: t
  spaceline-info-mode: t
  spaceline-helm-mode: t
  save-place-mode: t
  savehist-mode: t
  popwin-mode: t
  persp-mode: t
  Info-breadcrumbs-in-mode-line-mode: t
  flycheck-pos-tip-mode: t
  global-flycheck-mode: t
  flx-ido-mode: t
  eyebrowse-mode: t
  global-evil-surround-mode: t
  evil-surround-mode: t
  global-evil-search-highlight-persist: t
  evil-search-highlight-persist: t
  show-smartparens-global-mode: t
  show-smartparens-mode: t
  evil-lion-mode: t
  evil-escape-mode: t
  global-anzu-mode: t
  anzu-mode: t
  eval-sexp-fu-flash-mode: t
  editorconfig-mode: t
  global-edit-server-edit-mode: t
  diff-auto-refine-mode: t
  counsel-mode: t
  ivy-mode: t
  clean-aindent-mode: t
  hybrid-mode: t
  which-key-mode: t
  override-global-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  shell-dirtrack-mode: t
  evil-mode: t
  evil-local-mode: t
  spacemacs-leader-override-mode: t
  global-spacemacs-leader-override-mode: t
  global-hl-line-mode: t
  xterm-mouse-mode: t
  global-auto-revert-mode: t
  ido-vertical-mode: t
  global-page-break-lines-mode: t
  page-break-lines-mode: t
  global-eldoc-mode: t
  electric-indent-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
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Load-path shadows:
/Users/aaronjensen/.emacs.d/elpa/26.0/org-mac-link-20170105.1723/org-mac-link hides /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-mac-link
/Users/aaronjensen/.emacs.d/elpa/26.0/ht-20161015.1945/ht hides /Users/aaronjensen/.emacs.d/core/libs/ht
/Users/aaronjensen/.emacs.d/elpa/26.0/less-css-mode-20160930.2153/less-css-mode hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/textmodes/less-css-mode
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ox hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ox
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ox-texinfo hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ox-texinfo
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ox-publish hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ox-publish
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ox-org hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ox-org
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ox-odt hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ox-odt
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ox-md hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ox-md
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ox-man hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ox-man
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ox-latex hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ox-latex
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ox-icalendar hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ox-icalendar
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ox-html hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ox-html
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ox-beamer hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ox-beamer
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ox-ascii hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ox-ascii
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-w3m hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-w3m
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-version hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-version
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-timer hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-timer
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-table hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-table
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-src hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-src
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-rmail hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-rmail
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-protocol hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-protocol
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-plot hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-plot
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-pcomplete hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-pcomplete
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-mouse hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-mouse
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-mobile hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-mobile
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-mhe hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-mhe
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-macs hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-macs
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-macro hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-macro
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-loaddefs hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-loaddefs
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-list hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-list
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-lint hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-lint
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-irc hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-irc
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-install hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-install
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-inlinetask hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-inlinetask
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-info hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-info
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-indent hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-indent
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-id hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-id
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-habit hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-habit
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-gnus hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-gnus
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-footnote hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-footnote
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-feed hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-feed
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-faces hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-faces
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-eww hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-eww
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-eshell hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-eshell
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-entities hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-entities
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-element hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-element
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-docview hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-docview
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-datetree hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-datetree
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-ctags hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-ctags
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-crypt hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-crypt
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-compat hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-compat
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-colview hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-colview
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-clock hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-clock
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-capture hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-capture
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-bibtex hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-bibtex
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-bbdb hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-bbdb
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-attach hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-attach
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-archive hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-archive
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/org-agenda hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/org-agenda
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-tangle hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-tangle
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-table hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-table
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-stan hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-stan
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-sqlite hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-sqlite
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-sql hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-sql
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-shen hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-shen
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-shell hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-shell
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-sed hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-sed
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-screen hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-screen
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-scheme hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-scheme
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-sass hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-sass
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-ruby hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-ruby
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-ref hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-ref
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-R hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-R
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-python hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-python
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-processing hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-processing
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-plantuml hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-plantuml
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-picolisp hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-picolisp
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-perl hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-perl
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-org hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-org
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-octave hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-octave
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-ocaml hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-ocaml
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-mscgen hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-mscgen
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-maxima hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-maxima
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-matlab hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-matlab
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-makefile hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-makefile
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-lua hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-lua
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-lob hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-lob
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-lisp hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-lisp
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-lilypond hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-lilypond
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-ledger hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-ledger
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-latex hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-latex
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-keys hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-keys
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-js hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-js
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-java hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-java
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-J hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-J
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-io hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-io
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-haskell hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-haskell
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-groovy hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-groovy
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-gnuplot hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-gnuplot
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-fortran hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-fortran
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-forth hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-forth
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-exp hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-exp
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-eval hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-eval
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-emacs-lisp hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-emacs-lisp
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-ebnf hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-ebnf
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-dot hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-dot
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-ditaa hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-ditaa
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-css hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-css
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-core hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-core
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-coq hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-coq
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-comint hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-comint
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-clojure hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-clojure
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-calc hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-calc
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-C hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-C
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-awk hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-awk
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-asymptote hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-asymptote
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170911/ob-abc hides /usr/local/Cellar/emacs-plus/HEAD-d4c3669_2/share/emacs/26.0.50/lisp/org/ob-abc

Features:
(shadow sort editorconfig-core editorconfig-core-handle
editorconfig-fnmatch mail-extr emacsbug sendmail colir smex
git-gutter-fringe+ fringe-helper git-gutter+ docker-tramp tramp-cache
tramp tramp-compat tramp-loaddefs trampver parse-time projectile grep
compile recentf tree-widget aggressive-fill-paragraph org-inlinetask
ob-elixir ob-http ob-http-mode ob-restclient restclient ox-gfm ox-md
ox-reveal ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util
rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex
ox-icalendar ox-html table ox-ascii ox-publish ox orgit org-element
avl-tree generator git-rebase magit-gh-pulls gh gh-users gh-issues
gh-pulls gh-repos gh-comments gh-gist gh-oauth gh-api logito gh-cache
gh-auth gh-url url-http tls gnutls url url-proxy url-privacy url-expand
url-methods url-history mailcap url-auth url-cookie url-domsuf url-util
url-gw nsm evil-magit magit-obsolete magit-blame magit-stash
magit-bisect magit-remote magit-commit magit-sequence magit-notes
magit-worktree magit-branch magit-files magit-refs magit-status magit
magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode
magit-core magit-autorevert magit-process magit-margin magit-mode
magit-git magit-section magit-popup git-commit magit-utils crm log-edit
message puny rfc822 mml mml-sec epa epg gnus-util rmail rmail-loaddefs
mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log with-editor
async-bytecomp async org org-macro org-footnote org-pcomplete org-list
org-faces org-entities org-version ob-emacs-lisp ob ob-tangle org-src
ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval
org-compat org-macs org-loaddefs cal-menu calendar cal-loaddefs desktop
frameset quiet-emacs fill-or-unfill contextual-menubar init-xclip
init-flyspell init-terminal-cursor evil-terminal-cursor-changer init-org
init-magit evil-mc evil-mc-command-execute evil-mc-command-record
evil-mc-cursor-make evil-mc-region evil-mc-cursor-state evil-mc-undo
evil-mc-vars evil-mc-known-commands evil-mc-common hl-todo ucs-utils
persistent-soft list-utils pcache eieio-base font-utils server zone
xterm-color spacemacs-whitespace-cleanup ws-butler winum winner
window-purpose-x imenu-list imenu ibuf-ext ibuffer ibuffer-loaddefs
dired dired-loaddefs volatile-highlights vi-tilde-fringe unicode-fonts
tmux string-inflection spacemacs-purpose-popwin window-purpose
window-purpose-fixes window-purpose-prefix-overload
window-purpose-switch let-alist window-purpose-layout
window-purpose-core window-purpose-configuration window-purpose-utils
spaceline-config spaceline-segments spaceline powerline
powerline-separators color powerline-themes smartparens-config
smartparens-text smartparens-ruby saveplace savehist ruby-test-mode
pcre2el rxt re-builder ruby-mode smie popwin persp-mode osx-trash linum
ivy-hydra info+ image-mode gh-common gh-profile s marshal
flycheck-pos-tip pos-tip flycheck-flow flycheck find-func flx-ido
eyebrowse format-spec evil-surround evil-search-highlight-persist
evil-numbers evil-lisp-state smartparens dash evil-lion evil-indent-plus
evil-exchange evil-escape evil-args evil-anzu anzu cider-eval-sexp-fu
eval-sexp-fu highlight editorconfig edit-server noutline outline
dtrt-indent drupal/pcomplete rx diff-hl vc-dir ewoc vc vc-dispatcher
diff-mode counsel jka-compr esh-util etags xref project swiper ivy flx
delsel ivy-overlay ffap clean-aindent-mode adaptive-wrap hybrid-mode
exec-path-from-shell evil-evilified-state which-key use-package diminish
bind-key hydra lv cus-edit cus-start cus-load evil evil-integration
undo-tree diff evil-maps evil-commands flyspell ispell evil-jumps
evil-command-window evil-types evil-search evil-ex shell pcomplete
comint ansi-color evil-macros evil-repeat evil-states evil-core
evil-common windmove thingatpt rect evil-digraphs evil-vars ring info
bind-map quelpa help-fns radix-tree package-build mm-decode mm-bodies
mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums
mail-prsvr json map lisp-mnt hl-line xt-mouse autorevert filenotify
cl-extra disp-table wid-edit monokai-theme finder-inf init-sass init-php
init-html init-evil core-configuration-layer eieio-compat ht cl
help-mode warnings package epg-config url-handlers url-parse auth-source
cl-seq password-cache url-vars eieio eieio-core eieio-loaddefs
ido-vertical-mode ido seq byte-opt bytecomp byte-compile cconv
core-spacemacs core-use-package-ext core-transient-state
core-micro-state core-toggle core-keybindings core-fonts-support
core-spacemacs-buffer core-funcs cl-macs gv core-themes-support
core-display-init core-jump core-release-management core-custom-settings
core-dotspacemacs core-command-line pcase core-debug edmacro kmacro
derived advice profiler easymenu cl-loaddefs cl-lib page-break-lines
easy-mmode subr-x time-date tooltip eldoc electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize
mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow isearch timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors 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 composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray 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 kqueue cocoa ns multi-tty make-network-process emacs)

Memory information:
((conses 16 1211745 647890)
 (symbols 48 78272 93)
 (miscs 40 954 595)
 (strings 32 336715 142669)
 (string-bytes 1 9223807)
 (vectors 16 102942)
 (vector-slots 8 2434252 413857)
 (floats 8 527 1219)
 (intervals 56 2595 594)
 (buffers 992 13))





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

* bug#28442: 26.0.50; desktop-save-mode no longer restores correct frame size on macOS
  2017-09-13 11:06 bug#28442: 26.0.50; desktop-save-mode no longer restores correct frame size on macOS Aaron Jensen
@ 2017-09-13 11:22 ` Aaron Jensen
  2017-11-22 17:07 ` Alan Third
  1 sibling, 0 replies; 23+ messages in thread
From: Aaron Jensen @ 2017-09-13 11:22 UTC (permalink / raw)
  To: 28442

The setting I mentioned but could not remember was:

(setq frame-resize-pixelwise t)

Also, I just wanted to say thank you to you, Alan Third, for all of the work on
Emacs macOS. It is very much appreciated.

Thanks,

Aaron





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

* bug#28442: 26.0.50; desktop-save-mode no longer restores correct frame size on macOS
  2017-09-13 11:06 bug#28442: 26.0.50; desktop-save-mode no longer restores correct frame size on macOS Aaron Jensen
  2017-09-13 11:22 ` Aaron Jensen
@ 2017-11-22 17:07 ` Alan Third
  2017-11-22 17:15   ` Aaron Jensen
  2017-11-23  7:46   ` martin rudalics
  1 sibling, 2 replies; 23+ messages in thread
From: Alan Third @ 2017-11-22 17:07 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: 28442

Aaron Jensen <aaronjensen@gmail.com> writes:

> After d31cd79b40dbd5459b16505a4ee4340210499277 is applied,
> desktop-save-mode will no longer restore frames on macOS to the proper
> size. They end up being slightly smaller in both height and width,
> meaning that repeated restarts will result in a shrinking frame.
>
> I don't know where the equivalent is in desktop.el, but when
> implementing my own version of restoring the frame position it was
> (before d31cd79b) necessary to slightly adjust frame height and width
> from the reported width when saving. I was able to remove this hack
> after d31cd79b: https://github.com/aaronjensen/restore-frame-position/commit/b89f85e145dd94922a74de60f2e8993c80874796
>
> Also note that even without d31cd79b, desktop-save-mode restores a
> height that is roughly 4px shy of the frames's actual height, but that
> may have something to do with a setting I have somewhere that allows my
> emacs frame height to not be snapped to text height--I don't remember
> what that setting is, however.

Hi Aaron, I think you want to use frame-text-width and frame-text-height
rather than frame-geometry-*.

frame-geometry-width returns the outer width of the frame, but the
functions for *setting* the width and height use the inner frame size,
which I think equates to the text area size.
-- 
Alan Third





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

* bug#28442: 26.0.50; desktop-save-mode no longer restores correct frame size on macOS
  2017-11-22 17:07 ` Alan Third
@ 2017-11-22 17:15   ` Aaron Jensen
  2017-11-22 20:31     ` Alan Third
  2017-11-23  7:46   ` martin rudalics
  1 sibling, 1 reply; 23+ messages in thread
From: Aaron Jensen @ 2017-11-22 17:15 UTC (permalink / raw)
  To: Alan Third; +Cc: 28442

On November 22, 2017 at 9:07:14 AM, Alan Third
(alan@idiocy.org(mailto:alan@idiocy.org)) wrote:

>
> Hi Aaron, I think you want to use frame-text-width and frame-text-height
> rather than frame-geometry-*.
>
> frame-geometry-width returns the outer width of the frame, but the
> functions for *setting* the width and height use the inner frame size,
> which I think equates to the text area size.

Ah, that works, thank you.

That helps for my package, but is there a bug in desktop-save-mode still?

Aaron





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

* bug#28442: 26.0.50; desktop-save-mode no longer restores correct frame size on macOS
  2017-11-22 17:15   ` Aaron Jensen
@ 2017-11-22 20:31     ` Alan Third
  0 siblings, 0 replies; 23+ messages in thread
From: Alan Third @ 2017-11-22 20:31 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: 28442

On Wed, Nov 22, 2017 at 09:15:19AM -0800, Aaron Jensen wrote:
> On November 22, 2017 at 9:07:14 AM, Alan Third
> (alan@idiocy.org(mailto:alan@idiocy.org)) wrote:
> 
> >
> > Hi Aaron, I think you want to use frame-text-width and frame-text-height
> > rather than frame-geometry-*.
> >
> > frame-geometry-width returns the outer width of the frame, but the
> > functions for *setting* the width and height use the inner frame size,
> > which I think equates to the text area size.
> 
> Ah, that works, thank you.
> 
> That helps for my package, but is there a bug in desktop-save-mode still?

I imagine there must be (it’ll actually be in frameset.el).
Alternatively there’s a bug in the size getting or setting functions
in the NS port.

As far as I can tell they all work as expected, but if that was the
case then presumably other people would be complaining about this
problem on other platforms.

So, I think there’s a bug, but I don’t know where.

-- 
Alan Third





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

* bug#28442: 26.0.50; desktop-save-mode no longer restores correct frame size on macOS
  2017-11-22 17:07 ` Alan Third
  2017-11-22 17:15   ` Aaron Jensen
@ 2017-11-23  7:46   ` martin rudalics
  2017-11-23 20:41     ` Alan Third
  1 sibling, 1 reply; 23+ messages in thread
From: martin rudalics @ 2017-11-23  7:46 UTC (permalink / raw)
  To: Alan Third, Aaron Jensen; +Cc: 28442

 > frame-geometry-width

What is 'frame-geometry-width'?

 > returns the outer width of the frame, but the
 > functions for *setting* the width and height use the inner frame size,

No.  These functions "use" the text width and height of the frame.  Have
a look at section 29.3.1 Frame Layout of the Elisp manual.

 > which I think equates to the text area size.

Not necessarily.  To obtain the text width of a frame from its inner
width you have to subtract from the latter the widths of one vertical
scroll bar and one left and right fringe as defined for that frame.

martin





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

* bug#28442: 26.0.50; desktop-save-mode no longer restores correct frame size on macOS
  2017-11-23  7:46   ` martin rudalics
@ 2017-11-23 20:41     ` Alan Third
  2017-11-23 22:20       ` Aaron Jensen
  0 siblings, 1 reply; 23+ messages in thread
From: Alan Third @ 2017-11-23 20:41 UTC (permalink / raw)
  To: martin rudalics; +Cc: Aaron Jensen, 28442

On Thu, Nov 23, 2017 at 08:46:09AM +0100, martin rudalics wrote:
> > frame-geometry-width
> 
> What is 'frame-geometry-width'?

In this particular case I believe it’s the width component of
outer-size from frame-geometry.

I can’t reproduce the original report. I do see a reduction in size if
I set the frame using pixels, because it reduces down to the nearest
multiple of glyph width on restore. I’d expect that to be a one‐time
thing, though.
-- 
Alan Third





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

* bug#28442: 26.0.50; desktop-save-mode no longer restores correct frame size on macOS
  2017-11-23 20:41     ` Alan Third
@ 2017-11-23 22:20       ` Aaron Jensen
  2017-11-24  9:01         ` martin rudalics
  0 siblings, 1 reply; 23+ messages in thread
From: Aaron Jensen @ 2017-11-23 22:20 UTC (permalink / raw)
  To: martin rudalics, Alan Third; +Cc: 28442

On November 23, 2017 at 12:41:18 PM, Alan Third
(alan@idiocy.org(mailto:alan@idiocy.org)) wrote:

> On Thu, Nov 23, 2017 at 08:46:09AM +0100, martin rudalics wrote:
> I can’t reproduce the original report. I do see a reduction in size if
> I set the frame using pixels, because it reduces down to the nearest
> multiple of glyph width on restore. I’d expect that to be a one‐time
> thing, though.

Yes, I think it’s the initial resize that happens and only if my size
is set with (setq frame-resize-pixelwise t). Ultimately that means
that Emacs doesn’t return to the size I want.

I originally set out to submit
https://github.com/aaronjensen/restore-frame-position to MELPA and was
told about desktop-save-mode. If it’s behaving “as expected”, that is,
it should not respect frame-resize-pixelwise then maybe I’ll resubmit
to MELPA in case anyone else wants to restore frame position w/ pixel
precision.

Thanks,

Aaron





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

* bug#28442: 26.0.50; desktop-save-mode no longer restores correct frame size on macOS
  2017-11-23 22:20       ` Aaron Jensen
@ 2017-11-24  9:01         ` martin rudalics
  2017-11-24 16:33           ` Aaron Jensen
  0 siblings, 1 reply; 23+ messages in thread
From: martin rudalics @ 2017-11-24  9:01 UTC (permalink / raw)
  To: Aaron Jensen, Alan Third; +Cc: 28442

 > Yes, I think it’s the initial resize that happens and only if my size
 > is set with (setq frame-resize-pixelwise t). Ultimately that means
 > that Emacs doesn’t return to the size I want.

We'd probably need to save and restore two additional frame parameters
like 'text-pixel-width' and 'text-pixel-height' then.

 > I originally set out to submit
 > https://github.com/aaronjensen/restore-frame-position to MELPA and was
 > told about desktop-save-mode. If it’s behaving “as expected”, that is,
 > it should not respect frame-resize-pixelwise then maybe I’ll resubmit
 > to MELPA in case anyone else wants to restore frame position w/ pixel
 > precision.

Does `desktop-save-mode' have any problems restoring the frame position?

martin






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

* bug#28442: 26.0.50; desktop-save-mode no longer restores correct frame size on macOS
  2017-11-24  9:01         ` martin rudalics
@ 2017-11-24 16:33           ` Aaron Jensen
  2017-11-26 10:25             ` martin rudalics
  0 siblings, 1 reply; 23+ messages in thread
From: Aaron Jensen @ 2017-11-24 16:33 UTC (permalink / raw)
  To: martin rudalics, Alan Third; +Cc: 28442

On November 24, 2017 at 1:01:50 AM, martin rudalics
(rudalics@gmx.at(mailto:rudalics@gmx.at)) wrote:

> We'd probably need to save and restore two additional frame parameters
> like 'text-pixel-width' and 'text-pixel-height' then.

That’d be great.

> Does `desktop-save-mode' have any problems restoring the frame position?

Sorry, by position, I meant position and size. It seems to restore x/y
position just fine, it’s just the height/width that are problematic in
the way described.

Thanks,

Aaron





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

* bug#28442: 26.0.50; desktop-save-mode no longer restores correct frame size on macOS
  2017-11-24 16:33           ` Aaron Jensen
@ 2017-11-26 10:25             ` martin rudalics
  2017-11-26 18:47               ` bug#28442: 26.0.50; [PATCH] Save and restore frame pixel size with desktop-save-mode Aaron Jensen
  0 siblings, 1 reply; 23+ messages in thread
From: martin rudalics @ 2017-11-26 10:25 UTC (permalink / raw)
  To: Aaron Jensen, Alan Third; +Cc: 28442

 >> We'd probably need to save and restore two additional frame parameters
 >> like 'text-pixel-width' and 'text-pixel-height' then.
 >
 > That’d be great.

It would be nice if you could try to do that: First of all you would
have to look at how and why frameset.el ignores the pixel size of
frames.  I suspect it does that by going for the normal 'width' and
'height' parameters instead when saving and restoring frames.

So if the pixel width of a frame differs from what its width times
`frame-char-width' of that frame tells, you would have to add a separate
'text-pixel-width' parameter in `frameset--record-relationships' and
have `frameset--restore-frame' use the value of that parameter instead
of (or maybe after) processing the normal 'width' parameter.

I'd try to not always use 'text-pixel-width' instead of 'width' because
otherwise we might deceive more conservative users.  There's one tricky
case mentioned by this comment in frameset.el:

       ;; Currently Emacs has the limitation that it does not record the size
       ;; and position of a frame before maximizing it, so we cannot save &
       ;; restore that info.  Instead, when restoring, we resort to creating
       ;; invisible "fullscreen" frames of default size and then maximizing them
       ;; (and making them visible) which at least is somewhat user-friendly
       ;; when these frames are later de-maximized.

so I would also propose to not save a 'text-pixel-width' parameter when
a frame is maximized or fullscreen.

I intend to resolve that latter issue eventually by storing some sort of
normal width in the frame structure (which would likely be some pixel
width) but am not yet sure how to do that.

martin






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

* bug#28442: 26.0.50; [PATCH] Save and restore frame pixel size with desktop-save-mode
  2017-11-26 10:25             ` martin rudalics
@ 2017-11-26 18:47               ` Aaron Jensen
  2017-11-26 22:15                 ` Aaron Jensen
  2017-11-27  8:48                 ` martin rudalics
  0 siblings, 2 replies; 23+ messages in thread
From: Aaron Jensen @ 2017-11-26 18:47 UTC (permalink / raw)
  To: martin rudalics, Alan Third; +Cc: 28442

How’s this?

---
 ChangeLog.3      | 11 +++++++++++
 lisp/frameset.el | 28 +++++++++++++++++++++++++++-
 2 files changed, 38 insertions(+), 1 deletion(-)

diff --git a/ChangeLog.3 b/ChangeLog.3
index 46d98d8026..00cc440479 100644
--- a/ChangeLog.3
+++ b/ChangeLog.3
@@ -1,3 +1,14 @@
+2017-11-26  Aaron Jensen  <aaronjensen@gmail.com>
+
+	Save and restore text-pixel height and width of
+	frames. (Bug#28442)
+
+	* lisp/frameset.el
+	(frameset--record-relationships): Record text-pixel-height and
+	text-pixel-width of frame.
+	(frameset--restore-frame): Restore text-pixel-height and
+	text-pixel-width of frame if available.
+
 2017-10-11  Michael Albinus  <michael.albinus@gmx.de>

 	Format shell commands in tramp.texi
diff --git a/lisp/frameset.el b/lisp/frameset.el
index 16940f814a..e2d26411e9 100644
--- a/lisp/frameset.el
+++ b/lisp/frameset.el
@@ -745,6 +745,8 @@ frameset--record-relationships
 - `delete-before' via `frameset--delete-before'
 - `parent-frame' via `frameset--parent-frame'
 - `mouse-wheel-frame' via `frameset--mouse-wheel-frame'
+- `text-pixel-width' via `frameset--text-pixel-width'
+- `text-pixel-height' via `frameset--text-pixel-height'

 Internal use only."
   ;; Record frames with their own minibuffer
@@ -791,7 +793,23 @@ frameset--record-relationships
              'frameset--mini
              (cons nil
                    (and mb-frame
-                        (frameset-frame-id mb-frame))))))))))
+                        (frameset-frame-id mb-frame)))))))))
+  ;; Now store text-pixel width and height if it differs from the calculated
+  ;; width and height and the frame is not fullscreen.
+  (dolist (frame frame-list)
+    (unless (frame-parameter frame 'fullscreen)
+      (unless (eq (* (frame-parameter frame 'width)
+                     (frame-char-width frame))
+                  (frame-text-width frame))
+        (set-frame-parameter
+         frame 'frameset--text-pixel-width
+         (frame-text-width frame)))
+      (unless (eq (* (frame-parameter frame 'height)
+                     (frame-char-height frame))
+                  (frame-text-height frame))
+        (set-frame-parameter
+         frame 'frameset--text-pixel-height
+         (frame-text-height frame))))))

 ;;;###autoload
 (cl-defun frameset-save (frame-list
@@ -1002,6 +1020,14 @@ frameset--restore-frame
 	 (display (cdr (assq 'display filtered-cfg))) ;; post-filtering
 	 alt-cfg frame)

+    ;; Use text-pixels for height and width, if available.
+    (let ((text-pixel-width (cdr (assq 'frameset--text-pixel-width
parameters)))
+          (text-pixel-height (cdr (assq 'frameset--text-pixel-height
parameters))))
+      (when text-pixel-width
+        (setf (alist-get 'width filtered-cfg) (cons 'text-pixels
text-pixel-width)))
+      (when text-pixel-height
+        (setf (alist-get 'height filtered-cfg) (cons 'text-pixels
text-pixel-height))))
+
     (when fullscreen
       ;; Currently Emacs has the limitation that it does not record the size
       ;; and position of a frame before maximizing it, so we cannot save &
--
2.15.0





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

* bug#28442: 26.0.50; [PATCH] Save and restore frame pixel size with desktop-save-mode
  2017-11-26 18:47               ` bug#28442: 26.0.50; [PATCH] Save and restore frame pixel size with desktop-save-mode Aaron Jensen
@ 2017-11-26 22:15                 ` Aaron Jensen
  2017-11-27  3:34                   ` Eli Zaretskii
  2017-11-27  8:48                 ` martin rudalics
  1 sibling, 1 reply; 23+ messages in thread
From: Aaron Jensen @ 2017-11-26 22:15 UTC (permalink / raw)
  To: martin rudalics, Alan Third; +Cc: 28442

I don’t know if the previous patch warrants it, but I should probably
sign an FSF Copyright Assignment. Could someone send me the forms
please?


Aaron





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

* bug#28442: 26.0.50; [PATCH] Save and restore frame pixel size with desktop-save-mode
  2017-11-26 22:15                 ` Aaron Jensen
@ 2017-11-27  3:34                   ` Eli Zaretskii
  0 siblings, 0 replies; 23+ messages in thread
From: Eli Zaretskii @ 2017-11-27  3:34 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: alan, 28442

> From: Aaron Jensen <aaronjensen@gmail.com>
> Date: Sun, 26 Nov 2017 14:15:50 -0800
> Cc: 28442@debbugs.gnu.org
> 
> I don’t know if the previous patch warrants it, but I should probably
> sign an FSF Copyright Assignment. Could someone send me the forms
> please?

Forms sent off-list.

Thanks.





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

* bug#28442: 26.0.50; [PATCH] Save and restore frame pixel size with desktop-save-mode
  2017-11-26 18:47               ` bug#28442: 26.0.50; [PATCH] Save and restore frame pixel size with desktop-save-mode Aaron Jensen
  2017-11-26 22:15                 ` Aaron Jensen
@ 2017-11-27  8:48                 ` martin rudalics
  2017-11-27 16:52                   ` Aaron Jensen
  1 sibling, 1 reply; 23+ messages in thread
From: martin rudalics @ 2017-11-27  8:48 UTC (permalink / raw)
  To: Aaron Jensen, Alan Third; +Cc: 28442

 > How’s this?

Elegant, in particular the `frameset--restore-frame' part.  Eli will
decide whether we can put this on the release branch.  In either case
we'll have to wait until your paperwork is complete.  And please send
diffs as attachments, one of our MUAs has decided to truncate some of
the lines.

One thing I'm not yet sure about is how a user's setting of
`frame-resize-pixelwise' may affect restoring the desktop.  I'd be
reluctant to change that variable from within frameset or using
`desktop-after-read-hook' to set it (which might be too late anyway).

Note that some window managers may refuse to resize a frame to a
non-integral size unless the appropriate WM hints have been set as we do
in x_wm_set_size_hint in either xterm.c or gtkutil.c:

   size_hints.width_inc = frame_resize_pixelwise ? 1 : FRAME_COLUMN_WIDTH (f);
   size_hints.height_inc = frame_resize_pixelwise ? 1 : FRAME_LINE_HEIGHT (f);

Maybe we have to provide an additional frame parameter
'resize-pixelwise' which would override the global
`frame-resize-pixelwise' setting for that particular frame.  But let's
wait for such a thing until we see an urgent need for it.

Anyway, since I'm not using desktop please confirm the following: When
`desktop-read' runs and your init file contains a non-nil customization
for `frame-resize-pixelwise', the size hints are set correctly to 1 for
each frame restored.

Thank you very much, martin






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

* bug#28442: 26.0.50; [PATCH] Save and restore frame pixel size with desktop-save-mode
  2017-11-27  8:48                 ` martin rudalics
@ 2017-11-27 16:52                   ` Aaron Jensen
  2017-12-15 15:30                     ` Aaron Jensen
  0 siblings, 1 reply; 23+ messages in thread
From: Aaron Jensen @ 2017-11-27 16:52 UTC (permalink / raw)
  To: martin rudalics, Alan Third; +Cc: 28442

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

On November 27, 2017 at 12:48:27 AM, martin rudalics
(rudalics@gmx.at(mailto:rudalics@gmx.at)) wrote:

> > How’s this?
>
> Elegant, in particular the `frameset--restore-frame' part. Eli will
> decide whether we can put this on the release branch. In either case
> we'll have to wait until your paperwork is complete. And please send
> diffs as attachments, one of our MUAs has decided to truncate some of
> the lines.

Thanks, I've attached it.

> Anyway, since I'm not using desktop please confirm the following: When
> `desktop-read' runs and your init file contains a non-nil customization
> for `frame-resize-pixelwise', the size hints are set correctly to 1 for
> each frame restored.

Unfortunately, I’m on macOS so I’m not sure that the size hints come
into play. That said, it works on macOS.

If you’d like to test on your machine, this is a relatively
non-intrusive config that should only remember frame positions:

  (setq desktop-globals-to-save '()
        desktop-files-not-to-save ".*"
        desktop-buffers-not-to-save ".*"
        desktop-save t)
  (when (and (window-system)
             (not (boundp 'desktop-has-read)))
    (setq desktop-has-read t)
    (desktop-save-mode)
    (desktop-read))


> Thank you very much, martin

No problem, thank you for your guidance.

Aaron

[-- Attachment #2: 0001-Save-and-restore-frame-pixel-size-with-desktop-save-.patch --]
[-- Type: application/octet-stream, Size: 3307 bytes --]

From 898b179df534c893372cc4acc56f1ea053cefdf7 Mon Sep 17 00:00:00 2001
From: Aaron Jensen <aaronjensen@gmail.com>
Date: Sun, 26 Nov 2017 10:38:39 -0800
Subject: [PATCH] Save and restore frame pixel size with desktop-save-mode

Fixes #28442
---
 ChangeLog.3      | 11 +++++++++++
 lisp/frameset.el | 28 +++++++++++++++++++++++++++-
 2 files changed, 38 insertions(+), 1 deletion(-)

diff --git a/ChangeLog.3 b/ChangeLog.3
index 46d98d8026..00cc440479 100644
--- a/ChangeLog.3
+++ b/ChangeLog.3
@@ -1,3 +1,14 @@
+2017-11-26  Aaron Jensen  <aaronjensen@gmail.com>
+
+	Save and restore text-pixel height and width of
+	frames. (Bug#28442)
+
+	* lisp/frameset.el
+	(frameset--record-relationships): Record text-pixel-height and
+	text-pixel-width of frame.
+	(frameset--restore-frame): Restore text-pixel-height and
+	text-pixel-width of frame if available.
+
 2017-10-11  Michael Albinus  <michael.albinus@gmx.de>
 
 	Format shell commands in tramp.texi
diff --git a/lisp/frameset.el b/lisp/frameset.el
index 16940f814a..e2d26411e9 100644
--- a/lisp/frameset.el
+++ b/lisp/frameset.el
@@ -745,6 +745,8 @@ frameset--record-relationships
 - `delete-before' via `frameset--delete-before'
 - `parent-frame' via `frameset--parent-frame'
 - `mouse-wheel-frame' via `frameset--mouse-wheel-frame'
+- `text-pixel-width' via `frameset--text-pixel-width'
+- `text-pixel-height' via `frameset--text-pixel-height'
 
 Internal use only."
   ;; Record frames with their own minibuffer
@@ -791,7 +793,23 @@ frameset--record-relationships
              'frameset--mini
              (cons nil
                    (and mb-frame
-                        (frameset-frame-id mb-frame))))))))))
+                        (frameset-frame-id mb-frame)))))))))
+  ;; Now store text-pixel width and height if it differs from the calculated
+  ;; width and height and the frame is not fullscreen.
+  (dolist (frame frame-list)
+    (unless (frame-parameter frame 'fullscreen)
+      (unless (eq (* (frame-parameter frame 'width)
+                     (frame-char-width frame))
+                  (frame-text-width frame))
+        (set-frame-parameter
+         frame 'frameset--text-pixel-width
+         (frame-text-width frame)))
+      (unless (eq (* (frame-parameter frame 'height)
+                     (frame-char-height frame))
+                  (frame-text-height frame))
+        (set-frame-parameter
+         frame 'frameset--text-pixel-height
+         (frame-text-height frame))))))
 
 ;;;###autoload
 (cl-defun frameset-save (frame-list
@@ -1002,6 +1020,14 @@ frameset--restore-frame
 	 (display (cdr (assq 'display filtered-cfg))) ;; post-filtering
 	 alt-cfg frame)
 
+    ;; Use text-pixels for height and width, if available.
+    (let ((text-pixel-width (cdr (assq 'frameset--text-pixel-width parameters)))
+          (text-pixel-height (cdr (assq 'frameset--text-pixel-height parameters))))
+      (when text-pixel-width
+        (setf (alist-get 'width filtered-cfg) (cons 'text-pixels text-pixel-width)))
+      (when text-pixel-height
+        (setf (alist-get 'height filtered-cfg) (cons 'text-pixels text-pixel-height))))
+
     (when fullscreen
       ;; Currently Emacs has the limitation that it does not record the size
       ;; and position of a frame before maximizing it, so we cannot save &
-- 
2.15.0


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

* bug#28442: 26.0.50; [PATCH] Save and restore frame pixel size with desktop-save-mode
  2017-11-27 16:52                   ` Aaron Jensen
@ 2017-12-15 15:30                     ` Aaron Jensen
  2017-12-15 18:16                       ` martin rudalics
  0 siblings, 1 reply; 23+ messages in thread
From: Aaron Jensen @ 2017-12-15 15:30 UTC (permalink / raw)
  To: martin rudalics, Alan Third; +Cc: 28442

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

FYI, my copyright assignment has been completed. Let me know if there’s
anything else needed on this patch.

Thanks,

Aaron

On November 27, 2017 at 8:52:09 AM, Aaron Jensen (aaronjensen@gmail.com)
wrote:

On November 27, 2017 at 12:48:27 AM, martin rudalics (rudalics@gmx.at
(mailto:rudalics@gmx.at)) wrote:

> > How’s this?
>
> Elegant, in particular the `frameset--restore-frame' part. Eli will
> decide whether we can put this on the release branch. In either case
> we'll have to wait until your paperwork is complete. And please send
> diffs as attachments, one of our MUAs has decided to truncate some of
> the lines.

Thanks, I've attached it.

> Anyway, since I'm not using desktop please confirm the following: When
> `desktop-read' runs and your init file contains a non-nil customization
> for `frame-resize-pixelwise', the size hints are set correctly to 1 for
> each frame restored.

Unfortunately, I’m on macOS so I’m not sure that the size hints come into
play. That said, it works on macOS.

If you’d like to test on your machine, this is a relatively non-intrusive
config that should only remember frame positions:

  (setq desktop-globals-to-save '()
        desktop-files-not-to-save ".*"
        desktop-buffers-not-to-save ".*"
        desktop-save t)
  (when (and (window-system)
             (not (boundp 'desktop-has-read)))
    (setq desktop-has-read t)
    (desktop-save-mode)
    (desktop-read))


> Thank you very much, martin

No problem, thank you for your guidance.

Aaron

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

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

* bug#28442: 26.0.50; [PATCH] Save and restore frame pixel size with desktop-save-mode
  2017-12-15 15:30                     ` Aaron Jensen
@ 2017-12-15 18:16                       ` martin rudalics
  2017-12-15 20:35                         ` Eli Zaretskii
  0 siblings, 1 reply; 23+ messages in thread
From: martin rudalics @ 2017-12-15 18:16 UTC (permalink / raw)
  To: Aaron Jensen, Alan Third; +Cc: 28442

 > FYI, my copyright assignment has been completed. Let me know if there’s
 > anything else needed on this patch.

Eli, OK to install?  If so, where?

Thanks, martin






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

* bug#28442: 26.0.50; [PATCH] Save and restore frame pixel size with desktop-save-mode
  2017-12-15 18:16                       ` martin rudalics
@ 2017-12-15 20:35                         ` Eli Zaretskii
  2017-12-16  9:41                           ` martin rudalics
  0 siblings, 1 reply; 23+ messages in thread
From: Eli Zaretskii @ 2017-12-15 20:35 UTC (permalink / raw)
  To: martin rudalics; +Cc: alan, aaronjensen, 28442

> Date: Fri, 15 Dec 2017 19:16:44 +0100
> From: martin rudalics <rudalics@gmx.at>
> CC: 28442@debbugs.gnu.org, "eliz@gnu.org" <eliz@gnu.org>
> 
>  > FYI, my copyright assignment has been completed. Let me know if there’s
>  > anything else needed on this patch.
> 
> Eli, OK to install?  If so, where?

The emacs-26 branch, please.

Thanks.





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

* bug#28442: 26.0.50; [PATCH] Save and restore frame pixel size with desktop-save-mode
  2017-12-15 20:35                         ` Eli Zaretskii
@ 2017-12-16  9:41                           ` martin rudalics
  2017-12-16 16:21                             ` Aaron Jensen
  0 siblings, 1 reply; 23+ messages in thread
From: martin rudalics @ 2017-12-16  9:41 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: alan, aaronjensen, 28442

 > The emacs-26 branch, please.

Done.  Aaron, please check whether the commit went as intended and close
the bug if that is the case.

Thank you, martin





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

* bug#28442: 26.0.50; [PATCH] Save and restore frame pixel size with desktop-save-mode
  2017-12-16  9:41                           ` martin rudalics
@ 2017-12-16 16:21                             ` Aaron Jensen
  2017-12-16 17:30                               ` martin rudalics
  2017-12-16 17:39                               ` Noam Postavsky
  0 siblings, 2 replies; 23+ messages in thread
From: Aaron Jensen @ 2017-12-16 16:21 UTC (permalink / raw)
  To: martin rudalics, Eli Zaretskii; +Cc: alan, 28442

tags 28442 fixed
close 28442
quit

On December 16, 2017 at 1:41:41 AM, martin rudalics
(rudalics@gmx.at(mailto:rudalics@gmx.at)) wrote:

> Done. Aaron, please check whether the commit went as intended and close
> the bug if that is the case.

It seems to work, thanks! (Hopefully I’m closing the bug right, please
let me know if not)

Aaron





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

* bug#28442: 26.0.50; [PATCH] Save and restore frame pixel size with desktop-save-mode
  2017-12-16 16:21                             ` Aaron Jensen
@ 2017-12-16 17:30                               ` martin rudalics
  2017-12-16 17:39                               ` Noam Postavsky
  1 sibling, 0 replies; 23+ messages in thread
From: martin rudalics @ 2017-12-16 17:30 UTC (permalink / raw)
  To: Aaron Jensen, Eli Zaretskii; +Cc: 28442-done, alan

> (Hopefully I’m closing the bug right, please
> let me know if not)

Apparently not.  I'm now CCing this message to

28442-done@debbugs.gnu.org

in the hope to succeed.

Thanks, martin









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

* bug#28442: 26.0.50; [PATCH] Save and restore frame pixel size with desktop-save-mode
  2017-12-16 16:21                             ` Aaron Jensen
  2017-12-16 17:30                               ` martin rudalics
@ 2017-12-16 17:39                               ` Noam Postavsky
  1 sibling, 0 replies; 23+ messages in thread
From: Noam Postavsky @ 2017-12-16 17:39 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: alan, 28442

Aaron Jensen <aaronjensen@gmail.com> writes:

> tags 28442 fixed
> close 28442
> quit

> It seems to work, thanks! (Hopefully I’m closing the bug right, please
> let me know if not)

You have to send the "close xxxxx" message to control@debbugs.gnu.org;
when doing this as part of a bug thread, you should use Bcc so that
followups won't also go to control@debbugs.gnu.org (hence why when you
see others do it, the control@debbugs.gnu.org address is not apparent).

See also https://debbugs.gnu.org/server-control.html






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

end of thread, other threads:[~2017-12-16 17:39 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-13 11:06 bug#28442: 26.0.50; desktop-save-mode no longer restores correct frame size on macOS Aaron Jensen
2017-09-13 11:22 ` Aaron Jensen
2017-11-22 17:07 ` Alan Third
2017-11-22 17:15   ` Aaron Jensen
2017-11-22 20:31     ` Alan Third
2017-11-23  7:46   ` martin rudalics
2017-11-23 20:41     ` Alan Third
2017-11-23 22:20       ` Aaron Jensen
2017-11-24  9:01         ` martin rudalics
2017-11-24 16:33           ` Aaron Jensen
2017-11-26 10:25             ` martin rudalics
2017-11-26 18:47               ` bug#28442: 26.0.50; [PATCH] Save and restore frame pixel size with desktop-save-mode Aaron Jensen
2017-11-26 22:15                 ` Aaron Jensen
2017-11-27  3:34                   ` Eli Zaretskii
2017-11-27  8:48                 ` martin rudalics
2017-11-27 16:52                   ` Aaron Jensen
2017-12-15 15:30                     ` Aaron Jensen
2017-12-15 18:16                       ` martin rudalics
2017-12-15 20:35                         ` Eli Zaretskii
2017-12-16  9:41                           ` martin rudalics
2017-12-16 16:21                             ` Aaron Jensen
2017-12-16 17:30                               ` martin rudalics
2017-12-16 17:39                               ` Noam Postavsky

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.