From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.help Subject: Re: Preserving command history between sessions Date: Sat, 08 Jan 2005 12:21:29 +0200 Message-ID: <01c4f56b$Blat.v2.2.2$f6e7aae0@zahav.net.il> References: <16863.33427.198346.946309@mail.eng.it> NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1105180201 22422 80.91.229.6 (8 Jan 2005 10:30:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 8 Jan 2005 10:30:01 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 08 11:29:56 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 1CnDr2-0004BW-00 for ; Sat, 08 Jan 2005 11:29:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CnE2Q-0002m1-Rd for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Jan 2005 05:41:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CnE1d-0002Z9-Hb for help-gnu-emacs@gnu.org; Sat, 08 Jan 2005 05:40:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CnE1V-0002U0-A0 for help-gnu-emacs@gnu.org; Sat, 08 Jan 2005 05:40:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CnE1S-0002Tx-O9 for help-gnu-emacs@gnu.org; Sat, 08 Jan 2005 05:40:44 -0500 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CnDlT-0004iD-Gs for help-gnu-emacs@gnu.org; Sat, 08 Jan 2005 05:24:11 -0500 Original-Received: from zaretski (IGLD-83-130-209-249.inter.net.il [83.130.209.249]) by romy.inter.net.il (MOS 3.5.6-GR) with ESMTP id AFS66650 (AUTH halo1); Sat, 8 Jan 2005 12:24:01 +0200 (IST) Original-To: help-gnu-emacs@gnu.org X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2 In-reply-to: <16863.33427.198346.946309@mail.eng.it> (GianUberto.Lauri@eng.it) 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:23208 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23208 > Date: Sat, 8 Jan 2005 07:49:55 +0100 > From: GianUberto.Lauri@eng.it (Gian Uberto Lauri) > > My wife asked me if it was possible to preserve the history (more or > less like bash does). What for? I think shell-like command history is not needed in Emacs, for the following reasons: . Emacs is supposed to be started whenever the user logs in, and then never stopped until the machine is shut down or the user logs off. . The desktop.el package, if you activate it in your .emacs, will cause each session to visit all the files that were part of the previous session at the point when the previous session ended. . The recentf.el package will add to the "File" menu-bar item the names of files that were visited recently, so the user could select them from a menu instead of typing the names. If these features are not enough to solve whatever problems your wife has, please describe those remaining problems.