[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Missing `with' macro?
From: |
Stuart D. Herring |
Subject: |
Re: Missing `with' macro? |
Date: |
Wed, 16 Aug 2006 12:59:47 -0700 (PDT) |
User-agent: |
SquirrelMail/1.4.6-7.el3.7lanl |
> I see. When there is more than one candidate, get_truename_buffer
> picks the one that comes first in the buffer list. So the cleanest
> solution would be to make sure it always finds with-file's buffer.
>
> The simplest and most natural way is to put that buffer at the front
> of the buffer list. There are kludgy ways to do this from Lisp, but
> the cleanest way is just to make a primitive to do it.
`record_buffer' does precisely this (along with promoting the buffer in
its frame's list). Should this be made callable from Lisp so that such
things as `with-file' can use it?
Davis
--
This product is sold by volume, not by mass. If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.