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.help Subject: Re: How to persist registers across sessions? Date: Thu, 30 Jun 2022 18:50:58 +0300 Message-ID: <83fsjmf8v1.fsf@gnu.org> References: <87leti6b6e.fsf@codeisgreat.org> <871qv7a3ey.fsf@gmail.com> <83y1xe45ga.fsf@gnu.org> <877d4ycjry.fsf@web.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19720"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 30 17:52:16 2022 Return-path: Envelope-to: geh-help-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 1o6wSm-00051d-7B for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 30 Jun 2022 17:52:16 +0200 Original-Received: from localhost ([::1]:60190 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6wSl-0008KS-8M for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 30 Jun 2022 11:52:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6wRR-0007yR-7o for help-gnu-emacs@gnu.org; Thu, 30 Jun 2022 11:50:53 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52252) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6wRQ-0004zA-M5 for help-gnu-emacs@gnu.org; Thu, 30 Jun 2022 11:50:52 -0400 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=y6uycmPBsDHP/ocWoh8QkHWeVu0RGiMucutu4SmsY9g=; b=Kb1reht0hFIx F5mqkU7voVjLh7G4AHcGjCw2KPCrocyrJrh9VUsLPuxVaSpd21OA08vcfdzlKYrXzuz1z2Ht+oyjO kueI5knz486Noen59P3Ponio9hQpDBX6y4EsG3ZjBrVjlE9d3DVjG1jlRuWsalObiU/YXIR3Tet6E ViALzQ1IWz+zuDRVaHJQal6Bbg4eRxk19P1BL7pnVOaeU4Amq+/53s4j4PidTYfCWnMgdCJVk49I8 f0Qs7PjwvvidqJWGd2qqtYspj4eeEvpOk4ceHGtJ9th8QGgMRCk7B6E4RYvFTkjupbMhp+IVyD5ue 0UscmjwprCc4tCbBLRn2qQ==; Original-Received: from [87.69.77.57] (port=2996 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 1o6wRN-0002w8-3N for help-gnu-emacs@gnu.org; Thu, 30 Jun 2022 11:50:51 -0400 In-Reply-To: <877d4ycjry.fsf@web.de> (message from Michael Heerdegen on Thu, 30 Jun 2022 16:23:29 +0200) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:138238 Archived-At: > From: Michael Heerdegen > Date: Thu, 30 Jun 2022 16:23:29 +0200 > > Eli Zaretskii writes: > > > Is anything wrong with using desktop-save-mode? > > I thought it was not able to save a window configuration of one single > frame...or is it? It saves (and can later restore) the configuration of all the frames that exist in the session. But if for some reason there's a need to save just one frame, it should much easier to extend desktop.el to do that than reinvent this wheel from scratch.