From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#17666: 24.3.91; [regression] call-process in read-only buffers Date: Mon, 02 Jun 2014 13:37:14 -0400 Message-ID: References: <874n03jqxr.fsf@gnu.org> <42346.74055.958802.21388@gargle.gargle.HOWL> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1401730694 20054 80.91.229.3 (2 Jun 2014 17:38:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Jun 2014 17:38:14 +0000 (UTC) Cc: 17666@debbugs.gnu.org To: "Roland Winkler" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 02 19:38:06 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WrWBS-0000k8-Jd for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Jun 2014 19:38:06 +0200 Original-Received: from localhost ([::1]:48404 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrWBS-0008Oo-4L for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Jun 2014 13:38:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrWBP-0008OT-2O for bug-gnu-emacs@gnu.org; Mon, 02 Jun 2014 13:38:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WrWBO-0004Vp-As for bug-gnu-emacs@gnu.org; Mon, 02 Jun 2014 13:38:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42295) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrWBO-0004Vl-7t for bug-gnu-emacs@gnu.org; Mon, 02 Jun 2014 13:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WrWBN-00087D-NB for bug-gnu-emacs@gnu.org; Mon, 02 Jun 2014 13:38:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Jun 2014 17:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17666 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17666-submit@debbugs.gnu.org id=B17666.140173064731138 (code B ref 17666); Mon, 02 Jun 2014 17:38:01 +0000 Original-Received: (at 17666) by debbugs.gnu.org; 2 Jun 2014 17:37:27 +0000 Original-Received: from localhost ([127.0.0.1]:41172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WrWAk-000861-9k for submit@debbugs.gnu.org; Mon, 02 Jun 2014 13:37:27 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:54029 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WrWAd-00085o-Mp for 17666@debbugs.gnu.org; Mon, 02 Jun 2014 13:37:20 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WrWAc-000588-Nq; Mon, 02 Jun 2014 13:37:14 -0400 X-Spook: Islam Abduganievich Karimov Dateline Bosnia Mole JSOFC3IP X-Ran: W{^I?l_KEOr(ANtG62_51]L8j5FH=ew`Q#N18OwUMB(Z`XNe-1~:0{Pj=qwin2[=`CnwH' X-Hue: blue X-Attribution: GM In-Reply-To: <42346.74055.958802.21388@gargle.gargle.HOWL> (Roland Winkler's message of "Mon, 2 Jun 2014 11:25:14 -0500") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:89906 Archived-At: "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)))