From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolaj Schumacher Newsgroups: gmane.emacs.help Subject: Re: Reading and Writing list to/from a file. Date: Mon, 02 Mar 2009 10:54:49 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: ger.gmane.org 1235987742 4782 80.91.229.12 (2 Mar 2009 09:55:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Mar 2009 09:55:42 +0000 (UTC) Cc: Emacs Help List To: Nurullah Akkaya Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 02 10:56:57 2009 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 1Le4tB-0007tC-Uy for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Mar 2009 10:56:46 +0100 Original-Received: from localhost ([127.0.0.1]:53269 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Le4rq-0006mG-SH for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Mar 2009 04:55:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Le4rQ-0006ia-2I for help-gnu-emacs@gnu.org; Mon, 02 Mar 2009 04:54:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Le4rN-0006g6-SE for help-gnu-emacs@gnu.org; Mon, 02 Mar 2009 04:54:55 -0500 Original-Received: from [199.232.76.173] (port=52540 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Le4rN-0006fr-Kp for help-gnu-emacs@gnu.org; Mon, 02 Mar 2009 04:54:53 -0500 Original-Received: from dd18200.kasserver.com ([85.13.138.168]:56066) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Le4rN-0003QI-6w for help-gnu-emacs@gnu.org; Mon, 02 Mar 2009 04:54:53 -0500 Original-Received: from thursday (g226193070.adsl.alicedsl.de [92.226.193.70]) by dd18200.kasserver.com (Postfix) with ESMTP id 48849180ACA8E; Mon, 2 Mar 2009 10:54:52 +0100 (CET) In-Reply-To: (Nurullah Akkaya's message of "Sun, 1 Mar 2009 15:10:11 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (darwin) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:62508 Archived-At: Nurullah Akkaya wrote: > I would like to keep a elisp list between sessions. What is the > correct way of storing it? so that i don't have to parse it line by > line. How can i save it as a list and evaluate the file after > opening? As far as I know, there is no complete library for this. But look at what `recentf-save-list' in recentf.el does. The list still has do be parsed, but `load' can take care of it. regards, Nikolaj Schumacher