Re: gnuclient vs emacsclient
>>>>> "Timothy" == Timothy C Phan <tphan@iqrinc.com> writes:
Timothy> Hi, What is the diff between the two?
gnuserv/gnuclient is a bit more sophisticated. The main difference is
that it allows you to execute any editor command remotely, not just
opening a file.
Timothy> I could not get gnuclient to work!
More information, please? Do you (gnuserv-start) in your .emacs?
Timothy> Secondly, How can I bring a file in as readonly from
Timothy> emacsclient or gnuclient?
With emacsclient, AFAIK there's no way but of course you can make your
server buffer read-only after it is opened just like any other buffer,
with C-x C-q. With gnuclient (actually gnudoit),
gnudoit '(find-file-read-only "foo.txt")'
--
Ian Zimmerman, Oakland, California, U.S.A.
In his own soul a man bears the source
from which he draws all his sorrows and his joys.
Sophocles.
Reply to: