From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Phillip Lord Newsgroups: gmane.emacs.help Subject: Re: Structured data in Emacs Lisp Date: 27 Apr 2005 12:13:19 +0100 Organization: School of Computer Science, University of Manchester, U.K. Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1114603622 14641 80.91.229.2 (27 Apr 2005 12:07:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Apr 2005 12:07:02 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 27 14:06:56 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DQlIV-000453-60 for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Apr 2005 14:05:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DQlOQ-0004rO-1h for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Apr 2005 08:11:50 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!feed3.jnfs.ja.net!feed4.jnfs.ja.net!jnfs.ja.net!peernews.mcc.ac.uk!cs.man.ac.uk!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 34 Original-NNTP-Posting-Host: rpc71.cs.man.ac.uk Original-X-Trace: wapping.cs.man.ac.uk 1114600399 23875 130.88.198.228 (27 Apr 2005 11:13:19 GMT) Original-X-Complaints-To: news@wapping.cs.man.ac.uk Original-NNTP-Posting-Date: Wed, 27 Apr 2005 11:13:19 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Original-Xref: shelby.stanford.edu gnu.emacs.help:130517 Original-To: help-gnu-emacs@gnu.org 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:26085 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26085 >>>>> "PT" == PT writes: PT> On Tue, 26 Apr 2005 18:03:45 +0200, Phillip Lord PT> PT> wrote: >> >> plists, or a hashtable would also work. PT> Are there any portability considerations regarding these PT> constructs? Any XEmacs guys here? plist should work fine I think. hashtables were new for Emacs 21. But I've used them in packages which apparently work on XEmacs, so you should be alright. PT> I develop on GNU Emacs, but I want to be on the safe side if the PT> need of supporting XEmacs arises in the future, so I'd avoid PT> using GNU Emacs specific data structures if possible. Sensible enough. My experience with trying to support both emacs is that it's often small differences which cause problems rather than missing features. For one package I wrote, I spent an hour trying to debug an XEmacs problem which turned out to be because the `subseq' function behaves differently between the two. What a nightmare! In general, now, I write for GNU Emacs. If it's a nice package, someone will port it to XEmacs sooner or later. Cheers Phil