emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: doc-view support for bookmark.el


From: Kim F. Storm
Subject: Re: doc-view support for bookmark.el
Date: Wed, 02 Jan 2008 10:43:39 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>>>>> cleanest thing would probably be an association list:
>>>>> 
>>>>> '((buffer BUFFER) (point POINT))

>> However, if you decide an alist is better, shouldn't it be:
>
>>  '((buffer . BUFFER) (point . POINT))
>
>> using conses rather than lists as values ?
>
> Yes, but the lists here are generated by Lisp code, not hard-coded, so
> the extra " . " and the extra parentheses don't matter.

Huh?

   (equal '((a . b) (c . d)) '((a b) (c d)))
   => nil


> I consider plists to be an unfortunate accident in Lisp's life.

Let's just agree to disagree :-)

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

[Prev in Thread] Current Thread [Next in Thread]