Your message dated Mon, 19 May 2014 00:12:22 -0700 (PDT)
with message-id <[email protected]>
and subject line Re: Bug#508300
has caused the Debian Bug report #508300,
regarding process-send-string apparently mangles \r into \n
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
508300: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508300
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: emacs22
Version: 22.2+2-5

        After running the following program:

(let* ((coding-system-for-read  'binary)
       (coding-system-for-write 'binary)
       (p (start-process "foo" "*foo*" "od" "-td1")))
    (process-send-string p "\r\n")
    (process-send-eof p))
;; => #<process foo>

        the `*foo*' buffer contains:

--cut: *foo*--
0000000   10   10
0000002

Process foo finished
--cut: *foo*--

        While I'd expect the following instead:

--cut: *foo*--
0000000   13   10
0000002

Process foo finished
--cut: *foo*--

        Compare:

(let ((coding-system-for-read  'binary)
      (coding-system-for-write 'binary))
  (save-excursion
    (set-buffer "*foo*")
    (let* ((start (point))
           (end   (progn (insert "\r\n") (point))))
      (call-process-region start end "od" t t t "-td1"))))

--cut: *foo*--
0000000   13   10
0000002
--cut: *foo*--



--- End Message ---
--- Begin Message ---
Upstream concluded this was not a bug.

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1523

Take it up with them if you disagree.

--- End Message ---

Reply via email to