[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C-g while exiting the minibuffer
From: |
Stephen J. Turnbull |
Subject: |
Re: C-g while exiting the minibuffer |
Date: |
Mon, 02 Dec 2013 12:30:45 +0900 |
Stefan Monnier writes:
> > Right. So we'd need a safe implementation of delq and I wouldn't know
> > how to do that reasonably via DOLIST.
>
> Indeed, the FOREACH macro was designed for "read-only" traversals, just
> like the DOLIST macro. I don't think the hare/tortoise trick is
> inapplicable, tho:
AFAIK XEmacs has done it that way for a decade. To my inexpert eye,
your patch looks very much like the code we use. For more info, call
Martin Buchholz (address@hidden).