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: Stefan Monnier
Subject: Re: doc-view support for bookmark.el
Date: Wed, 02 Jan 2008 15:22:55 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

>>>>> 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

No, I didn't mean that.  I meant that it doesn't matter because you only
write the code once, so the few extra chars (which may actually look
like "(cons" rather than " . ") don't matter.


        Stefan




reply via email to

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