emacs-devel
[Top][All Lists]
Advanced

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

Re: Some developement questions


From: hw
Subject: Re: Some developement questions
Date: Sun, 02 Sep 2018 18:27:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: hw <address@hidden>
>> Cc: address@hidden,  address@hidden,  address@hidden,  address@hidden
>> Date: Fri, 31 Aug 2018 02:40:30 +0200
>> 
>> > Assuming they are separate: for the first one, is using the -dDISPLAY
>> > option (without any client) what you want?  And for the second, did
>> > you try using server-use-tcp?
>> 
>> I tried both.  Without the -d option, emacs and emacsclient both seem to
>> ignore the DISPLAY variable, and only with -d, they try to use the
>> display they should use.
>
> I think this is expected behavior.  Does it solve your use case?  If
> not, why not?

I would call it an unusual way of specifying the display to use.
Everything else seems to refer to the DISPLAY environment variable.

I can't tell if it would solve the problem because I haven't tried all
the options yet.  I usually don't run the X server listening to the
network, and I usually do not restart it.  I also do not know if the X
server needs to listen to the network to be able to use a remote Emacs
server --- after all, the client runs locally and should be able to use
the X server without it listening to the network.

>> >> I understand that the Emacs server can not open the virtual terminal
>> >> when using 'emacsclient -nw' because from its perspective, that is a
>> >> remote file.
>> >
>> > I'm afraid I don't understand why you need to run "emacsclient -nw" on
>> > another machine.  Why not remotely login and run emacsclient there?
>> 
>> That's because I want to use emacsclient with a remote Emacs server and
>> because I would have to log in to run emacsclient on the server.  I
>> wouldn't be able to use Emacs in an X frame, either, unless I'd switch
>> the monitor over to the server and run an X server there.
>
> You explicitly mentioned -nw, so how is X frame relevant here?

It is relevent for 'emacsclient -nc'.

>> Why would I want to run the emacsclient on the same machine as the Emacs
>> server?
>
> Why do you want to run emacsclient at all?  IOW, I still don't
> understand what is it that you are trying to accomplish.

I want to be able to use the same Emacs session with multiple different
machines --- currently only two.

Why does anyone run an ssh server?



reply via email to

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