* bug#30904: 26.0.91; tramp.el: Outdated docstring of tramp-dissect-file-name
@ 2018-03-22 6:21 Pierre Neidhardt
2018-03-22 9:06 ` Michael Albinus
0 siblings, 1 reply; 2+ messages in thread
From: Pierre Neidhardt @ 2018-03-22 6:21 UTC (permalink / raw)
To: 30904
On the one hand, tramp-make-tramp-file-name documents the new DOMAIN and
PORT arguments:
> tramp-make-tramp-file-name is a compiled Lisp function in ‘tramp.el’.
>
> (tramp-make-tramp-file-name METHOD USER DOMAIN HOST PORT LOCALNAME &optional
> HOP)
>
> Constructs a Tramp file name from METHOD, USER, HOST and LOCALNAME.
> When not nil, optional DOMAIN, PORT and HOP are used.
On the other hand, tramp-dissect-file-name fails to reference them:
> tramp-dissect-file-name is a compiled Lisp function in ‘tramp.el’.
>
> (tramp-dissect-file-name NAME &optional NODEFAULT)
>
> Return a ‘tramp-file-name’ structure.
> The structure consists of remote method, remote user, remote host,
> localname (file name on remote host) and hop. If NODEFAULT is
> non-nil, the file name parts are not expanded to their default
> values.
I think we should mention DOMAIN and PORT in the dissect function docstring.
The code actually handles them.
In GNU Emacs 26.0.91 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.22.26)
of 2018-03-03 built on mimimi
Repository revision: 752fba992b793a74d202c9cfc3e1a92fd458e748
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description: Void Linux
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#30904: 26.0.91; tramp.el: Outdated docstring of tramp-dissect-file-name
2018-03-22 6:21 bug#30904: 26.0.91; tramp.el: Outdated docstring of tramp-dissect-file-name Pierre Neidhardt
@ 2018-03-22 9:06 ` Michael Albinus
0 siblings, 0 replies; 2+ messages in thread
From: Michael Albinus @ 2018-03-22 9:06 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: 30904-done
Version: 27.1
Pierre Neidhardt <ambrevar@gmail.com> writes:
Hi Pierre,
> I think we should mention DOMAIN and PORT in the dissect function docstring.
> The code actually handles them.
Thanks for the report. I've fixed this in both Emacs and Tramp
repositories, master branch.
I do not want to commit this to the emacs-26 branch just now, short
before the Emacs 26.1 release. It is not critical.
I have fixed this also in the Tramp repository, branch-2-3-stable. This
will be merged into the Emacs repository, emacs-26 branch, after Emacs
26.1 is out. So it will appear also in a later Emacs 26.2.
Closing the bug.
Best regards, Michael.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-22 9:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-22 6:21 bug#30904: 26.0.91; tramp.el: Outdated docstring of tramp-dissect-file-name Pierre Neidhardt
2018-03-22 9:06 ` Michael Albinus
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.