GNU bug report logs - #54331
27.2; Closing frames loaded from desktop-read

Previous Next

Package: emacs;

Reported by: Rehan Deen <rehan.deen <at> gmail.com>

Date: Thu, 10 Mar 2022 19:36:02 UTC

Severity: normal

Tags: moreinfo

Found in version 27.2

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#54331: closed (27.2; Closing frames loaded from desktop-read )
Date: Sun, 13 Mar 2022 06:08:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 13 Mar 2022 08:06:44 +0200
with message-id <83zglul72j.fsf <at> gnu.org>
and subject line Re: bug#54331: 27.2; Closing frames loaded from desktop-read
has caused the debbugs.gnu.org bug report #54331,
regarding 27.2; Closing frames loaded from desktop-read 
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
54331: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=54331
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Rehan Deen <rehan.deen <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.2; Closing frames loaded from desktop-read 
Date: Fri, 11 Mar 2022 00:13:23 +0530
A very annoying issue with `desktop-save` and `desktop-read` that I'm encountering at the moment:

- I'm starting Emacs in `daemon-mode`, and then open a client frame via
  my WM shortcut for `emacsclient -c`. I do `desktop-read` and my saved desktop opens with the 10 or so frames I had saved.

- When I go to one of the frames with a buffer I'm no longer interested in, and do `C-x C-c`, I end up not just closing that particular frame, but **all 10 or so of the frames that were open**.

- The Emacs daemon is still running, and opening another client frame shows that the buffers haven't been killed, so nothing has been lost per se - it's just that the arrangement of all the frames I had is just ruined.

Any idea how to stop this behaviour (i.e. being able to just kill one frame from the saved configuration)? 


I have also played around with these settings

```
  (setq desktop-restore-frames t)
  (setq desktop-restore-in-current-display nil)
  (setq desktop-restore-forces-onscreen nil)

```

but the issue persists.



[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Rehan Deen <rehan.deen <at> gmail.com>
Cc: larsi <at> gnus.org, 54331-done <at> debbugs.gnu.org
Subject: Re: bug#54331: 27.2; Closing frames loaded from desktop-read
Date: Sun, 13 Mar 2022 08:06:44 +0200
> From: Rehan Deen <rehan.deen <at> gmail.com>
> Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 54331 <at> debbugs.gnu.org
> Date: Sun, 13 Mar 2022 11:25:40 +0530
> 
> Hi, sorry, was hoping that someone else would add their input regarding
> the closing frame behavior but I am happy to close this.
> 
> If anyone else comes across this issue, I guess I would suggest
> remapping `C-x 5 0` to a more convenient keybinding.

Thanks, I'm therefore closing this bug.


This bug report was last modified 3 years and 154 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.