From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Preserving command history between sessions Date: Sat, 8 Jan 2005 15:29:27 +0100 Message-ID: References: <16863.33427.198346.946309@mail.eng.it> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1105195177 19679 80.91.229.6 (8 Jan 2005 14:39:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 8 Jan 2005 14:39:37 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 08 15:39:31 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CnHkZ-0005WG-00 for ; Sat, 08 Jan 2005 15:39:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CnHvy-0006Rw-Jq for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Jan 2005 09:51:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CnHuR-0005uF-V0 for help-gnu-emacs@gnu.org; Sat, 08 Jan 2005 09:49:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CnHuI-0005pB-3S for help-gnu-emacs@gnu.org; Sat, 08 Jan 2005 09:49:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CnHuH-0005nO-Rl for help-gnu-emacs@gnu.org; Sat, 08 Jan 2005 09:49:33 -0500 Original-Received: from [217.72.192.225] (helo=smtp07.web.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CnHau-0006H3-7D for help-gnu-emacs@gnu.org; Sat, 08 Jan 2005 09:29:32 -0500 Original-Received: from [80.184.152.194] (helo=[192.168.1.2]) by smtp07.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.103 #184) id 1CnHat-0003oY-00; Sat, 08 Jan 2005 15:29:31 +0100 In-Reply-To: <16863.33427.198346.946309@mail.eng.it> Original-To: saint@eng.it X-Mailer: Apple Mail (2.619) X-Sender: Peter_Dyballa@web.de X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:23214 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23214 Am 08.01.2005 um 07:49 schrieb Gian Uberto Lauri: > My wife asked me if it was possible to preserve the history (more or > less like bash does). Do you mean shell history? Then it might work to create hooks, that=20 save bash' shell history file under a new name and load this one, when=20= shell starts again. If you mean buffers and their state, then desktop(.el) is the answer. -- Greetings Pete =93One cannot live by television, video games, top ten CDs, and dumb=20 movies alone=94 (Amiri Baraka 1999)