From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: How to load latest opened files? Or load specific files? Date: Mon, 01 Sep 2008 22:41:46 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220330474 10915 80.91.229.12 (2 Sep 2008 04:41:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Sep 2008 04:41:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 02 06:42:08 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KaNiQ-00045q-Ew for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Sep 2008 06:42:06 +0200 Original-Received: from localhost ([127.0.0.1]:43481 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaNhR-0002qu-Dh for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Sep 2008 00:41:05 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.sysmatrix.net!news.sysmatrix.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Mon, 01 Sep 2008 22:41:34 -0500 User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 29 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 65.45.140.60 Original-X-Trace: sv3-I4YA3TDDz0l7HQGVS+vHoijNxyv0rCUzDb8O752aUtAN1Lp5CeYukFYJtiAzved5C2I0MsAtwHeyt6z!CkJxoukiwxuZTtkSqQTYnMgV0ujVYoVfcz3bW1oIsyN5YEiMKIHMuN0Y2ZaE3SfWn0S4s3n/fL+Z!KtwuLCk4nv1feIV6Fk3zqCggcmUawQ== Original-X-Complaints-To: abuse@sysmatrix.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 Original-Xref: news.stanford.edu gnu.emacs.help:161836 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: news.gmane.org gmane.emacs.help:57179 Archived-At: ssecorp wrote: > Can I somehow make a command like "open the files that were open last > time emacs was used"? > > And can I set a command to open for example: > haskell-mode > c:/mypath/haskell/someprogram.hs > > ? Look at Menu Options > Customize Emacs > Specific Option recentf- tab The settings I made inserted '(recentf-max-menu-items 20) '(recentf-max-saved-items 40) '(recentf-mode t nil (recentf)) into (Custom-set-variables ... in my .emacs There are many recentf options I haven't tried. The defaults seemed appropriate. There is also something called session.el but I don't know how to install it. Ed