From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: man integration with tramp Date: Thu, 30 Jul 2020 19:58:16 +0200 Message-ID: <87r1ssdgw7.fsf@gmx.de> References: <20200730044554.obcvownwrmv4du7m.ref@ergus> <20200730044554.obcvownwrmv4du7m@ergus> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35646"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jul 30 20:01:21 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k1Crp-0009AW-0F for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Jul 2020 20:01:21 +0200 Original-Received: from localhost ([::1]:47352 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k1Crn-0005Lf-Ol for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Jul 2020 14:01:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1Cox-0004aD-Cz for emacs-devel@gnu.org; Thu, 30 Jul 2020 13:58:23 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:37981) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1Cov-0007i8-5a for emacs-devel@gnu.org; Thu, 30 Jul 2020 13:58:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1596131897; bh=YZQXwlATsA4h7e0jTC0kluseiuMRvPDl47iQvdbLTHc=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=EvCw/t+bP/ilyloPBR3a7XQuX40CAiOqi7I3Rg55AEtpwRwzVljfCXEl5wTkp81df rShQ4t/MsTqgqYdfo7qKzm6UmQM1SFfOc1r6aZc+Xy5cJj1+hQywumM28kqTseudSx A+cnAGMCNIIbPSu5uxkjPRKgB68dAGJXE479kp9s= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([213.220.151.57]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MZTqW-1kF4rW3MgA-00WZhn; Thu, 30 Jul 2020 19:58:16 +0200 In-Reply-To: <20200730044554.obcvownwrmv4du7m@ergus> (Ergus's message of "Thu, 30 Jul 2020 06:45:54 +0200") X-Provags-ID: V03:K1:1yDLU/7hxv5W0lIwl1NFm+Hoq61UhovR0dALuhuHqJ2rFjLBBjk 8AlBp9a2n4cqQdPKJsRAeiaDEMRXrqWPDTf9dwRU3Xzb45V5jRc68floO7VEU31eqKjasnY 1U2GoH9t2lTwXKdADC9QqJVs3B1CUc+Ylm8FAWcNqdVeqneNNUPcmDSLP43Zsdx5uqyFgBT 5MQY4qJco7lYe76hdbqdg== X-UI-Out-Filterresults: notjunk:1;V03:K0:u185JtQ4JP0=:FtaRgq3ipksHpj9e3T44Mb YM/Snr6HNoSnR45iaFqZPhz3vu38O9BheSWqgM32qqJ5OsHGcbSHvkLiQP4p2BNFcWDP43bIp H2jcZDQ3YSaSYiksazPZ8KRXoU3fZ8CGPh74TR6La4xDGh6HlmZKRweSH9g2XBcfO1z5c/d7B woMS+ajtfu6UdEPeFdTg32hS3WCMDUWxFZTisPkYkx9qjv+9lgVEGFlQT0/IV9K2ldw2sS0W6 PSFccD/9m4qpXcoKIH/sjXwM3rmx+T2RMoEXthL+qItt52jwnOb1hdA3YpcNgr8WHE9uGp+lk KdaXgZtHQrEeV5fqRp0A/3nIj2GxhVIQrh1i5s4jZUC72WjQIBz1iS6UqBKNY/iSOmp1n3slq tFFM6yLx6REaft0PTiG/UlIE/pTqBFnMjutK47PfBOGun5XVOwHxxGeEmniR2hMcA2amdg4qs Rx+g1NQH3GtbYoLUv97GNSFEXZYlkenscfNPzfVFesLvIPLufrsjl3TANZFRrzyYfijoKth4E DX1wvNetx91Rq1RBfgOuBZBVd99FZTlZzjs/SOoZamsvo3kIZqvrLcP0M0P1YFIw3KHNersZw 0f+xfOU4MijJVdkm/FV0c7AJRPSP872N9pTlLnGHvR8YD2HCv+nsAaXrf0OCqI72+ChwIoliz ED+FKyeHPrHXJKUqqwLmaq/DxWvki7hy8Q6e6O+1JASH08qbhCA6KsdH3LoqSgP4Q/X+JXl4C 6leO2DZ2x89AwhOzlxfNZLofq0R/N3u0x+RWCjev5yNd3MYVTntH9CB+SqnL1b8/9BbLJVlP Received-SPF: pass client-ip=212.227.15.18; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/30 13:58:19 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:253352 Archived-At: Ergus writes: > Hi: Hi Ergus, > Do we have any functionality to support man in tramp mode to access man > pages in the remote node? > > The actual implementation of man has call-process so I suppose we > don't. But it doesn't seems too complex to do. > > Suggestions? > > Should we add a different command, a configuration option or you think > it is not a good idea? Is there anything special to take into account > and I am ignoring so far? I think it is a good idea. Sometimes, I felt such a need as well. But it was so rare, that it didn't kick me enough to run. I see two possibilities to achieve this goal. - Adapt man.el. Likely, it just needs a prefix argument for `man' and related commands. This would control to call the remote counterparts of `call-process' and `start-process', resulting man pages from a remote host. A proper managemnt of $MANPATH for different hosts is also required. - Configure woman.el. Likely, we don't need to touch the code; just instructions are needed how to set `woman-manpath', `woman-path' and friends for remote hosts. Maybe we must enable connection-local variables in woman.el (this would be a code change, but a small one). Personally, I prefer the second option, but I haven't digged deeper for possible problems. Comments? > Best > Ergus Best regards, Michael.