From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: raman Newsgroups: gmane.emacs.devel Subject: Re: Teaching emacsclient to act as a pager, and more Date: Wed, 08 Jun 2016 17:25:13 -0700 Message-ID: References: <1465262706-5229-1-git-send-email-sbaugh@catern.com> <87porrd6gz.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1465431944 4739 80.91.229.3 (9 Jun 2016 00:25:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jun 2016 00:25:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: Spencer Baugh Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 09 02:25:31 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bAnmt-0007lB-0y for ged-emacs-devel@m.gmane.org; Thu, 09 Jun 2016 02:25:31 +0200 Original-Received: from localhost ([::1]:60054 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAnms-0006lv-03 for ged-emacs-devel@m.gmane.org; Wed, 08 Jun 2016 20:25:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55754) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAnmk-0006lm-8z for emacs-devel@gnu.org; Wed, 08 Jun 2016 20:25:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAnmh-0007FK-2s for emacs-devel@gnu.org; Wed, 08 Jun 2016 20:25:22 -0400 Original-Received: from mail-pa0-x233.google.com ([2607:f8b0:400e:c03::233]:34152) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAnmg-0007FF-SD for emacs-devel@gnu.org; Wed, 08 Jun 2016 20:25:19 -0400 Original-Received: by mail-pa0-x233.google.com with SMTP id bz2so7106888pad.1 for ; Wed, 08 Jun 2016 17:25:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=7coX62BFZPWZiQOwrMKsR/1uqWvXfbzCZyJ0bfZB7kU=; b=LBtNfTaDK7YO/5xaRctVmp0WXF875gU71CjTQDhOkhpJATszGM3zS+hUpv3MPyEJYO 9jGhohcn1GA75x8BcOUl1WwxfGX2KG3i3LTbznBvJv3J0E5ipAnzULkKjlABOSFs65Ge 85sqSRw8SPRFGnFp3bjECLDQD73g51Oqr3S5wjxiaM3eHfXLVy67acF1nDmZBJ63u3RF hl8eQlMzMOMhZXa8++p0CtWtj2fymxoStwAFJCjBj9Ri2qZOURTzwHKU7+u7ulvG5dAx 4sqhOngke+G6S6gldmcELEwqZK4PFdCoMR6Ozt/j0c6UOW/2l/qvQce0psKJIwNY0OWB R3mA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=7coX62BFZPWZiQOwrMKsR/1uqWvXfbzCZyJ0bfZB7kU=; b=MpFNxNXuOTrYtcbYu/63Em/FiVKKKA7u6dPEiZiQG857jEtuZlnor1opPTp+NZIBy7 6K7CnBk5dQ7Z6AKfhely2V0JEPWl+YeNumAchMYbfrbE3zj4SrfA6aVZxZGw10UnfqGG ori8G+YgnJIHM+zOrJmZOJoudeNq2xnXiiB/BNjahrnUrIkJxHfOe5iVtbEZ46zV3hlB neBgi5hHQguMvq4D43ipdJc1NF7S3aMHJpTXIK5QE0NnhfzbK65ZqRnlDt2LFEaUenPW KtXKKRq29SA+FImqMbR5DsBvHgXzbTSPt6Fe9PtzOr53tJ8HZv/rTOKMxv8dkoFZH47W hxLQ== X-Gm-Message-State: ALyK8tLL2tVNd048Gg2/QWK1YE7aH92tui3GFx2BmVUVaqvyG8GZXR6muyJjDfuhcAMiUyum X-Received: by 10.66.126.11 with SMTP id mu11mr8892146pab.18.1465431916227; Wed, 08 Jun 2016 17:25:16 -0700 (PDT) Original-Received: from raman-glaptop2 ([207.198.106.151]) by smtp.gmail.com with ESMTPSA id b66sm5003615pfb.55.2016.06.08.17.25.14 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 08 Jun 2016 17:25:15 -0700 (PDT) In-Reply-To: <87porrd6gz.fsf@gnu.org> (Tassilo Horn's message of "Wed, 08 Jun 2016 17:51:24 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.94 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c03::233 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:204243 Archived-At: Tassilo Horn writes: 1+. For now, I do this with a perl script that I found via GitHub, but seeing this functionality in Emacs/emacsclient would be wonderful. My specific use case -- I define the pipe to emacsclient as my printer command in XTerm -- then I can grab content from ssh running in an XTerm over to my local emacs.> Spencer Baugh writes: > > Hi Spencer, > >> I am sure that these patches are terrible style, not in keeping with >> the Emacs coding conventions, and totally unportable (I wrote this on >> GNU/Linux) - I just wanted to get out a quick proof of concept. > > I can't comment on that but using emacsclient as a PAGER is one of the > top entries in my emacs wishlist. Thanks for working on that! > > Bye, > Tassilo > --