From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.help Subject: Re: Preserve the *scratch* buffer... Date: Tue, 26 Nov 2002 17:34:45 -0700 Organization: Posted via Supernews, http://www.supernews.com Sender: help-gnu-emacs-admin@gnu.org Message-ID: <8765ujetp6.fsf@alice.dynodns.net> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1038357318 30489 80.91.224.249 (27 Nov 2002 00:35:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 27 Nov 2002 00:35:18 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18GqAe-0007vX-00 for ; Wed, 27 Nov 2002 01:35:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18GqC1-0004jQ-00; Tue, 26 Nov 2002 19:36:41 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!newsfeed.news2me.com!sn-xit-05!sn-xit-06!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help X-Public-Key: http://pgp5.ai.mit.edu:11371/pks/lookup?op=get&search=0xF40524D0 X-Home-Page: http://www.gci-net.com/users/j/johnw/ User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) Cancel-Lock: sha1:wkqAQ5iJjWGAQiulnPKOgqo/Vjk= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 11 Original-Xref: shelby.stanford.edu gnu.emacs.help:107527 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:4077 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4077 >>>>> On Tue Nov 26, Sir writes: > How would you preserve the contents of the scratch buffer in elisp? > When I start up emacs I want what ever I typed into the scratch > buffer last session to still be there...when I close emacs I want > what ever the scratch buffer contains to be preserved for the next > session. You can get "desktop.el" to do it, as one option. John