From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Alfred M. Szmidt" Newsgroups: gmane.emacs.help Subject: Re: save-desktop Date: Mon, 04 Nov 2002 11:04:32 +0100 Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <3DC63E1B.1020008@quasarlabs.com> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1036405484 13775 80.91.224.249 (4 Nov 2002 10:24:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 4 Nov 2002 10:24:44 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 188ePS-0003a2-00 for ; Mon, 04 Nov 2002 11:24:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 188eKi-0004b8-00; Mon, 04 Nov 2002 05:19:48 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 188e6E-0002o6-00 for help-gnu-emacs@gnu.org; Mon, 04 Nov 2002 05:04:50 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 188e68-0002gq-00 for help-gnu-emacs@gnu.org; Mon, 04 Nov 2002 05:04:48 -0500 Original-Received: from mailhost.bonet.ac ([194.165.224.191]) by monty-python.gnu.org with esmtp (Exim 4.10) id 188e66-0002eH-00 for help-gnu-emacs@gnu.org; Mon, 04 Nov 2002 05:04:42 -0500 Original-Received: from lgh163a.kemisten.nu (lgh163a.kemisten.nu [212.32.172.173]) by mailhost.bonet.ac (8.8.8/8.8.8) with ESMTP id LAA27530; Mon, 4 Nov 2002 11:04:33 +0100 (MET) Original-Received: from ams by lgh163a.kemisten.nu with local (Exim 3.36 #1 (Debian)) id 188e5w-0000Ud-00; Mon, 04 Nov 2002 11:04:32 +0100 Original-To: tda@quasarlabs.com In-reply-to: <3DC63E1B.1020008@quasarlabs.com> (message from Dmitry Trunikov on Mon, 04 Nov 2002 11:30:03 +0200) Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3274 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3274 I need in your help. I use emacs 21.1 on Linux. Tell me please how can I store current emacs'es desktop (all opened buffers) for restoring it in future? Thnx. You cannot use Emacs 21.1 on Linux, you probobly mean GNU/Linux, please see http://www.gnu.org/gnu/linux-and-gnu.html, http://www.gnu.org/gnu/why-gnu-linux.html and http://www.gnu.org/gnu/gnu-linux-faq.html. >From (emacs)Saving Emacs Sessions: To use Desktop, you should use the Customization buffer (*note Easy Customization::) to set `desktop-enable' to a non-`nil' value, or add these lines at the end of your `.emacs' file: (desktop-load-default) (desktop-read) The first time you save the state of the Emacs session, you must do it manually, with the command `M-x desktop-save'. Once you have done that, exiting Emacs will save the state again--not only the present Emacs session, but also subsequent sessions. You can also save the state at any time, without exiting Emacs, by typing `M-x desktop-save' again.