From: "Gerd Möllmann" <gerd.moellmann@gmail.com>
To: 65840@debbugs.gnu.org
Cc: luangruo@yahoo.com, eliz@gnu.org, tanzer@gg32.com
Subject: bug#65840: 29.1; desktop-load moves frames to the right and down
Date: Wed, 13 Sep 2023 20:51:43 +0200 [thread overview]
Message-ID: <m2edj1q534.fsf@Pro.fritz.box> (raw)
In-Reply-To: <7F89604C-CB17-41DE-85EE-F46700694F04@gg32.com> (Christian Tanzer via's message of "Wed, 13 Sep 2023 19:27:52 +0100")
Christian Tanzer via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@gnu.org> writes:
> On 13.09.2023, at 06:09, Gerd Möllmann <gerd.moellmann@gmail.com> wrote:
>>
>> I guess this wasn't with emacs -Q, or was it?
>
> No, it wasn’t.
>
> And with -Q the frame positions are restored correctly.
Ok, thanks.
> There is still the question why Emacs 29 behaves differently then 28
> or earlier in my environment and shifts the frames upon desktop-read.
>
> Any hints what I should look for in my elisp code in this regard?
Not really, I'm afraid. Maybe someone else has an idea?
The usual way I find out where something this comes from is a binary
search: disable half of your configuration, and see if the bug is still
there. If yes, the bug is in the half that's still present. And so
on...
Maybe a variant of the zsh script below could be helpful for that. I
wrote it for this bug report to check the behavior of different Emacs
versions on different platforms.
#! /usr/bin/env zsh
emacs=(~/emacs/29/src/emacs -Q)
save_desktop=(--eval '(desktop-save ".")')
read_desktop=(--eval '(desktop-read ".")')
print=(--eval "(print (frame-position (selected-frame)) #'external-debugging-output)")
kill=(--eval '(kill-emacs)')
rm -f .emacs.desktop
$emacs -Q $save_desktop $print $kill
$emacs -Q $read_desktop $print $kill
The script prints the frame position before saving a desktop, and after
restoring it.
prev parent reply other threads:[~2023-09-13 18:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-09 12:32 bug#65840: 29.1; desktop-load moves frames to the right and down tanzer--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-09 12:59 ` Eli Zaretskii
2023-09-09 13:35 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
[not found] ` <031260D8-4159-4BBC-A25F-A8BCBD88B7BA@gg32.com>
2023-09-09 14:47 ` Eli Zaretskii
2023-09-13 5:09 ` Gerd Möllmann
2023-09-13 5:48 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-13 18:04 ` Christian Tanzer via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-13 18:27 ` Christian Tanzer via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-13 18:51 ` Gerd Möllmann [this message]
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=m2edj1q534.fsf@Pro.fritz.box \
--to=gerd.moellmann@gmail.com \
--cc=65840@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=luangruo@yahoo.com \
--cc=tanzer@gg32.com \
/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.