unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Yuri D'Elia <wavexx@thregr.org>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: Paul Eggert <eggert@cs.ucla.edu>, 36809@debbugs.gnu.org
Subject: bug#36809: "~nosuchuser" commit breaks tramp's scp
Date: Fri, 26 Jul 2019 16:12:17 +0200	[thread overview]
Message-ID: <87r26c996m.fsf@wavexx.thregr.org> (raw)
In-Reply-To: <87imrpvssb.fsf@gmx.de>

On Fri, Jul 26 2019, Michael Albinus wrote:
>> Any idea on how to investigate where is it stuck? (there's no error
>> being triggered).
>
> Usually, you set tramp-verbose to 6 (or to 10, if it is a really nasty
> problem). There will be a debug buffer, for analysis.

Ok, this was helpful and it turned out that's actually something related
to this commit.

I have an unexpanded path based on user-emacs-directory which is
prepended to load-path:

  (concat user-emacs-directory "lisp/")

Somehow this now wreaks havoc when autoloading the 'editorconfig' elpa
package. I kept seeing this:

15:46:41.822312 tramp-do-file-attributes-with-stat (5) # file attributes with stat: /home/ydelia/~/.emacs.d/lisp/editorconfig-core.elc
15:46:41.822948 tramp-send-command (6) # ( (test -e /home/ydelia/\~/.emacs.d/lisp/editorconfig-core.elc || test -h /home/ydelia/\~/.emacs.d/lisp/editorconfig-core.elc) && ...
15:46:41.869461 tramp-wait-for-regexp (6) #

in the tramp log, which helped. Incidentally, this is only noticeable
when opening a remote directory even though the test path is local, for
a reason I didn't determine yet.

Note that editorconfig is actually located in ~/.emacs.d/elpa anyway.
~/.emacs.d/lisp is empty as I came to this point by culling everything
else in sight.

So, where's the issue? Something with regular ~ expansion which has
changed?






  reply	other threads:[~2019-07-26 14:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <8736iuf8cp.fsf@wavexx.thregr.org>
2019-07-25 17:11 ` bug#36809: "~nosuchuser" commit breaks tramp's scp Paul Eggert
2019-07-26 12:09   ` Michael Albinus
2019-07-26 12:54     ` Yuri D'Elia
2019-07-26 13:17       ` Michael Albinus
2019-07-26 14:12         ` Yuri D'Elia [this message]
2019-07-26 17:06           ` Paul Eggert
2019-07-26 18:10             ` Yuri D'Elia
2019-08-03 20:35               ` Paul Eggert

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=87r26c996m.fsf@wavexx.thregr.org \
    --to=wavexx@thregr.org \
    --cc=36809@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=michael.albinus@gmx.de \
    /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).