From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#54331: 27.2; Closing frames loaded from desktop-read Date: Thu, 10 Mar 2022 22:09:40 +0200 Message-ID: <83r179d0xn.fsf@gnu.org> References: <87h785k5ro.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11197"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 54331@debbugs.gnu.org To: Rehan Deen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 10 21:10:31 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nSP7H-0002jC-HD for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Mar 2022 21:10:31 +0100 Original-Received: from localhost ([::1]:46682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSP7F-00062s-W0 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Mar 2022 15:10:30 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSP6o-00062Z-Ry for bug-gnu-emacs@gnu.org; Thu, 10 Mar 2022 15:10:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41678) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSP6o-00053f-JO for bug-gnu-emacs@gnu.org; Thu, 10 Mar 2022 15:10:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nSP6o-00061d-C0 for bug-gnu-emacs@gnu.org; Thu, 10 Mar 2022 15:10:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Mar 2022 20:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54331 X-GNU-PR-Package: emacs Original-Received: via spool by 54331-submit@debbugs.gnu.org id=B54331.164694298823135 (code B ref 54331); Thu, 10 Mar 2022 20:10:02 +0000 Original-Received: (at 54331) by debbugs.gnu.org; 10 Mar 2022 20:09:48 +0000 Original-Received: from localhost ([127.0.0.1]:35575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSP6a-000613-7a for submit@debbugs.gnu.org; Thu, 10 Mar 2022 15:09:48 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSP6Z-00060r-4B for 54331@debbugs.gnu.org; Thu, 10 Mar 2022 15:09:47 -0500 Original-Received: from [2001:470:142:3::e] (port=34334 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSP6T-00052I-UW; Thu, 10 Mar 2022 15:09:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=mICpHzAzgpY5rGvpsHMhCiv3vsx9MjrH6TGNKsW3P9Q=; b=DXrPcPvJGlPq EK/r8qyMr1q/rM3LKANOhmD90xB3nx1s37lzvs1jo22fxOjDFfv9q8Em7LbrRWIh5MWmoC7M9jrpc yzphH913QDoAdV9TkN5Yb4WLYhykQ8nSxeFHHDox/1HG+nsdLyb6xiAuXJe3q5EqZZ82iCzFkv78m pOCCHFPjROespsvkkCjCyiipZ42XTdBzYcnxJdksd4wchW7ec1m8ajrMQ5vtbTJ6RMfNddR0fi6Z8 BKTWV2B7/Qch660iVHDjyOHExk8gi69G3S+HGpHblVkTUI/UIGwBt2p9CKEwGKqciHET3wXDvzC4Y kj7V9CVH3ctsO5TGlp9iBA==; Original-Received: from [87.69.77.57] (port=3708 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSP6T-0001ms-EP; Thu, 10 Mar 2022 15:09:41 -0500 In-Reply-To: <87h785k5ro.fsf@gmail.com> (message from Rehan Deen on Fri, 11 Mar 2022 00:13:23 +0530) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:228212 Archived-At: > From: Rehan Deen > 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)? Is this really related to desktop-read? AFAIK, "C-x C-c" deletes all the frames displayed on the terminal, and I see the same behavior if I start a daemon, invoke emacsclient to open a frame, and then make several other frames from the same session. "C-x C-c" then closes all the frames I made. I think this is the expected behavior. What am I missing?