From: Alexander Shukaev <emacs@Alexander.Shukaev.name>
To: 27315@debbugs.gnu.org
Subject: bug#27315: Regression: `abbreviate-file-name' and `tramp-file-name-handler'
Date: Sat, 10 Jun 2017 21:00:22 +0200 [thread overview]
Message-ID: <fb6fdbd4-573d-cbce-b881-bd28560609bc@Alexander.Shukaev.name> (raw)
In-Reply-To: <88de418a-0e23-9ff7-5cea-cd2add2dab8c@Alexander.Shukaev.name>
Hello,
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@localhost:~/hang
will result in hanging with the "Sending password" message in
minibuffer. I did not debug this, but I know for sure how to workaround
this and, therefore, can provide a clue how to fix it. That is
$ emacs -Q
Paste the following to the "*scratch*" buffer:
(setq-default
frame-title-format
'((:eval (list (user-login-name)
"@"
(system-name)
":"
(let (file-name-handler-alist)
(abbreviate-file-name (or (buffer-file-name)
(file-name-as-directory
default-directory))))))))
M-x eval-buffer
M-x find-file /sudo:root@localhost:~/yuppie
opens the file just fine. It means that somehow since Emacs 26
`abbreviate-file-name' either triggers `tramp-file-name-handler' or it
did so before but this time (I heard that the TRAMP syntax has changed)
it might be bugged.
Michael, could you have a look at this? Thanks!
Kind regards,
Alexander
next prev parent reply other threads:[~2017-06-10 19:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-13 0:59 bug#25191: Redesign `recentf-menu-bar' logic and its callers Alexander Shukaev
2017-06-10 12:59 ` bug#27306: Regression: Emacs Lisp Indentation Alexander Shukaev
2017-06-10 15:33 ` npostavs
2017-06-13 11:27 ` npostavs
2017-06-16 7:39 ` Alexander Shukaev
2017-06-10 19:00 ` Alexander Shukaev [this message]
2017-06-11 9:13 ` bug#27315: Regression: `abbreviate-file-name' and `tramp-file-name-handler' Michael Albinus
2017-06-11 11:30 ` Alexander Shukaev
2017-06-12 15:59 ` Michael Albinus
2017-06-13 21:55 ` Alexander Shukaev
2017-06-14 12:38 ` Michael Albinus
2017-06-16 7:33 ` Alexander Shukaev
2017-06-16 8:39 ` Michael Albinus
2019-10-09 7:46 ` bug#25191: Redesign `recentf-menu-bar' logic and its callers Lars Ingebrigtsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fb6fdbd4-573d-cbce-b881-bd28560609bc@Alexander.Shukaev.name \
--to=emacs@alexander.shukaev.name \
--cc=27315@debbugs.gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).