From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Nelson H. F. Beebe" Newsgroups: gmane.emacs.devel Subject: emacs save/restore state? Date: Sat, 7 Apr 2012 10:01:59 -0600 (MDT) Message-ID: NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1333814528 5859 80.91.229.3 (7 Apr 2012 16:02:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 7 Apr 2012 16:02:08 +0000 (UTC) Cc: beebe@math.utah.edu To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 07 18:02:07 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SGY5W-0001ED-S3 for ged-emacs-devel@m.gmane.org; Sat, 07 Apr 2012 18:02:06 +0200 Original-Received: from localhost ([::1]:54328 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGY5W-0000JK-3e for ged-emacs-devel@m.gmane.org; Sat, 07 Apr 2012 12:02:06 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGY5T-0000Id-Tm for emacs-devel@gnu.org; Sat, 07 Apr 2012 12:02:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SGY5S-0001zv-2w for emacs-devel@gnu.org; Sat, 07 Apr 2012 12:02:03 -0400 Original-Received: from mail.math.utah.edu ([155.101.98.135]:49228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGY5R-0001zq-Rt for emacs-devel@gnu.org; Sat, 07 Apr 2012 12:02:02 -0400 Original-Received: from psi.math.utah.edu (psi.math.utah.edu [155.101.96.19]) by mail.math.utah.edu (8.14.5/8.14.5) with ESMTP id q37G1xbj003415; Sat, 7 Apr 2012 10:01:59 -0600 (MDT) Original-Received: from psi.math.utah.edu (localhost [127.0.0.1]) by psi.math.utah.edu (8.14.4/8.14.4) with ESMTP id q37G1xFA012443; Sat, 7 Apr 2012 10:01:59 -0600 (MDT) Original-Received: (from beebe@localhost) by psi.math.utah.edu (8.14.4/8.14.4/Submit) id q37G1xlt012442; Sat, 7 Apr 2012 10:01:59 -0600 (MDT) X-US-Mail: "Department of Mathematics, 110 LCB, University of Utah, 155 S 1400 E RM 233, Salt Lake City, UT 84112-0090, USA" X-Telephone: +1 801 581 5254 X-FAX: +1 801 585 1640, +1 801 581 4148 X-URL: http://www.math.utah.edu/~beebe X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.8 (mail.math.utah.edu [155.101.98.135]); Sat, 07 Apr 2012 10:01:59 -0600 (MDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 155.101.98.135 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:149465 Archived-At: Is anyone on this list aware of functions to save and restore emacs state, including all buffers (both temporary and file-related), command history, kill-ring, and loaded emacs libraries? I frequently want the ability to switch from one emacs session to another, sometimes after a version upgrade, and other times between different machines. Because my emacs sessions frequently run for many months, the state is complex, and painful to reconstruct. Computers should work for people, not the other way around, so it would be nice to do something like this: M-x save-state Filename: $HOME/emacs.state M-x restore-state Filename: $HOME/emacs.state ------------------------------------------------------------------------------- - Nelson H. F. Beebe Tel: +1 801 581 5254 - - University of Utah FAX: +1 801 581 4148 - - Department of Mathematics, 110 LCB Internet e-mail: beebe@math.utah.edu - - 155 S 1400 E RM 233 beebe@acm.org beebe@computer.org - - Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ - -------------------------------------------------------------------------------