From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: Fwd: How to remove verbosity from the data passing mechanism using alist or plist ? Date: Fri, 10 Dec 2010 08:18:57 +0100 Message-ID: References: <87lj43at0i.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1291998680 980 80.91.229.12 (10 Dec 2010 16:31:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Dec 2010 16:31:20 +0000 (UTC) Cc: "Emacs Dev \[emacs-devel\]" To: PJ Weisberg Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 10 17:31:16 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PR5sI-0008ET-RK for ged-emacs-devel@m.gmane.org; Fri, 10 Dec 2010 17:31:15 +0100 Original-Received: from localhost ([127.0.0.1]:47481 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PR5sI-0001M5-8t for ged-emacs-devel@m.gmane.org; Fri, 10 Dec 2010 11:31:14 -0500 Original-Received: from [140.186.70.92] (port=58161 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQxG3-0007zW-7f for emacs-devel@gnu.org; Fri, 10 Dec 2010 02:19:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PQxFy-00019p-6E for emacs-devel@gnu.org; Fri, 10 Dec 2010 02:19:11 -0500 Original-Received: from batman.blixtvik.net ([87.96.254.3]:35156) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PQxFy-000190-1W for emacs-devel@gnu.org; Fri, 10 Dec 2010 02:19:06 -0500 Original-Received: from www.verona.se (49-208-96-87.cust.blixtvik.se [87.96.208.49]) by batman.blixtvik.net (Postfix) with ESMTP id 5727E375CE8; Fri, 10 Dec 2010 08:18:58 +0100 (CET) Original-Received: from localhost.localdomain (DIR-655.lan [192.168.200.125]) by www.verona.se (Postfix) with ESMTP id 0BD7E8AEEED; Fri, 10 Dec 2010 08:18:58 +0100 (CET) In-Reply-To: (PJ Weisberg's message of "Thu, 9 Dec 2010 22:59:11 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:133575 Archived-At: PJ Weisberg writes: > On Thu, Dec 9, 2010 at 12:33 PM, Fren Zeee wrote: >> I am only satisfied with first part. There are more challenging questions >> still there. Please read the two or three of my posts before you entered the >> conversation. > > I think your other question was, "What was Thien-Thi talking about > when he said 'less piecewise-constructive and more table-oriented'? > > Here's my guess. Keeping in mind that I have no idea what you're > trying to accomplish, I would suggest that instead of having functions > like find-my-marker-GOLD, find-my-marker-SILVER, and the like, you > just start out the file with something like: > > GOLD 1000 > SILVER 5000 > COPPER 28000 > CHEESEBURGERS 2 > END > > And then read those line-by-line to construct your alist or whatever. I also fail to comprehend what this thread is about, but could this maybe prove useful? http://en.wikipedia.org/wiki/Homoiconicity Lisp data and code look alike. The lisp data structure is convenient at every level of the language. Lisp as a dataformat on disk is thus also convenient. -- Joakim Verona