From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleksandr Gavenko Newsgroups: gmane.emacs.help Subject: args-out-of-range for 'call-process-region'. Date: Mon, 26 Sep 2011 20:26:43 +0300 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1317058035 30656 80.91.229.12 (26 Sep 2011 17:27:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 26 Sep 2011 17:27:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 26 19:27:12 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R8ExR-0001U3-EA for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Sep 2011 19:27:09 +0200 Original-Received: from localhost ([::1]:54573 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8ExR-0000gB-0B for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Sep 2011 13:27:09 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8ExL-0000fi-Ph for help-gnu-emacs@gnu.org; Mon, 26 Sep 2011 13:27:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8ExK-0003Bn-Hy for help-gnu-emacs@gnu.org; Mon, 26 Sep 2011 13:27:03 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:57986) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8ExK-0003Bh-Cu for help-gnu-emacs@gnu.org; Mon, 26 Sep 2011 13:27:02 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R8ExI-0001Ph-Tw for help-gnu-emacs@gnu.org; Mon, 26 Sep 2011 19:27:00 +0200 Original-Received: from 190-136-202-46.pool.ukrtel.net ([46.202.136.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Sep 2011 19:27:00 +0200 Original-Received: from gavenkoa by 190-136-202-46.pool.ukrtel.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Sep 2011 19:27:00 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 190-136-202-46.pool.ukrtel.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82347 Archived-At: I try eval: (call-process-region 1 6 "cat" nil t) and get (args-out-of-range 0 5) call-process-region(0 5 "cat" nil t) Also I get same error with such code: (with-temp-buffer (insert "hello") (message "ret: %d" (call-process-region 0 (point-max) "cat" nil t)) (message (buffer-string))) What is wrong?