From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bernardo Bacic Newsgroups: gmane.emacs.help Subject: Re: How to load latest opened files? Or load specific files? Date: Tue, 02 Sep 2008 21:22:03 +1000 Message-ID: <48BD21DB.3020207@pobox.com> References: Reply-To: bernardo.bacic@pobox.com 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 1220354788 16160 80.91.229.12 (2 Sep 2008 11:26:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Sep 2008 11:26:28 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 02 13:27:22 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 1KaU2W-0003fI-Ga for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Sep 2008 13:27:16 +0200 Original-Received: from localhost ([127.0.0.1]:44574 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaU1W-0006Nt-TY for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Sep 2008 07:26:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KaU1B-0006Mv-HE for help-gnu-emacs@gnu.org; Tue, 02 Sep 2008 07:25:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KaU1A-0006Mg-Rf for help-gnu-emacs@gnu.org; Tue, 02 Sep 2008 07:25:53 -0400 Original-Received: from [199.232.76.173] (port=41470 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaU1A-0006MU-Kt for help-gnu-emacs@gnu.org; Tue, 02 Sep 2008 07:25:52 -0400 Original-Received: from a-sasl-fastnet.sasl.smtp.pobox.com ([207.106.133.19]:38895 helo=sasl.smtp.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KaU1A-0006yF-3V for help-gnu-emacs@gnu.org; Tue, 02 Sep 2008 07:25:52 -0400 Original-Received: from localhost.localdomain (localhost [127.0.0.1]) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTP id CBA555B063 for ; Tue, 2 Sep 2008 07:25:31 -0400 (EDT) Original-Received: from [192.168.1.10] (202.7.251.96.dynamic.rev.aanet.com.au [202.7.251.96]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTPSA id 28C815B061 for ; Tue, 2 Sep 2008 07:25:30 -0400 (EDT) User-Agent: Thunderbird 2.0.0.16 (X11/20080707) In-Reply-To: X-Pobox-Relay-ID: DA626D4E-78E1-11DD-8B8E-9EE598D589B0-14340206!a-sasl-fastnet.pobox.com X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) 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:57181 Archived-At: it was a dark and stormy night when ssecorp said, > Can I somehow make a command like "open the files that were open last > time emacs was used"? see Saving Emacs Sessions in the manual: M-: (info "(emacs)Saving Emacs Sessions") > > And can I set a command to open for example: > haskell-mode > c:/mypath/haskell/someprogram.hs > if i understand the question correctly this should be handled by major modes M-: (info "(emacs)Major Modes")