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: Sat, 02 Jul 2022 08:54:31 +0300 Message-ID: <83tu80cb54.fsf@gnu.org> References: <87leti6b6e.fsf@codeisgreat.org> <871qv7a3ey.fsf@gmail.com> <83y1xe45ga.fsf@gnu.org> <83bkuaf8e5.fsf@gnu.org> <83zghte5gl.fsf@gnu.org> <83v8she1vp.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26998"; 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 Sat Jul 02 07:54:49 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 1o7W5g-0006vM-R0 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 02 Jul 2022 07:54:49 +0200 Original-Received: from localhost ([::1]:52348 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7W5f-0007uf-J4 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 02 Jul 2022 01:54:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7W5D-0007uV-7l for help-gnu-emacs@gnu.org; Sat, 02 Jul 2022 01:54:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44392) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7W5D-0003XQ-0Q for help-gnu-emacs@gnu.org; Sat, 02 Jul 2022 01:54:19 -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=I2EHoYnFe57p0YvGEEJNsLDH/476vuUivOHZ47PvapM=; b=cFCOz2ckXSsM GMJt0FMIC4I3GQopm5LZPsEWAqHH5QZh/oB7eWQPAd/yeCPp8UrQlrIqg/gJgRgkBuUdexmT5kal5 TpzmGIG1BPtRmELDx72OKPPcYOjMHDOBzNOAxz+fPjOzbOBeoXdY8dCn8KhqKL9tVJZkapbX2N9TF wQ5U7u+veypl5wFqneTY5KqXbgujqYXG47VM7QWctDpN+/XHAHTlDq7SWQj3mthMnaSGqIxCwG6WC 5fmz+JGNkGgsYybuRV79ZJ9KgAZJRUR49BRNa+R42iZp6KSOqbL8mTrRNTbMA8coLeGSrjoa/7dpg NcKrcZcgPwD2VvF/IRdUrg==; Original-Received: from [87.69.77.57] (port=3615 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 1o7W5C-00028m-Fu for help-gnu-emacs@gnu.org; Sat, 02 Jul 2022 01:54:18 -0400 In-Reply-To: (message from Jean Louis on Fri, 1 Jul 2022 15:27:20 +0300) 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:138252 Archived-At: > Date: Fri, 1 Jul 2022 15:27:20 +0300 > From: Jean Louis > Cc: help-gnu-emacs@gnu.org > > * Eli Zaretskii [2022-07-01 10:20]: > > I don't think you described what exactly you'd like to do with the > > window config information. So the answers you get don't satisfy your > > needs, because you didn't describe those needs in sufficient detail. > > I wish to save window configuration as Lisp object. I wish to be able > to transform window configuration by using prin1-to-string so that I > can later read-from-string and store it back to register. For what purpose? how would you like to use the stored Lisp object in your Emacs sessions?