unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#54331: 27.2; Closing frames loaded from desktop-read
@ 2022-03-10 18:43 Rehan Deen
  2022-03-10 20:09 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Rehan Deen @ 2022-03-10 18:43 UTC (permalink / raw)
  To: 54331

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.






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

end of thread, other threads:[~2022-03-13  6:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-10 18:43 bug#54331: 27.2; Closing frames loaded from desktop-read Rehan Deen
2022-03-10 20:09 ` Eli Zaretskii
2022-03-11  6:53   ` Rehan Deen
2022-03-11 11:39     ` Eli Zaretskii
2022-03-12 18:00       ` Lars Ingebrigtsen
2022-03-12 18:15         ` Eli Zaretskii
2022-03-13  5:55           ` Rehan Deen
2022-03-13  6:06             ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).