From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: emacs-devel@gnu.org
Subject: Re: Any exceptions for the 15-line rule?
Date: Sun, 05 May 2013 01:02:43 -0400 [thread overview]
Message-ID: <jwv7gjeow8u.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <51849C29.2040201@yandex.ru> (Dmitry Gutov's message of "Sat, 04 May 2013 09:27:05 +0400")
>> - (with-temp-buffer
>> + (buf (get-buffer-create "*clang-output*"))
>> + (with-current-buffer buf (erase-buffer))
>> + (with-current-buffer buf
> So, I've merged the patch into Git repo with some modifications, but looks
> like the above change is perfectly justified: the new code uses
> call-process-region', which takes the region from the current buffer, so
> using it with `with-temp-buffer' doesn't seem possible.
I must be missing something because I don't see why that
changes anything.
Stefan
next prev parent reply other threads:[~2013-05-05 5:02 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-27 3:20 Any exceptions for the 15-line rule? Dmitry Gutov
2013-04-27 4:41 ` Stefan Monnier
2013-04-27 12:26 ` Dmitry Gutov
2013-04-27 13:28 ` Stefan Monnier
2013-04-27 13:45 ` Dmitry Gutov
2013-05-01 5:13 ` Dmitry Gutov
2013-05-01 16:00 ` Glenn Morris
2013-05-01 17:50 ` Dmitry Gutov
2013-05-01 18:06 ` Glenn Morris
2013-05-01 20:37 ` Dmitry Gutov
2013-05-02 17:28 ` Glenn Morris
2013-05-04 5:27 ` Dmitry Gutov
2013-05-05 5:02 ` Stefan Monnier [this message]
2013-05-05 7:31 ` Dmitry Gutov
2013-05-06 1:05 ` Stefan Monnier
-- strict thread matches above, loose matches on Subject: below --
2013-05-01 12:33 Barry OReilly
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=jwv7gjeow8u.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=dgutov@yandex.ru \
--cc=emacs-devel@gnu.org \
/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.