]> git.eshelyaron.com Git - emacs.git/commit
Run `man' also on remote systems
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 1 Nov 2023 15:54:31 +0000 (16:54 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 1 Nov 2023 15:54:31 +0000 (16:54 +0100)
commit861ac933dd8aed1028edc4b9142400e3702874d5
tree2b6aea95586274a3c751165f72a36f22cac0e5c1
parent8160485953e1439f4da28fac35b918822407436b
Run `man' also on remote systems

This implements bug#66758

* doc/emacs/programs.texi (Man Page):
Describe Man-support-remote-systems.

* etc/NEWS: Mention user option 'Man-support-remote-systems'.
Fix typos.

* lisp/dired.el (Man-support-remote-systems): Declare.
(dired-do-man): Use it.  Use also `file-local-name'.

* lisp/man.el (Man-support-remote-systems): New defcustom.
(Man-xref-normal-file): Handle remote files.
(Man-default-directory, Man-shell-file-name)
(Man-header-file-path): New defuns.
(Man-init-defvars): Use octal numbers.
(Man-support-local-filenames): Handle remote files.
(Man-completion-table): Use `Man-default-directory' and `process-file'.
(man): Adapt docstring.
(Man-start-calling): Use `Man-default-directory'.
(Man-getpage-in-background): Use `Man-default-directory',
`Man-shell-file-name', `start-file-process' and `process-file'.  Adapt
buffer name.
(Man-update-manpage): Use `Man-shell-file-name' and `process-file'.
(Man-view-header-file): Use `Man-header-file-path'.
doc/emacs/programs.texi
etc/NEWS
lisp/dired.el
lisp/man.el