bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#5273: 23.1; format-alist encode vs write-region-post-annotation-func


From: Kevin Ryde
Subject: bug#5273: 23.1; format-alist encode vs write-region-post-annotation-function
Date: Wed, 03 Feb 2010 08:55:23 +1100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

Stefan Monnier <monnier@IRO.UMontreal.CA> writes:
>
> Yes, but at that outside point, we don't know if such a temp buffer will
> be needed, and worse, we don't know how many (there can be several
> annotation functions that each take a buffer as input and produce the
> result into a new output buffer).

Oh, well, a let-bound defvar holding a list of temp buffers to be added
to by sub-functions.  Or alternately make write-region (or
build_annotations or whatever) take responsibility for temp buffers
returned to it.  It's too complicated for me, but one of those would
seem better than kill-on-write.






reply via email to

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