From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Kevin Ryde <user42@zip.com.au>
Cc: 5273@debbugs.gnu.org
Subject: bug#5273: 23.1; format-alist encode vs write-region-post-annotation-function
Date: Sun, 10 Jan 2010 00:25:14 -0500 [thread overview]
Message-ID: <jwv8wc6ildl.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87fx6gdzuu.fsf@blah.blah> (Kevin Ryde's message of "Sat, 09 Jan 2010 08:57:13 +1100")
>> Does the patch below help?
> Yep.
Thanks, installed.
> The format-count thing should keep a lid on temp buffers if the to-fn
> errors out (I do that if the contents are no good), though I still
> slightly wonder that it ought to be with-temp-buffer or something.
Not sure what you're referring to, but at least the issue of temp
buffers accumulating if to-fn errors out is indeed a problem, but not
a new one, so the patch doesn't make things worse.
with-temp-buffer is not an option, since the new "temp" buffer (usually)
needs to be returned as the new current-buffer at the end of
the function.
Stefan
next prev parent reply other threads:[~2010-01-10 5:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-27 0:17 bug#5273: 23.1; format-alist encode vs write-region-post-annotation-function Kevin Ryde
[not found] ` <jwveim53dzx.fsf-monnier+emacs@gnu.org>
2010-01-08 21:57 ` Kevin Ryde
2010-01-10 5:25 ` Stefan Monnier [this message]
2010-01-21 22:26 ` Kevin Ryde
2010-01-22 15:29 ` Stefan Monnier
2010-02-02 21:55 ` Kevin Ryde
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv8wc6ildl.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=5273@debbugs.gnu.org \
--cc=user42@zip.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.