[Top][All Lists]
[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: |
Sun, 30 Dec 2007 01:34:34 +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))
>>>
>
>> If you decide to change this, please use a plist, as in
>
>> '(:buffer BUFFER :point POINT ...)
>
> Why?
Alists certainly are more generally useful and versatile, but for this
kind of values, I find plists + keywords much simpler to use and
understand than alists.
E.g. it's trivial to make such a value:
(list :buffer (current-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 ?
--
Kim F. Storm <address@hidden> http://www.cua.dk
- bookmark support for doc-view and image-mode (was: doc-view support for bookmark.el), (continued)
- Re: doc-view support for bookmark.el, Tassilo Horn, 2007/12/27
- RE: doc-view support for bookmark.el, Drew Adams, 2007/12/27
- Re: doc-view support for bookmark.el, Karl Fogel, 2007/12/28
- Re: doc-view support for bookmark.el, Kim F. Storm, 2007/12/28
- Re: doc-view support for bookmark.el, Karl Fogel, 2007/12/29
- Re: doc-view support for bookmark.el, Stefan Monnier, 2007/12/29
- Re: doc-view support for bookmark.el,
Kim F. Storm <=
RE: doc-view support for bookmark.el, Drew Adams, 2007/12/25
Re: doc-view support for bookmark.el, martin rudalics, 2007/12/25