From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Some developement questions Date: Sat, 01 Sep 2018 21:47:39 +0300 Message-ID: <83h8j912d0.fsf@gnu.org> References: <87sh36inql.fsf@himinbjorg.adminart.net> <8336v6cvem.fsf@gnu.org> <8736v6icgt.fsf@himinbjorg.adminart.net> <83tvnmb958.fsf@gnu.org> <877ekigiiw.fsf@himinbjorg.adminart.net> <837ekhb2me.fsf@gnu.org> <87zhxcbmtr.fsf@himinbjorg.adminart.net> <83in409lub.fsf@gnu.org> <871sanb71j.fsf@himinbjorg.adminart.net> <87k1oeaofu.fsf@ada> <20180825103413.gbm5stsl67j6weow@Ergus> <87k1od7vzf.fsf@himinbjorg.adminart.net> <83wosd5h3x.fsf@gnu.org> <871sakzssu.fsf@himinbjorg.adminart.net> <83bm9n6f7d.fsf@gnu.org> <87tvneql3i.fsf@himinbjorg.adminart.net> <83o9dl2oob.fsf@gnu.org> <87y3coopyf.fsf@himinbjorg.adminart.net> <83pny00y1q.fsf@gnu.org> <87tvnbl669.fsf@himinbjorg.adminart.net> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1535827567 22731 195.159.176.226 (1 Sep 2018 18:46:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 1 Sep 2018 18:46:07 +0000 (UTC) Cc: spacibba@aol.com, radon.neon@gmail.com, flexibeast@gmail.com, emacs-devel@gnu.org To: hw Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 01 20:46:03 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwAuH-0005mE-17 for ged-emacs-devel@m.gmane.org; Sat, 01 Sep 2018 20:46:01 +0200 Original-Received: from localhost ([::1]:38120 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwAwN-0005Rm-6W for ged-emacs-devel@m.gmane.org; Sat, 01 Sep 2018 14:48:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwAwC-0005J3-1C for emacs-devel@gnu.org; Sat, 01 Sep 2018 14:48:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwAw8-0008Uk-1k for emacs-devel@gnu.org; Sat, 01 Sep 2018 14:47:59 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwAw7-0008Ua-RO; Sat, 01 Sep 2018 14:47:55 -0400 Original-Received: from [176.228.60.248] (port=2212 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fwAw6-0007yQ-By; Sat, 01 Sep 2018 14:47:55 -0400 In-reply-to: <87tvnbl669.fsf@himinbjorg.adminart.net> (message from hw on Fri, 31 Aug 2018 02:40:30 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:229169 Archived-At: > From: hw > Cc: spacibba@aol.com, radon.neon@gmail.com, flexibeast@gmail.com, emacs-devel@gnu.org > 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 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? > 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.