(set_tcp_socket): Don't send a "\n" after the authentication string;
authorJuanma Barranquero <lekktu@gmail.com>
Fri, 25 Jan 2008 15:46:07 +0000 (15:46 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Fri, 25 Jan 2008 15:46:07 +0000 (15:46 +0000)
there's no need to haste.

lib-src/ChangeLog
lib-src/emacsclient.c
lisp/ChangeLog

index 05d8af1..c1fb7e9 100644 (file)
@@ -1,3 +1,8 @@
+2008-01-25  Juanma Barranquero  <lekktu@gmail.com>
+
+       * emacsclient.c (set_tcp_socket): Don't send "\n" after
+       the authentication string; there's no need to haste.
+
 2008-01-22  Chong Yidong  <cyd@stupidchicken.com>
 
        * pop.c (pop_stat, pop_last): Fix last fix.
index 568b6c1..b8ab197 100644 (file)
@@ -229,7 +229,7 @@ xstrdup (const char *s)
 
 
 /* Return the current working directory.  Returns NULL on errors.
-   Any other returned value must be freed with free. This is used
+   Any other returned value must be freed with free.  This is used
    only when get_current_dir_name is not defined on the system.  */
 char*
 get_current_dir_name ()
@@ -1010,7 +1010,7 @@ set_tcp_socket ()
 
   send_to_emacs (s, "-auth ");
   send_to_emacs (s, auth_string);
-  send_to_emacs (s, "\n");
+  send_to_emacs (s, " ");
 
   return s;
 }
@@ -1100,7 +1100,7 @@ handle_sigtstp (int signalnum)
   if (emacs_socket)
     send_to_emacs (emacs_socket, "-suspend \n");
 
-  /* Unblock this signal and call the default handler by temprarily
+  /* Unblock this signal and call the default handler by temporarily
      changing the handler and resignalling. */
   sigprocmask (SIG_BLOCK, NULL, &set);
   sigdelset (&set, signalnum);
index 49b2015..2058d25 100644 (file)
@@ -1,3 +1,8 @@
+2008-01-25  Juanma Barranquero  <lekktu@gmail.com>
+
+       * server.el (server-process-filter): Don't force
+       the authentication string to be followed by "\n".
+
 2008-01-25  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
 
        * blank-mode.el: New version 9.0.  New commands to clean up some blank
@@ -8,8 +13,7 @@
        (blank-indentation, blank-empty, blank-space-after-tab): New faces.
        (blank-indentation, blank-empty, blank-space-after-tab)
        (blank-indentation-regexp, blank-empty-at-bob-regexp)
-       (blank-empty-at-eob-regexp, blank-space-after-tab-regexp): New
-       options.
+       (blank-empty-at-eob-regexp, blank-space-after-tab-regexp): New options.
        (blank-cleanup, blank-cleanup-region): New commands.
        (blank-color-on): Code fix.