emacs-devel
[Top][All Lists]
Advanced

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

Re: emacsclient almost working!


From: Stefan Monnier
Subject: Re: emacsclient almost working!
Date: Mon, 21 Apr 2008 22:52:45 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> 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 ^M
> (char 13).  unsetting that environment variable prevents the problem.

Thanks, does the patch below fix 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




reply via email to

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