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: Teaching emacsclient to act as a pager, and more Date: Fri, 09 Sep 2016 22:42:38 +0300 Message-ID: <834m5oamhd.fsf@gnu.org> References: <1465262706-5229-1-git-send-email-sbaugh@catern.com> <87twfevqu7.fsf@earth.catern.com> <87pood5fee.fsf@earth.catern.com> <87inu55aln.fsf@earth.catern.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1473450234 12025 195.159.176.226 (9 Sep 2016 19:43:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 9 Sep 2016 19:43:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 09 21:43:49 2016 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 1biRi5-0001KS-BG for ged-emacs-devel@m.gmane.org; Fri, 09 Sep 2016 21:43:37 +0200 Original-Received: from localhost ([::1]:59915 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biRi3-0006HU-4K for ged-emacs-devel@m.gmane.org; Fri, 09 Sep 2016 15:43:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biRhW-0006HM-BP for emacs-devel@gnu.org; Fri, 09 Sep 2016 15:43:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1biRhR-0001m9-Un for emacs-devel@gnu.org; Fri, 09 Sep 2016 15:43:01 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50370) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biRhR-0001lu-SH; Fri, 09 Sep 2016 15:42:57 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1439 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1biRhP-0006Fp-9R; Fri, 09 Sep 2016 15:42:56 -0400 In-reply-to: (message from Stefan Monnier on Fri, 09 Sep 2016 15:26:48 -0400) 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:207332 Archived-At: > From: Stefan Monnier > Date: Fri, 09 Sep 2016 15:26:48 -0400 > > Or simpler: > - emacsclient connects to emacs daemon in pretty much the normal way. > - then (after warning the emacs daemon appropriately), turn the > emacsclient into a simple proxy which reads from its stdin and passes > that straight to the daemon's socket (and vice versa for the daemon > socket's output). If this works for the use case at hand, IMO it's much simpler and more elegant than any alternative. Thanks.