all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Aaron Jensen <aaronjensen@gmail.com>
To: martin rudalics <rudalics@gmx.at>, Alan Third <alan@idiocy.org>
Cc: 28442@debbugs.gnu.org
Subject: bug#28442: 26.0.50; [PATCH] Save and restore frame pixel size with desktop-save-mode
Date: Fri, 15 Dec 2017 10:30:43 -0500	[thread overview]
Message-ID: <CAHyO48yhbuf6RTStj=E-9Lwn+3ksgFBDJF=Vcs1SXOUqsKyVwg@mail.gmail.com> (raw)
In-Reply-To: <CAHyO48yOL089sZgH5Nr_VwaoAi9qsSe972tEgNirM2Q_d0Frmw@mail.gmail.com>

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

  reply	other threads:[~2017-12-15 15:30 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

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

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

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

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

  git send-email \
    --in-reply-to='CAHyO48yhbuf6RTStj=E-9Lwn+3ksgFBDJF=Vcs1SXOUqsKyVwg@mail.gmail.com' \
    --to=aaronjensen@gmail.com \
    --cc=28442@debbugs.gnu.org \
    --cc=alan@idiocy.org \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

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

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

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

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