On Mon, Apr 21, 2008 at 10:52 PM, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> i'm attaching the contents of the " *server*" buffer. I see at least part
> of the problem - I had an environment variable CR which had the value ^MThanks, does the patch below fix the problem?
> (char 13). unsetting that environment variable prevents the problem.
Stefan
--- server.el.~1.164.~ 2008-04-20 17:31:51.000000000 -0400
+++ server.el 2008-04-21 22:51:49.000000000 -0400
@@ -500,8 +500,9 @@
:filter 'server-process-filter
;; We must receive file names without being decoded.
;; Those are decoded by server-process-filter according
- ;; to file-name-coding-system.
- :coding 'raw-text
+ ;; to file-name-coding-system. Also don't get
+ ;; confused by CRs since we don't quote them.
+ :coding 'raw-text-unix
;; The other args depend on the kind of socket used.
(if server-use-tcp
(list :family nil