help-emacs-windows
[Top][All Lists]
Advanced

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

[h-e-w] Why can I not use emacsclient for more than one file edit ?


From: CJolly
Subject: [h-e-w] Why can I not use emacsclient for more than one file edit ?
Date: Tue, 13 Nov 2012 12:03:24 -0800 (PST)

Im using emacs version 24.0.92.1 on Windows 7 .  I have updated my .emacs
file to  the following  the redefine of server-ensure-safe-dir is to get rid
of the "not a secure directory" error. 

(require 'server)
(defun server-ensure-safe-dir (dir) 
   "Server function hack" t )
(server-start) 

In a command window, I type "emacsclient  <file>"  and the existing emacs (
i.e. the server) window will change to allow editing of the file named
<file> if I open a second command window and run the same command but for a
different file  nothing happens. Emacsclient does not return either; so it
must be connecting. If I close the first buffer ( before or after running
the second command) using the C-x #  key combo as suggested by
documentation,I do not see the second file. I have no errors but any further
use of the server only results in emacsclient being hung up waiting for the
server to return a finish signal.
I cant believe the server cannot handle more than one connection at a time 
or only one connection period as I am seeing. What am I doing wrong. 


Thanks Carl



--
View this message in context: 
http://emacs.1067599.n5.nabble.com/Why-can-I-not-use-emacsclient-for-more-than-one-file-edit-tp269621.html
Sent from the Emacs - Windows - Help mailing list archive at Nabble.com.



reply via email to

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