From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: hw Newsgroups: gmane.emacs.devel Subject: Re: Some developement questions Date: Sun, 02 Sep 2018 18:27:27 +0200 Organization: my virtual residence Message-ID: <87efebg900.fsf@himinbjorg.adminart.net> References: <87sh36inql.fsf@himinbjorg.adminart.net> <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> <83h8j912d0.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1535907156 14661 195.159.176.226 (2 Sep 2018 16:52:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 2 Sep 2018 16:52:36 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: spacibba@aol.com, radon.neon@gmail.com, flexibeast@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 02 18:52:32 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 1fwVby-0003gY-IB for ged-emacs-devel@m.gmane.org; Sun, 02 Sep 2018 18:52:30 +0200 Original-Received: from localhost ([::1]:41744 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwVe4-0002Xx-W3 for ged-emacs-devel@m.gmane.org; Sun, 02 Sep 2018 12:54:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwVaY-0000hi-SS for emacs-devel@gnu.org; Sun, 02 Sep 2018 12:51:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwVTO-0004GA-PR for emacs-devel@gnu.org; Sun, 02 Sep 2018 12:43:39 -0400 Original-Received: from mo6-p02-ob.smtp.rzone.de ([2a01:238:20a:202:5302::8]:21740) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fwVTN-0004Ee-JV; Sun, 02 Sep 2018 12:43:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1535906616; s=strato-dkim-0002; d=adminart.net; h=Sender:References:Message-ID:Date:In-Reply-To:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=Z0sAzRbEq1jj2WtutucH85i2cSlcwjsHdzdDlOdvAf0=; b=de45SJDqOLfaMWgPH5t1L+kM6wTQnRUT2teLUtj3Pv8laBcJqhhXmwYJx8yNn6LO/w Terg/RYosUudOJiTiTiYNmOhcTy3r8JQSDcyxJFmDhr+mKneYJypcYqBuu1j5TfdtGBr UUiSUGE9l+xxyaVftCgc2JodAzYgtbloDbEy3MAe1ra+/WpbkUtyQ3+K8m0Eka5W76E9 OYmGOE2P/2z+3YcEnoJA1KqGmqH3af2q8KEovM2SzR6CO/LqnRN0qwkhdQMBgy3hdeFV ivllKRj32Zjdzma43OlFt4IJC8ZBvpauMwBlGClDy3vurAp1WzMKybJcXwkYL9EdNp+s Brfg== X-RZG-AUTH: ":O2kGeEG7b/pS1FS4THaxjVF9w0vVgfQ9xGcjwO5WMRo5c+h5ceMqQWZ3yrBp+AVdIIwXjneEe9k=" X-RZG-CLASS-ID: mo00 Original-Received: from himinbjorg.adminart.net by smtp.strato.de (RZmta 43.21 DYNA|AUTH) with ESMTPSA id j020b1u82GhWFGF (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Sun, 2 Sep 2018 18:43:32 +0200 (CEST) Original-Received: from lee by himinbjorg.adminart.net with local (Exim 4.90_1) (envelope-from ) id 1fwVTH-0000ZM-Qi; Sun, 02 Sep 2018 18:43:31 +0200 In-Reply-To: <83h8j912d0.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 01 Sep 2018 21:47:39 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:238:20a:202:5302::8 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:229185 Archived-At: Eli Zaretskii writes: >> 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 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?