unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: "Roland Winkler" <winkler@gnu.org>
Cc: 17666@debbugs.gnu.org
Subject: bug#17666: 24.3.91; [regression] call-process in read-only buffers
Date: Mon, 02 Jun 2014 13:37:14 -0400	[thread overview]
Message-ID: <rlioojxlf9.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <42346.74055.958802.21388@gargle.gargle.HOWL> (Roland Winkler's message of "Mon, 2 Jun 2014 11:25:14 -0500")

"Roland Winkler" wrote:

>> > (with-temp-buffer
>> >   (let ((buffer-read-only t))
>> >     (call-process "true" nil t)))
[...]
> But what is the problem if a process does not have any output?

If you know it isn't going to produce any output, why don't you just
discard the output instead of sending it to a read-only buffer (which is
something that really doesn't make sense)?

(with-temp-buffer
   (let ((buffer-read-only t))
     (call-process "true" nil nil)))





  reply	other threads:[~2014-06-02 17:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-02 15:01 bug#17666: 24.3.91; [regression] call-process in read-only buffers Roland Winkler
2014-06-02 16:18 ` Stefan Monnier
2014-06-02 16:25   ` Roland Winkler
2014-06-02 17:37     ` Glenn Morris [this message]
2014-06-02 17:45       ` Glenn Morris
2014-06-02 18:34         ` Eli Zaretskii
2014-06-02 18:14       ` Roland Winkler
2014-06-02 17:57     ` Stefan Monnier
2014-06-02 18:42   ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=rlioojxlf9.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=17666@debbugs.gnu.org \
    --cc=winkler@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).