[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: man integration with tramp
From: |
Michael Albinus |
Subject: |
Re: man integration with tramp |
Date: |
Thu, 30 Jul 2020 19:58:16 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Ergus <spacibba@aol.com> 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.