tramp-default-method not applied anymore

2018-02-12 Thread Gilles Pion
Emacs 26.0.91 (pretest version)
Tramp 2.3.3.26.1 (bundled with Emacs 26)


I now have to explicitly a method in remote path names:
"/:@".

"/@" fails with this kind of message:

Setting current directory: No such file or directory, /@:/


--
Gilles
___
Tramp-devel mailing list
Tramp-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/tramp-devel


Re: tramp-default-method not applied anymore

2018-02-12 Thread Michael Albinus
Gilles Pion  writes:

Hi Gilles,

> I now have to explicitly a method in remote path names:
> "/:@".

Yes, this is intended. Read etc/NEWS of Emacs 26.1:

--8<---cut here---start->8---
*** The method part of remote file names is mandatory now.
A valid remote file name starts with "/method:host:" or
"/method:user@host:".

*** The new pseudo method "-" is a marker for the default method.
"/-::" is the shortest remote file name then.
--8<---cut here---end--->8---

You could still use tramp-default-method, by using "-" as the default
method: "/-:@".

If you use only the default method, you could switch the Tramp syntax by
this in your .emacs:

--8<---cut here---start->8---
(require 'tramp)
(tramp-change-syntax 'simplified)
--8<---cut here---end--->8---

> Gilles

Best regards, Michael.

___
Tramp-devel mailing list
Tramp-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/tramp-devel


Re: tramp-default-method not applied anymore

2018-02-12 Thread Michael Albinus
Gilles Pion  writes:

Hi Gilles,

> BTW I think that the setting of "comint-file-name-prefix" in rlogin.el
> have to be fixed accordingly:
>
> replace:
>(setq comint-file-name-prefix
>  (concat "/" rlogin-remote-user "@" rlogin-host ":"))
> by
>(setq comint-file-name-prefix
>  (concat "/-:" rlogin-remote-user "@" rlogin-host ":"))
>
> (maybe using a condition case on emacs or tramp version?)

This was already done:

--8<---cut here---start->8---
commit e23de39e22ccdf594b0ee84959f6df9d01af25a2
Author: Michael Albinus 
Date:   Sat Feb 3 11:08:33 2018 +0100

Fix Bug#30324

* lisp/net/rlogin.el (rlogin, rlogin-directory-tracking-mode):
Adapt to changed remote file name syntax.  (Bug#30324)
--8<---cut here---end--->8---

Best regards, Michael.

___
Tramp-devel mailing list
Tramp-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/tramp-devel


Re: tramp-default-method not applied anymore

2018-02-12 Thread Gilles Pion
> This was already done:

I've compiled Emacs using archive emacs-26.0.91.tar.xz from
alpha.gnu.org, dated 22 Jan 2018, the rlogin.el included don't include
those fixes.

___
Tramp-devel mailing list
Tramp-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/tramp-devel


Re: tramp-default-method not applied anymore

2018-02-12 Thread Gilles Pion
> Yes, this is intended. Read etc/NEWS of Emacs 26.1:

Thanks for pointing me in the right direction,

BTW I think that the setting of "comint-file-name-prefix" in rlogin.el
have to be fixed accordingly:

replace:
   (setq comint-file-name-prefix
 (concat "/" rlogin-remote-user "@" rlogin-host ":"))
by
   (setq comint-file-name-prefix
 (concat "/-:" rlogin-remote-user "@" rlogin-host ":"))

(maybe using a condition case on emacs or tramp version?)

___
Tramp-devel mailing list
Tramp-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/tramp-devel


Re: tramp-default-method not applied anymore

2018-02-12 Thread Michael Albinus
Gilles Pion  writes:

>> This was already done:
>
> I've compiled Emacs using archive emacs-26.0.91.tar.xz from
> alpha.gnu.org, dated 22 Jan 2018, the rlogin.el included don't include
> those fixes.

That's why I've shown the commit entry :-)

Date:   Sat Feb 3 11:08:33 2018 +0100   

Best regards, Michael.

___
Tramp-devel mailing list
Tramp-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/tramp-devel