[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: local emacsclient to remote emacs server
From: |
Robert Pluim |
Subject: |
Re: local emacsclient to remote emacs server |
Date: |
Thu, 24 Mar 2022 13:32:47 +0100 |
>>>>> On Thu, 24 Mar 2022 11:09:30 +0100, Robert Pluim <rpluim@gmail.com> said:
>>>>> On Wed, 23 Mar 2022 12:55:34 +0100, Manuel Giraud <manuel@ledu-giraud.fr>
>>>>> said:
Manuel> Hi,
Manuel> So like you did, I tried to setup an emacs server on one server and
have
Manuel> the emacsclient locally. I tried using TCP but ended up with the
same
Manuel> error as you:
Manuel> Waiting for Emacs...
Manuel> *ERROR*: Could not open file: /dev/ttyp3
Manuel> … so I don't think that it is the intended usage of "Emacs server".
It
Manuel> is more an "editing server" (running locally).
Robert> Right. Iʼve taken a look at the emacs code, it tries to open the tty
Robert> that emacsclient is running on, and obviously that doesnʼt work,
since
Robert> thatʼs on a different machine than where emacs is running.
BTW, one other possible solution to this is to use the 'crdt' package:
it connects a local emacs to a remote emacs over tcp. You edit
locally, and it sends the changes to the remote emacs. Iʼve not used
it much, but it seems to work well enough.
Robert
--