unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* args-out-of-range for 'call-process-region'.
@ 2011-09-26 17:26 Oleksandr Gavenko
  2011-09-26 19:03 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Oleksandr Gavenko @ 2011-09-26 17:26 UTC (permalink / raw)
  To: help-gnu-emacs

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?




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-26 19:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-26 17:26 args-out-of-range for 'call-process-region' Oleksandr Gavenko
2011-09-26 19:03 ` Eli Zaretskii

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).