GNU bug report logs - #27315
Regression: `abbreviate-file-name' and `tramp-file-name-handler'

Previous Next

Package: emacs;

Reported by: Alexander Shukaev <emacs <at> Alexander.Shukaev.name>

Date: Sat, 10 Jun 2017 19:01:02 UTC

Severity: normal

Tags: fixed

Fixed in version 26.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 27315 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Alexander Shukaev <emacs <at> Alexander.Shukaev.name>
Cc: 27315 <at> debbugs.gnu.org
Subject: Re: bug#27315: Regression: `abbreviate-file-name' and
 `tramp-file-name-handler'
Date: Sun, 11 Jun 2017 11:13:24 +0200
Alexander Shukaev <emacs <at> Alexander.Shukaev.name> writes:

> Hello,

Hi Alexander,

> In Emacs 26 series, I notice regression that has to do with
> `abbreviate-file-name' and `tramp-file-name-handler'.  Here is how to
> reproduce it:
>
> $ emacs -Q
>
> Paste the following to the "*scratch*" buffer:
>
> (setq-default
>   frame-title-format
>   '((:eval (list (user-login-name)
>                  "@"
>                  (system-name)
>                  ":"
>                  (abbreviate-file-name (or (buffer-file-name)
>                                            (file-name-as-directory
>                                             default-directory)))))))
>
> M-x eval-buffer
> M-x find-file /sudo:root <at> localhost:~/hang
>
> will result in hanging with the "Sending password" message in
> minibuffer.

I cannot reproduce it, using 

--8<---------------cut here---------------start------------->8---
GNU Emacs 26.0.50 (build 17, x86_64-pc-linux-gnu, GTK+ Version 2.24.31)
 of 2017-06-10 built on detlef
Repository revision: f361c54e6abc5ba5fa5ce6cc9734b5283e0e6aa3
Windowing system distributor 'The X.Org Foundation', version 11.0.11903000
System Description:	Ubuntu 17.04
--8<---------------cut here---------------end--------------->8---

A recent Emacs build is important, because I've fixed several Tramp
issues recently, resulting from the Tramp syntax change.

If the problem persists, could you pls set tramp-verbose to 10, prior
running your test? There will be a Tramp debug buffer then.

> Michael, could you have a look at this?  Thanks!
>
> Kind regards,
> Alexander

Best regards, Michael.




This bug report was last modified 7 years and 341 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.