unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alexander Shukaev <emacs@Alexander.Shukaev.name>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 27315@debbugs.gnu.org
Subject: bug#27315: Regression: `abbreviate-file-name' and `tramp-file-name-handler'
Date: Tue, 13 Jun 2017 23:55:19 +0200	[thread overview]
Message-ID: <17682cca-ef7b-fdf1-f607-b9cdf7a35dcf@Alexander.Shukaev.name> (raw)
In-Reply-To: <87ink19oys.fsf@detlef>

[-- Attachment #1: Type: text/plain, Size: 1721 bytes --]

On 06/12/2017 05:59 PM, Michael Albinus wrote:
> There's no reason to do this at this point, I've checked the sources. So
> I have instrumented `tramp-handle-file-name-case-insensitive-p' to print
> its backtrace, in order to understand where it is called from. Committed
> to master.
> 
> Could you, pls, rerun your test with `tramp-verbose' being 10?

Thanks Michael,

Attached to this answer, you will find the corresponding log file, and 
as usual, I had to "C-g" it after some time.  Looks interesting and 
basically as I stated originally,

   tramp-handle-file-name-case-insensitive-p(#("/sudo:root@g75vw:/" 6 10 
(tramp-default t)))
   apply(tramp-handle-file-name-case-insensitive-p 
#("/sudo:root@g75vw:/" 6 10 (tramp-default t)))
   tramp-sh-file-name-handler(file-name-case-insensitive-p 
#("/sudo:root@g75vw:/" 6 10 (tramp-default t)))
   apply(tramp-sh-file-name-handler file-name-case-insensitive-p 
#("/sudo:root@g75vw:/" 6 10 (tramp-default t)))
   tramp-file-name-handler(file-name-case-insensitive-p 
#("/sudo:root@g75vw:/" 6 10 (tramp-default t)))
   file-name-case-insensitive-p(#("/sudo:root@g75vw:/" 6 10 
(tramp-default t)))
   abbreviate-file-name(#("/sudo:root@g75vw:/" 6 10 (tramp-default t)))
   (list (user-login-name) "@" (system-name) ":" (abbreviate-file-name 
(or (buffer-file-name) (file-name-as-directory default-directory))))
   eval((list (user-login-name) "@" (system-name) ":" 
(abbreviate-file-name (or (buffer-file-name) (file-name-as-directory 
default-directory)))))
   redisplay_internal\ \(C\ function\)()

redisplay triggers `abbreviate-file-name' on a TRAMP-like path.  Though 
how come that you cannot reproduce it?  Any further ideas?  Thank you.

Kind regards,
Alexander

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: tramp.log --]
[-- Type: text/x-log; name="tramp.log", Size: 31485 bytes --]

;; Emacs: 26.0.50 Tramp: 2.3.2-pre -*- mode: outline; -*-
;; Location: /usr/share/emacs/26.0.50/lisp/net/tramp.elc Git: 973322704adf11cf2ac442e4d0b35eac71ace972
23:41:39.160316 tramp-get-connection-property (7) # ~root undef
23:41:39.160564 tramp-get-connection-property (7) # process-name nil
23:41:39.160702 tramp-get-connection-property (7) # process-name nil
23:41:39.160831 tramp-get-connection-property (7) # process-buffer nil
23:41:39.160972 tramp-get-connection-property (7) # process-buffer nil
23:41:39.161125 tramp-set-connection-property (7) # process-buffer nil
23:41:39.161656 tramp-maybe-open-connection (3) # Opening connection for root@g75vw using sudo...
23:41:39.167702 tramp-get-local-locale (7) # locale en_US.utf8
23:41:39.168013 tramp-get-connection-property (7) # login-args undef
23:41:39.168177 tramp-get-connection-property (7) # login-args undef
23:41:39.168350 tramp-get-connection-property (7) # process-name nil
23:41:39.168483 tramp-get-connection-property (7) # process-buffer nil
23:41:39.169333 tramp-set-connection-property (7) # vector (tramp-file-name sudo root nil g75vw nil ~/hang nil)
23:41:39.169501 tramp-maybe-open-connection (6) # /bin/sh -i
23:41:39.169630 tramp-get-connection-property (7) # vector (tramp-file-name sudo root nil g75vw nil ~/hang nil)
23:41:39.169768 tramp-get-connection-property (7) # check-remote-echo nil
23:41:39.169882 tramp-get-connection-property (7) # check-remote-echo nil
23:41:39.174414 tramp-accept-process-output (10) # *tramp/sudo root@g75vw* run t
#$ 
23:41:39.174569 tramp-get-connection-property (7) # check-remote-echo nil
23:41:39.174695 tramp-get-connection-property (7) # check-remote-echo nil
23:41:39.174824 tramp-wait-for-regexp (6) # 
#$ 
23:41:39.174963 tramp-get-connection-property (7) # login-program undef
23:41:39.175098 tramp-get-connection-property (7) # login-args undef
23:41:39.175228 tramp-get-connection-property (7) # login-env undef
23:41:39.175359 tramp-get-connection-property (7) # async-args undef
23:41:39.175490 tramp-get-connection-property (7) # connection-timeout undef
23:41:39.175621 tramp-get-connection-property (7) # temp-file undef
23:41:39.175846 tramp-set-connection-property (7) # temp-file /tmp/tramp.9015TwF
23:41:39.176648 tramp-maybe-open-connection (3) # Sending command ‘exec env SHELL=/bin/sh sudo -u root -s -H -p P""a""s""s""w""o""r""d"":’
23:41:39.176797 tramp-get-connection-property (7) # process-name nil
23:41:39.176932 tramp-get-connection-property (7) # remote-echo nil
23:41:39.177053 tramp-send-command (6) # exec env SHELL=/bin/sh sudo -u root -s -H -p P""a""s""s""w""o""r""d"":
23:41:39.177214 tramp-get-connection-property (7) # process-name nil
23:41:39.177346 tramp-get-connection-property (7) # chunksize nil
23:41:39.177470 tramp-set-connection-property (7) # last-cmd-time (22848 23571 177432 413000)
23:41:39.177603 tramp-send-string (10) # exec env SHELL=/bin/sh sudo -u root -s -H -p P""a""s""s""w""o""r""d"":
23:41:39.177736 tramp-get-connection-property (7) # process-buffer nil
23:41:39.177957 tramp-set-connection-property (7) # first-password-request t
23:41:39.178230 tramp-process-actions (3) # Waiting for prompts from remote shell...
23:41:39.190498 tramp-accept-process-output (10) # *tramp/sudo root@g75vw* run t
Password:
23:41:39.190648 tramp-process-one-action (5) # Looking for regexp "\(.*\(user\|login\)\( .*\)?: *\)\'" from remote shell
23:41:39.190759 tramp-get-connection-property (7) # check-remote-echo nil
23:41:39.190859 tramp-get-connection-property (7) # check-remote-echo nil
23:41:39.191000 tramp-process-one-action (5) # Looking for regexp "\(^.*\(\(?:adgangskode\|contrase\(?:\(?:ny\|ñ\)a\)\|geslo\|h\(?:\(?:asł\|esl\)o\)\|iphasiwedi\|jelszó\|l\(?:ozinka\|ösenord\)\|m\(?:ot de passe\|ật khẩu\)\|pa\(?:rola\|s\(?:ahitza\|s\(?: phrase\|code\|ord\|phrase\|wor[dt]\)\|vorto\)\)\|s\(?:alasana\|enha\|laptažodis\)\|wachtwoord\|лозинка\|пароль\|ססמה\|كلمة السر\|गुप्तशब्द\|शब्दकूट\|গুপ্তশব্দ\|পাসওয়ার্ড\|ਪਾਸਵਰਡ\|પાસવર્ડ\|ପ୍ରବେଶ ସଙ୍କେତ\|கடவுச்சொல்\|సంకేతపదము\|ಗುಪ್ತಪದ\|അടയാളവാക്ക്\|රහස්පදය\|ពាក្យសម្ងាត់\|パスワード\|密[码碼]\|암호\)\).*:\0? *\)\'" from remote shell
23:41:39.191125 tramp-get-connection-property (7) # check-remote-echo nil
23:41:39.191220 tramp-get-connection-property (7) # check-remote-echo nil
23:41:39.191364 tramp-process-one-action (5) # Call ‘tramp-action-password’
23:41:39.191470 tramp-get-connection-property (7) # first-password-request t
23:41:39.191572 tramp-get-connection-property (7) # check-remote-echo nil
23:41:39.191668 tramp-get-connection-property (7) # check-remote-echo nil
23:41:39.191959 tramp-action-password (3) # Sending Password
23:41:39.192089 tramp-get-connection-property (7) # check-remote-echo nil
23:41:39.192189 tramp-get-connection-property (7) # check-remote-echo nil
23:41:39.192458 tramp-get-connection-property (7) # first-password-request t
23:41:39.230635 tramp-get-connection-property (7) # case-insensitive undef
23:41:39.230779 tramp-get-connection-property (7) # case-insensitive undef
23:41:39.230868 tramp-handle-file-name-case-insensitive-p (5) # Checking case-insensitive...
23:41:39.231532 tramp-handle-file-name-case-insensitive-p (10) # 
  backtrace()
  tramp-handle-file-name-case-insensitive-p(#("/sudo:root@g75vw:/" 6 10 (tramp-default t)))
  apply(tramp-handle-file-name-case-insensitive-p #("/sudo:root@g75vw:/" 6 10 (tramp-default t)))
  tramp-sh-file-name-handler(file-name-case-insensitive-p #("/sudo:root@g75vw:/" 6 10 (tramp-default t)))
  apply(tramp-sh-file-name-handler file-name-case-insensitive-p #("/sudo:root@g75vw:/" 6 10 (tramp-default t)))
  tramp-file-name-handler(file-name-case-insensitive-p #("/sudo:root@g75vw:/" 6 10 (tramp-default t)))
  file-name-case-insensitive-p(#("/sudo:root@g75vw:/" 6 10 (tramp-default t)))
  abbreviate-file-name(#("/sudo:root@g75vw:/" 6 10 (tramp-default t)))
  (list (user-login-name) "@" (system-name) ":" (abbreviate-file-name (or (buffer-file-name) (file-name-as-directory default-directory))))
  eval((list (user-login-name) "@" (system-name) ":" (abbreviate-file-name (or (buffer-file-name) (file-name-as-directory default-directory)))))
  redisplay_internal\ \(C\ function\)()
  read-string(#("Password for /sudo:root@g75vw: " 19 23 (tramp-default t)) nil t nil)
  read-passwd(#("Password for /sudo:root@g75vw: " 19 23 (tramp-default t)))
  password-read(#("Password for /sudo:root@g75vw: " 19 23 (tramp-default t)) #("/sudo:root@g75vw:" 6 10 (tramp-default t)))
  tramp-read-passwd(#<process *tramp/sudo root@g75vw*>)
  tramp-action-password(#<process *tramp/sudo root@g75vw*> (tramp-file-name "sudo" #("root" 0 4 (tramp-default t)) nil "g75vw" nil "~/hang" nil))
  tramp-process-one-action(#<process *tramp/sudo root@g75vw*> (tramp-file-name "sudo" #("root" 0 4 (tramp-default t)) nil "g75vw" nil "~/hang" nil) ((tramp-login-prompt-regexp tramp-action-login) (tramp-password-prompt-regexp tramp-action-password) (tramp-wrong-passwd-regexp tramp-action-permission-denied) (shell-prompt-pattern tramp-action-succeed) (tramp-shell-prompt-pattern tramp-action-succeed) (tramp-yesno-prompt-regexp tramp-action-yesno) (tramp-yn-prompt-regexp tramp-action-yn) (tramp-terminal-prompt-regexp tramp-action-terminal) (tramp-process-alive-regexp tramp-action-process-alive)))
  tramp-process-actions(#<process *tramp/sudo root@g75vw*> (tramp-file-name "sudo" #("root" 0 4 (tramp-default t)) nil "g75vw" nil "~/hang" nil) 1 ((tramp-login-prompt-regexp tramp-action-login) (tramp-password-prompt-regexp tramp-action-password) (tramp-wrong-passwd-regexp tramp-action-permission-denied) (shell-prompt-pattern tramp-action-succeed) (tramp-shell-prompt-pattern tramp-action-succeed) (tramp-yesno-prompt-regexp tramp-action-yesno) (tramp-yn-prompt-regexp tramp-action-yn) (tramp-terminal-prompt-regexp tramp-action-terminal) (tramp-process-alive-regexp tramp-action-process-alive)) 10)
  tramp-maybe-open-connection((tramp-file-name "sudo" #("root" 0 4 (tramp-default t)) nil "g75vw" nil "~/hang" nil))
  tramp-send-command((tramp-file-name "sudo" #("root" 0 4 (tramp-default t)) nil "g75vw" nil "~/hang" nil) #("cd ~root && pwd" 4 8 (tramp-default t)))
  tramp-sh-handle-expand-file-name("/sudo::~/hang" nil)
  apply(tramp-sh-handle-expand-file-name ("/sudo::~/hang" nil))
  tramp-sh-file-name-handler(expand-file-name "/sudo::~/hang" nil)
  apply(tramp-sh-file-name-handler expand-file-name ("/sudo::~/hang" nil))
  tramp-file-name-handler(expand-file-name "/sudo::~/hang" nil)
  file-exists-p("/sudo::~/hang")
  completion-file-name-table("/sudo::~/hang" file-exists-p lambda)
  test-completion("/sudo::~/hang" completion-file-name-table file-exists-p)
  completion--file-name-table("/sudo::~/hang" file-exists-p lambda)
  complete-with-action(lambda completion--file-name-table "/sudo::~/hang" file-exists-p)
  #[257 "\303\302\x02\300\301$\207" ["/sudo::~/hang" file-exists-p lambda complete-with-action] 6 "

(fn TABLE)"](completion--file-name-table)
  completion--some(#[257 "\303\302\x02\300\301$\207" ["/sudo::~/hang" file-exists-p lambda complete-with-action] 6 "

(fn TABLE)"] (completion--embedded-envvar-table completion--file-name-table))
  read-file-name-internal("/sudo::~/hang" file-exists-p lambda)
  test-completion("/sudo::~/hang" read-file-name-internal file-exists-p)
  completion--complete-and-exit(12 25 exit-minibuffer #[0 "\3041\x0e\0\305\300\301\306\307$0\202\x10\0\210\310\211\311>\203^[\0\302 \2023\0\211\312=\2032\0\v\204*\0\302 \2023\0\313\314!\210\306\2023\0\306\207" [12 25 exit-minibuffer minibuffer-completion-confirm (error) completion--do-completion nil expect-exact 1 (3 1) 7 minibuffer-message "Confirm"] 5])
  completion-complete-and-exit(12 25 exit-minibuffer)
  minibuffer-complete-and-exit()
  funcall-interactively(minibuffer-complete-and-exit)
  call-interactively(minibuffer-complete-and-exit nil nil)
  command-execute(minibuffer-complete-and-exit)
  read-from-minibuffer("Find file: " "~/" (keymap (keymap (32)) keymap (10 . minibuffer-complete-and-exit) (13 . minibuffer-complete-and-exit) keymap (menu-bar keymap (minibuf "Minibuf" keymap (tab menu-item "Complete" minibuffer-complete :help "Complete as far as possible") (space menu-item "Complete Word" minibuffer-complete-word :help "Complete at most one word") (63 menu-item "List Completions" minibuffer-completion-help :help "Display all possible completions") "Minibuf")) (27 keymap (118 . switch-to-completions)) (prior . switch-to-completions) (63 . minibuffer-completion-help) (32 . minibuffer-complete-word) (9 . minibuffer-complete) keymap (menu-bar keymap (minibuf "Minibuf" keymap (previous menu-item "Previous History Item" previous-history-element :help "Put previous minibuffer history element in the minibuffer") (next menu-item "Next History Item" next-history-element :help "Put next minibuffer history element in the minibuffer") (isearch-backward menu-item "Isearch History Backward" isearch-backward :help "Incrementally search minibuffer history backward") (isearch-forward menu-item "Isearch History Forward" isearch-forward :help "Incrementally search minibuffer history forward") (return menu-item "Enter" exit-minibuffer :key-sequence "\r" :help "Terminate input and exit minibuffer") (quit menu-item "Quit" abort-recursive-edit :help "Abort input and exit minibuffer") "Minibuf")) (10 . exit-minibuffer) (13 . exit-minibuffer) (7 . abort-recursive-edit) (C-tab . file-cache-minibuffer-complete) (9 . self-insert-command) (XF86Back . previous-history-element) (up . previous-line-or-history-element) (prior . previous-history-element) (XF86Forward . next-history-element) (down . next-line-or-history-element) (next . next-history-element) (27 keymap (114 . previous-matching-history-element) (115 . next-matching-history-element) (112 . previous-history-element) (110 . next-history-element))) nil file-name-history "~/" nil)
  completing-read-default("Find file: " read-file-name-internal file-exists-p confirm-after-completion "~/" file-name-history "~/" nil)
  completing-read("Find file: " read-file-name-internal file-exists-p confirm-after-completion "~/" file-name-history "~/")
  read-file-name-default("Find file: " nil "~/" confirm-after-completion nil nil)
  read-file-name("Find file: " nil "~/" confirm-after-completion)
  find-file-read-args("Find file: " confirm-after-completion)
  byte-code("\300\301\302 \"\207" [find-file-read-args "Find file: " confirm-nonexistent-file-or-buffer] 3)
  call-interactively(find-file record nil)
  command-execute(find-file record)
  execute-extended-command(nil "find-file" "find-file")
  funcall-interactively(execute-extended-command nil "find-file" "find-file")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)
23:41:39.235572 tramp-get-connection-property (7) # tmpdir undef
23:41:39.235677 tramp-get-connection-property (7) # tmpdir undef
23:41:39.236812 tramp-get-file-property (8) # /tmp file-directory-p undef
23:41:39.236981 tramp-get-connection-property (7) # test undef
23:41:39.237066 tramp-get-test-command (5) # Finding a suitable ‘test’ command
23:41:39.237155 tramp-get-connection-property (7) # process-name nil
23:41:39.237244 tramp-get-connection-property (7) # process-name nil
23:41:39.237331 tramp-get-connection-property (7) # process-buffer nil
23:41:39.237425 tramp-get-connection-property (7) # last-cmd-time (22848 23571 177432 413000)
23:41:39.237522 tramp-get-connection-property (7) # process-name nil
23:41:39.237612 tramp-get-connection-property (7) # remote-echo nil
23:41:39.237693 tramp-send-command (6) # test 0 2>/dev/null; echo tramp_exit_status $?
23:41:39.237777 tramp-get-connection-property (7) # process-name nil
23:41:39.237867 tramp-get-connection-property (7) # chunksize nil
23:41:39.237998 tramp-set-connection-property (7) # last-cmd-time (22848 23571 237926 311000)
23:41:39.238089 tramp-send-string (10) # test 0 2>/dev/null; echo tramp_exit_status $?
23:41:39.238171 tramp-get-connection-property (7) # process-buffer nil
23:41:39.238295 tramp-get-connection-property (7) # check-remote-echo nil
23:41:39.238426 tramp-get-connection-property (7) # check-remote-echo nil
23:41:39.238657 tramp-accept-process-output (10) # *tramp/sudo root@g75vw* run t

23:41:39.238777 tramp-get-connection-property (7) # check-remote-echo nil
23:41:39.238898 tramp-get-connection-property (7) # check-remote-echo nil
23:41:40.240222 tramp-accept-process-output (10) # *tramp/sudo root@g75vw* run nil

23:41:40.240443 tramp-get-connection-property (7) # check-remote-echo nil
23:41:40.240610 tramp-get-connection-property (7) # check-remote-echo nil
23:41:40.962390 tramp-accept-process-output (10) # *tramp/sudo root@g75vw* run t

Sorry, try again.
23:41:40.962612 tramp-get-connection-property (7) # check-remote-echo nil
23:41:40.962795 tramp-get-connection-property (7) # check-remote-echo nil
23:41:40.963098 tramp-accept-process-output (10) # *tramp/sudo root@g75vw* run t

Sorry, try again.
Password:
23:41:40.963286 tramp-get-connection-property (7) # check-remote-echo nil
23:41:40.963449 tramp-get-connection-property (7) # check-remote-echo nil
23:41:41.964904 tramp-accept-process-output (10) # *tramp/sudo root@g75vw* run nil

Sorry, try again.
Password:
23:41:41.965184 tramp-get-connection-property (7) # check-remote-echo nil
23:41:41.965383 tramp-get-connection-property (7) # check-remote-echo nil
23:41:42.965911 tramp-accept-process-output (10) # *tramp/sudo root@g75vw* run nil

Sorry, try again.
Password:
23:41:42.966156 tramp-get-connection-property (7) # check-remote-echo nil
23:41:42.966335 tramp-get-connection-property (7) # check-remote-echo nil
23:41:43.966845 tramp-accept-process-output (10) # *tramp/sudo root@g75vw* run nil

Sorry, try again.
Password:
23:41:43.967096 tramp-get-connection-property (7) # check-remote-echo nil
23:41:43.967270 tramp-get-connection-property (7) # check-remote-echo nil
23:41:44.967893 tramp-accept-process-output (10) # *tramp/sudo root@g75vw* run nil

Sorry, try again.
Password:
23:41:44.968253 tramp-get-connection-property (7) # check-remote-echo nil
23:41:44.968451 tramp-get-connection-property (7) # check-remote-echo nil
23:41:45.969081 tramp-accept-process-output (10) # *tramp/sudo root@g75vw* run nil

Sorry, try again.
Password:
23:41:45.969339 tramp-get-connection-property (7) # check-remote-echo nil
23:41:45.969550 tramp-get-connection-property (7) # check-remote-echo nil
23:41:46.970134 tramp-accept-process-output (10) # *tramp/sudo root@g75vw* run nil

Sorry, try again.
Password:
23:41:46.970403 tramp-get-connection-property (7) # check-remote-echo nil
23:41:46.970574 tramp-get-connection-property (7) # check-remote-echo nil
23:41:47.971142 tramp-accept-process-output (10) # *tramp/sudo root@g75vw* run nil

Sorry, try again.
Password:
23:41:47.971374 tramp-get-connection-property (7) # check-remote-echo nil
23:41:47.971537 tramp-get-connection-property (7) # check-remote-echo nil
23:41:48.972146 tramp-accept-process-output (10) # *tramp/sudo root@g75vw* run nil

Sorry, try again.
Password:
23:41:48.972492 tramp-get-connection-property (7) # check-remote-echo nil
23:41:48.972695 tramp-get-connection-property (7) # check-remote-echo nil
23:41:49.973347 tramp-accept-process-output (10) # *tramp/sudo root@g75vw* run nil

Sorry, try again.
Password:
23:41:49.973653 tramp-get-connection-property (7) # check-remote-echo nil
23:41:49.973844 tramp-get-connection-property (7) # check-remote-echo nil
23:41:50.997387 tramp-accept-process-output (10) # *tramp/sudo root@g75vw* run nil

Sorry, try again.
Password:
23:41:50.997689 tramp-get-connection-property (7) # check-remote-echo nil
23:41:50.997894 tramp-get-connection-property (7) # check-remote-echo nil
23:41:51.998527 tramp-accept-process-output (10) # *tramp/sudo root@g75vw* run nil

Sorry, try again.
Password:
23:41:51.998781 tramp-get-connection-property (7) # check-remote-echo nil
23:41:51.998940 tramp-get-connection-property (7) # check-remote-echo nil
23:41:52.999444 tramp-accept-process-output (10) # *tramp/sudo root@g75vw* run nil

Sorry, try again.
Password:
23:41:52.999661 tramp-get-connection-property (7) # check-remote-echo nil
23:41:52.999807 tramp-get-connection-property (7) # check-remote-echo nil
23:41:54.000292 tramp-accept-process-output (10) # *tramp/sudo root@g75vw* run nil

Sorry, try again.
Password:
23:41:54.000525 tramp-get-connection-property (7) # check-remote-echo nil
23:41:54.000682 tramp-get-connection-property (7) # check-remote-echo nil
23:41:55.001184 tramp-accept-process-output (10) # *tramp/sudo root@g75vw* run nil

Sorry, try again.
Password:
23:41:55.001399 tramp-get-connection-property (7) # check-remote-echo nil
23:41:55.001567 tramp-get-connection-property (7) # check-remote-echo nil
23:41:56.002078 tramp-accept-process-output (10) # *tramp/sudo root@g75vw* run nil

Sorry, try again.
Password:
23:41:56.002346 tramp-get-connection-property (7) # check-remote-echo nil
23:41:56.002515 tramp-get-connection-property (7) # check-remote-echo nil
23:41:57.003000 tramp-accept-process-output (10) # *tramp/sudo root@g75vw* run nil

Sorry, try again.
Password:
23:41:57.003230 tramp-get-connection-property (7) # check-remote-echo nil
23:41:57.003386 tramp-get-connection-property (7) # check-remote-echo nil
23:41:58.003904 tramp-accept-process-output (10) # *tramp/sudo root@g75vw* run nil

Sorry, try again.
Password:
23:41:58.004120 tramp-get-connection-property (7) # check-remote-echo nil
23:41:58.004266 tramp-get-connection-property (7) # check-remote-echo nil
23:41:59.004757 tramp-accept-process-output (10) # *tramp/sudo root@g75vw* run nil

Sorry, try again.
Password:
23:41:59.004974 tramp-get-connection-property (7) # check-remote-echo nil
23:41:59.005118 tramp-get-connection-property (7) # check-remote-echo nil
23:41:59.056058 tramp-file-name-handler (1) # Interrupt received in operation (file-directory-p /sudo:root@g75vw:/tmp)

Sorry, try again.
Password:
23:41:59.056270 tramp-file-name-handler (1) # Interrupt received in operation (temporary-file-directory)

Sorry, try again.
Password:
23:41:59.056434 tramp-handle-file-name-case-insensitive-p (5) # Checking case-insensitive...failed
23:41:59.056594 tramp-file-name-handler (1) # Interrupt received in operation (file-name-case-insensitive-p /sudo:root@g75vw:/)

Sorry, try again.
Password:
23:41:59.108703 tramp-get-connection-property (7) # case-insensitive undef
23:41:59.108834 tramp-get-connection-property (7) # case-insensitive undef
23:41:59.108914 tramp-handle-file-name-case-insensitive-p (5) # Checking case-insensitive...
23:41:59.109505 tramp-handle-file-name-case-insensitive-p (10) # 
  backtrace()
  tramp-handle-file-name-case-insensitive-p(#("/sudo:root@g75vw:/" 6 10 (tramp-default t)))
  apply(tramp-handle-file-name-case-insensitive-p #("/sudo:root@g75vw:/" 6 10 (tramp-default t)))
  tramp-sh-file-name-handler(file-name-case-insensitive-p #("/sudo:root@g75vw:/" 6 10 (tramp-default t)))
  apply(tramp-sh-file-name-handler file-name-case-insensitive-p #("/sudo:root@g75vw:/" 6 10 (tramp-default t)))
  tramp-file-name-handler(file-name-case-insensitive-p #("/sudo:root@g75vw:/" 6 10 (tramp-default t)))
  file-name-case-insensitive-p(#("/sudo:root@g75vw:/" 6 10 (tramp-default t)))
  abbreviate-file-name(#("/sudo:root@g75vw:/" 6 10 (tramp-default t)))
  (list (user-login-name) "@" (system-name) ":" (abbreviate-file-name (or (buffer-file-name) (file-name-as-directory default-directory))))
  eval((list (user-login-name) "@" (system-name) ":" (abbreviate-file-name (or (buffer-file-name) (file-name-as-directory default-directory)))))
  redisplay_internal\ \(C\ function\)()
  read-string(#("Password for /sudo:root@g75vw: " 19 23 (tramp-default t)) nil t nil)
  read-passwd(#("Password for /sudo:root@g75vw: " 19 23 (tramp-default t)))
  password-read(#("Password for /sudo:root@g75vw: " 19 23 (tramp-default t)) #("/sudo:root@g75vw:" 6 10 (tramp-default t)))
  tramp-read-passwd(#<process *tramp/sudo root@g75vw*>)
  tramp-action-password(#<process *tramp/sudo root@g75vw*> (tramp-file-name "sudo" #("root" 0 4 (tramp-default t)) nil "g75vw" nil "~/hang" nil))
  tramp-process-one-action(#<process *tramp/sudo root@g75vw*> (tramp-file-name "sudo" #("root" 0 4 (tramp-default t)) nil "g75vw" nil "~/hang" nil) ((tramp-login-prompt-regexp tramp-action-login) (tramp-password-prompt-regexp tramp-action-password) (tramp-wrong-passwd-regexp tramp-action-permission-denied) (shell-prompt-pattern tramp-action-succeed) (tramp-shell-prompt-pattern tramp-action-succeed) (tramp-yesno-prompt-regexp tramp-action-yesno) (tramp-yn-prompt-regexp tramp-action-yn) (tramp-terminal-prompt-regexp tramp-action-terminal) (tramp-process-alive-regexp tramp-action-process-alive)))
  tramp-process-actions(#<process *tramp/sudo root@g75vw*> (tramp-file-name "sudo" #("root" 0 4 (tramp-default t)) nil "g75vw" nil "~/hang" nil) 1 ((tramp-login-prompt-regexp tramp-action-login) (tramp-password-prompt-regexp tramp-action-password) (tramp-wrong-passwd-regexp tramp-action-permission-denied) (shell-prompt-pattern tramp-action-succeed) (tramp-shell-prompt-pattern tramp-action-succeed) (tramp-yesno-prompt-regexp tramp-action-yesno) (tramp-yn-prompt-regexp tramp-action-yn) (tramp-terminal-prompt-regexp tramp-action-terminal) (tramp-process-alive-regexp tramp-action-process-alive)) 10)
  tramp-maybe-open-connection((tramp-file-name "sudo" #("root" 0 4 (tramp-default t)) nil "g75vw" nil "~/hang" nil))
  tramp-send-command((tramp-file-name "sudo" #("root" 0 4 (tramp-default t)) nil "g75vw" nil "~/hang" nil) #("cd ~root && pwd" 4 8 (tramp-default t)))
  tramp-sh-handle-expand-file-name("/sudo::~/hang" nil)
  apply(tramp-sh-handle-expand-file-name ("/sudo::~/hang" nil))
  tramp-sh-file-name-handler(expand-file-name "/sudo::~/hang" nil)
  apply(tramp-sh-file-name-handler expand-file-name ("/sudo::~/hang" nil))
  tramp-file-name-handler(expand-file-name "/sudo::~/hang" nil)
  file-exists-p("/sudo::~/hang")
  completion-file-name-table("/sudo::~/hang" file-exists-p lambda)
  test-completion("/sudo::~/hang" completion-file-name-table file-exists-p)
  completion--file-name-table("/sudo::~/hang" file-exists-p lambda)
  complete-with-action(lambda completion--file-name-table "/sudo::~/hang" file-exists-p)
  #[257 "\303\302\x02\300\301$\207" ["/sudo::~/hang" file-exists-p lambda complete-with-action] 6 "

(fn TABLE)"](completion--file-name-table)
  completion--some(#[257 "\303\302\x02\300\301$\207" ["/sudo::~/hang" file-exists-p lambda complete-with-action] 6 "

(fn TABLE)"] (completion--embedded-envvar-table completion--file-name-table))
  read-file-name-internal("/sudo::~/hang" file-exists-p lambda)
  test-completion("/sudo::~/hang" read-file-name-internal file-exists-p)
  completion--complete-and-exit(12 25 exit-minibuffer #[0 "\3041\x0e\0\305\300\301\306\307$0\202\x10\0\210\310\211\311>\203^[\0\302 \2023\0\211\312=\2032\0\v\204*\0\302 \2023\0\313\314!\210\306\2023\0\306\207" [12 25 exit-minibuffer minibuffer-completion-confirm (error) completion--do-completion nil expect-exact 1 (3 1) 7 minibuffer-message "Confirm"] 5])
  completion-complete-and-exit(12 25 exit-minibuffer)
  minibuffer-complete-and-exit()
  funcall-interactively(minibuffer-complete-and-exit)
  call-interactively(minibuffer-complete-and-exit nil nil)
  command-execute(minibuffer-complete-and-exit)
  read-from-minibuffer("Find file: " "~/" (keymap (keymap (32)) keymap (10 . minibuffer-complete-and-exit) (13 . minibuffer-complete-and-exit) keymap (menu-bar keymap (minibuf "Minibuf" keymap (tab menu-item "Complete" minibuffer-complete :help "Complete as far as possible") (space menu-item "Complete Word" minibuffer-complete-word :help "Complete at most one word") (63 menu-item "List Completions" minibuffer-completion-help :help "Display all possible completions") "Minibuf")) (27 keymap (118 . switch-to-completions)) (prior . switch-to-completions) (63 . minibuffer-completion-help) (32 . minibuffer-complete-word) (9 . minibuffer-complete) keymap (menu-bar keymap (minibuf "Minibuf" keymap (previous menu-item "Previous History Item" previous-history-element :help "Put previous minibuffer history element in the minibuffer") (next menu-item "Next History Item" next-history-element :help "Put next minibuffer history element in the minibuffer") (isearch-backward menu-item "Isearch History Backward" isearch-backward :help "Incrementally search minibuffer history backward") (isearch-forward menu-item "Isearch History Forward" isearch-forward :help "Incrementally search minibuffer history forward") (return menu-item "Enter" exit-minibuffer :key-sequence "\r" :help "Terminate input and exit minibuffer") (quit menu-item "Quit" abort-recursive-edit :help "Abort input and exit minibuffer") "Minibuf")) (10 . exit-minibuffer) (13 . exit-minibuffer) (7 . abort-recursive-edit) (C-tab . file-cache-minibuffer-complete) (9 . self-insert-command) (XF86Back . previous-history-element) (up . previous-line-or-history-element) (prior . previous-history-element) (XF86Forward . next-history-element) (down . next-line-or-history-element) (next . next-history-element) (27 keymap (114 . previous-matching-history-element) (115 . next-matching-history-element) (112 . previous-history-element) (110 . next-history-element))) nil file-name-history "~/" nil)
  completing-read-default("Find file: " read-file-name-internal file-exists-p confirm-after-completion "~/" file-name-history "~/" nil)
  completing-read("Find file: " read-file-name-internal file-exists-p confirm-after-completion "~/" file-name-history "~/")
  read-file-name-default("Find file: " nil "~/" confirm-after-completion nil nil)
  read-file-name("Find file: " nil "~/" confirm-after-completion)
  find-file-read-args("Find file: " confirm-after-completion)
  byte-code("\300\301\302 \"\207" [find-file-read-args "Find file: " confirm-nonexistent-file-or-buffer] 3)
  call-interactively(find-file record nil)
  command-execute(find-file record)
  execute-extended-command(nil "find-file" "find-file")
  funcall-interactively(execute-extended-command nil "find-file" "find-file")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)
23:41:59.113104 tramp-get-connection-property (7) # tmpdir undef
23:41:59.113198 tramp-get-connection-property (7) # tmpdir undef
23:41:59.114202 tramp-get-file-property (8) # /tmp file-directory-p undef
23:41:59.114351 tramp-get-connection-property (7) # test undef
23:41:59.114425 tramp-get-test-command (5) # Finding a suitable ‘test’ command
23:41:59.114503 tramp-get-connection-property (7) # process-name nil
23:41:59.114580 tramp-get-connection-property (7) # process-name nil
23:41:59.114655 tramp-get-connection-property (7) # process-buffer nil
23:41:59.114737 tramp-get-connection-property (7) # last-cmd-time (22848 23571 237926 311000)
23:41:59.114824 tramp-get-connection-property (7) # process-name nil
23:41:59.114903 tramp-get-connection-property (7) # remote-echo nil
23:41:59.114975 tramp-send-command (6) # test 0 2>/dev/null; echo tramp_exit_status $?
23:41:59.115051 tramp-get-connection-property (7) # process-name nil
23:41:59.115129 tramp-get-connection-property (7) # chunksize nil
23:41:59.115204 tramp-set-connection-property (7) # last-cmd-time (22848 23591 115181 376000)
23:41:59.115283 tramp-send-string (10) # test 0 2>/dev/null; echo tramp_exit_status $?
23:41:59.115357 tramp-get-connection-property (7) # process-buffer nil
23:41:59.115472 tramp-get-connection-property (7) # check-remote-echo nil
23:41:59.115548 tramp-get-connection-property (7) # check-remote-echo nil
23:41:59.118034 tramp-accept-process-output (10) # *tramp/sudo root@g75vw* run t

23:41:59.118123 tramp-get-connection-property (7) # check-remote-echo nil
23:41:59.118299 tramp-get-connection-property (7) # check-remote-echo nil
23:41:59.504279 tramp-file-name-handler (1) # Interrupt received in operation (file-directory-p /sudo:root@g75vw:/tmp)

23:41:59.504512 tramp-file-name-handler (1) # Interrupt received in operation (temporary-file-directory)

23:41:59.504680 tramp-handle-file-name-case-insensitive-p (5) # Checking case-insensitive...failed
23:41:59.504863 tramp-file-name-handler (1) # Interrupt received in operation (file-name-case-insensitive-p /sudo:root@g75vw:/)

23:41:59.640605 tramp-process-actions (3) # Waiting for prompts from remote shell...failed
23:41:59.641094 tramp-maybe-open-connection (3) # Opening connection for root@g75vw using sudo...failed
23:41:59.644251 tramp-get-file-property (8) #  file-truename nil
23:41:59.644440 tramp-flush-directory-property (8) # 
23:41:59.644618 tramp-get-connection-property (7) # process-name nil
23:41:59.644783 tramp-get-connection-property (7) # process-name nil
23:41:59.644989 tramp-flush-connection-property (7) # *tramp/sudo root@g75vw* (vector temp-file last-cmd-time)
23:41:59.645195 tramp-get-connection-property (7) # process-name nil
23:41:59.662536 tramp-flush-connection-property (7) # (tramp-file-name sudo root nil g75vw nil nil nil) (process-buffer first-password-request)
23:41:59.662787 tramp-get-connection-property (7) # process-buffer nil
23:41:59.663064 tramp-file-name-handler (1) # Interrupt received in operation (expand-file-name /sudo::~/hang nil)

  reply	other threads:[~2017-06-13 21:55 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   ` bug#27315: Regression: `abbreviate-file-name' and `tramp-file-name-handler' Alexander Shukaev
2017-06-11  9:13     ` Michael Albinus
2017-06-11 11:30       ` Alexander Shukaev
2017-06-12 15:59         ` Michael Albinus
2017-06-13 21:55           ` Alexander Shukaev [this message]
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=17682cca-ef7b-fdf1-f607-b9cdf7a35dcf@Alexander.Shukaev.name \
    --to=emacs@alexander.shukaev.name \
    --cc=27315@debbugs.gnu.org \
    --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).