[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

args-out-of-range for 'call-process-region'.

From: Oleksandr Gavenko
Subject: args-out-of-range for 'call-process-region'.
Date: Mon, 26 Sep 2011 20:26:43 +0300
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1

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:

   (insert "hello")
   (message "ret: %d" (call-process-region 0 (point-max) "cat" nil t))
   (message (buffer-string)))

What is wrong?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]