all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Max Nikulin <manikulin@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: emacs-devel@gnu.org
Subject: Re: man integration with tramp
Date: Sat, 7 Oct 2023 23:37:17 +0700	[thread overview]
Message-ID: <a19d906d-32f1-43d3-9e24-cb459588d790@gmail.com> (raw)
In-Reply-To: <877cnyod5b.fsf@gmx.de>

On 07/10/2023 19:00, Michael Albinus wrote:
> Max Nikulin writes:
>>    man -l - </usr/share/man/man1/man.1.gz
> 
> However, this will be the second choice only for showing remote man
> pages, because the local man command could not handle references well I
> fear. And completion candidates for other man pages won't work for remote
> hosts either with this approach.

I suggested it for Tramp methods which do not support remote processes.

However if a man page is opened through path to the file (instead of 
just page name) then neighbor files and directories should be considered 
before standard MANPATH when another man page is opened from this 
buffer. It does not matter if it is a remote or a local file. Likely the 
current page is from another set that is e.g. newer or older than system 
pages.

WoMan has code that travels through directories to build completion 
list. However I do not like that WoMan does not allow to specify section 
as man(7) and requires additional step to choose appropriate section. 
Perhaps a part of related code may be reused.



  reply	other threads:[~2023-10-07 16:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20200730044554.obcvownwrmv4du7m.ref@ergus>
2020-07-30  4:45 ` man integration with tramp Ergus
2020-07-30 17:58   ` Michael Albinus
2020-07-30 19:38     ` Eli Zaretskii
2020-07-31  9:24       ` Michael Albinus
2020-07-31 12:34         ` Eli Zaretskii
2020-07-31 12:41           ` Michael Albinus
2023-10-07 11:42             ` Max Nikulin
2023-10-07 12:00               ` Michael Albinus
2023-10-07 16:37                 ` Max Nikulin [this message]
2023-10-07 16:49                   ` Michael Albinus
2023-10-08  3:02                     ` Max Nikulin
2023-10-08  8:06                       ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a19d906d-32f1-43d3-9e24-cb459588d790@gmail.com \
    --to=manikulin@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.