From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: man integration with tramp Date: Thu, 30 Jul 2020 22:38:21 +0300 Message-ID: <83tuxoeqtu.fsf@gnu.org> References: <20200730044554.obcvownwrmv4du7m.ref@ergus> <20200730044554.obcvownwrmv4du7m@ergus> <87r1ssdgw7.fsf@gmx.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16505"; mail-complaints-to="usenet@ciao.gmane.io" Cc: spacibba@aol.com, emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jul 30 21:39:18 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 1k1EOc-0004BK-4f for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Jul 2020 21:39:18 +0200 Original-Received: from localhost ([::1]:55826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k1EOb-0005ZH-14 for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Jul 2020 15:39:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57232) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1ENy-00055s-65 for emacs-devel@gnu.org; Thu, 30 Jul 2020 15:38:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44285) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k1ENx-0005Gc-Mc; Thu, 30 Jul 2020 15:38:37 -0400 Original-Received: from [176.228.60.248] (port=1862 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k1ENx-00019l-0G; Thu, 30 Jul 2020 15:38:37 -0400 In-Reply-To: <87r1ssdgw7.fsf@gmx.de> (message from Michael Albinus on Thu, 30 Jul 2020 19:58:16 +0200) 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:253354 Archived-At: > From: Michael Albinus > Date: Thu, 30 Jul 2020 19:58:16 +0200 > Cc: emacs-devel@gnu.org > > 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? woman.el doesn't support some of the lately-introduced roff directives, so it cannot always typeset and render every man page one finds nowadays on modern platforms. If you want to use woman.el to do this job, it will need to be enhanced first, I think.