help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TRAMP suspended after I inputted password


From: Christopher M. Miles
Subject: TRAMP suspended after I inputted password
Date: Tue, 22 Mar 2022 09:12:54 +0800
User-agent: mu4e 1.6.10; emacs 29.0.50

I toggled TRAMP debugging with ~(setq tramp-verbose 10)~. And tested with 
=emacs -Q= confirmed this problem.

- Emacs version: GNU Emacs 29.0.50 (build 2, aarch64-apple-darwin21.3.0, NS 
appkit-2113.30 Version 12.2.1 (Build 21D62)) of 2022-03-09
- System: M1 Mac Mini, macOS Monterey Version 12.3

Here is the TRAMP debug log output:

#+begin_example
  backtrace()
  tramp-error(nil quit "")
  tramp-signal-hook-function(quit nil)
  signal(quit nil)
  tramp-maybe-open-connection((tramp-file-name #("ssh" 0 3 (face nil)) 
#("stardiviner" 0 11 (face nil)) nil #("localhost" 0 9 (face nil)) nil "" nil))
  tramp-send-command((tramp-file-name #("ssh" 0 3 (face nil)) #("stardiviner" 0 
11 (face nil)) nil #("localhost" 0 9 (face nil)) nil "" nil) "echo ~ 
2>/dev/null; echo tramp_exit_status $?")
  tramp-send-command-and-check((tramp-file-name #("ssh" 0 3 (face nil)) 
#("stardiviner" 0 11 (face nil)) nil #("localhost" 0 9 (face nil)) nil "" nil) 
"echo ~")
  tramp-sh-handle-get-home-directory((tramp-file-name #("ssh" 0 3 (face nil)) 
#("stardiviner" 0 11 (face nil)) nil #("localhost" 0 9 (face nil)) nil "" nil) 
"")
  apply(tramp-sh-handle-get-home-directory ((tramp-file-name #("ssh" 0 3 (face 
nil)) #("stardiviner" 0 11 (face nil)) nil #("localhost" 0 9 (face nil)) nil "" 
nil) ""))
  tramp-sh-file-name-handler(tramp-get-home-directory (tramp-file-name #("ssh" 
0 3 (face nil)) #("stardiviner" 0 11 (face nil)) nil #("localhost" 0 9 (face 
nil)) nil "" nil) "")
  apply(tramp-sh-file-name-handler tramp-get-home-directory ((tramp-file-name 
#("ssh" 0 3 (face nil)) #("stardiviner" 0 11 (face nil)) nil #("localhost" 0 9 
(face nil)) nil "" nil) ""))
  tramp-file-name-handler(tramp-get-home-directory (tramp-file-name #("ssh" 0 3 
(face nil)) #("stardiviner" 0 11 (face nil)) nil #("localhost" 0 9 (face nil)) 
nil "" nil) "")
  tramp-get-home-directory((tramp-file-name #("ssh" 0 3 (face nil)) 
#("stardiviner" 0 11 (face nil)) nil #("localhost" 0 9 (face nil)) nil "" nil) 
"")
  tramp-sh-handle-expand-file-name(#("/ssh:stardiviner@localhost:" 1 4 (face 
nil) 5 16 (face nil) 17 26 (face nil)) nil)
  apply(tramp-sh-handle-expand-file-name (#("/ssh:stardiviner@localhost:" 1 4 
(face nil) 5 16 (face nil) 17 26 (face nil)) nil))
  tramp-sh-file-name-handler(expand-file-name #("/ssh:stardiviner@localhost:" 1 
4 (face nil) 5 16 (face nil) 17 26 (face nil)) nil)
  apply(tramp-sh-file-name-handler expand-file-name 
(#("/ssh:stardiviner@localhost:" 1 4 (face nil) 5 16 (face nil) 17 26 (face 
nil)) nil))
  tramp-file-name-handler(expand-file-name #("/ssh:stardiviner@localhost:" 1 4 
(face nil) 5 16 (face nil) 17 26 (face nil)) nil)
  file-name-all-completions("" #("/ssh:stardiviner@localhost:" 1 4 (face nil) 5 
16 (face nil) 17 26 (face nil)))
  completion-file-name-table(#("/ssh:stardiviner@localhost:" 1 4 (face nil) 5 
16 (face nil) 17 26 (face nil)) file-exists-p t)
  all-completions(#("/ssh:stardiviner@localhost:" 1 4 (face nil) 5 16 (face 
nil) 17 26 (face nil)) completion-file-name-table file-exists-p)
  completion-pcm--all-completions(#("/ssh:stardiviner@localhost:" 1 4 (face 
nil) 5 16 (face nil) 17 26 (face nil)) nil completion-file-name-table 
file-exists-p)
  completion-pcm--find-all-completions(#("/ssh:stardiviner@localhost:" 1 4 
(face nil) 5 16 (face nil) 17 26 (face nil)) completion-file-name-table 
file-exists-p 27)
  completion-pcm-all-completions(#("/ssh:stardiviner@localhost:" 1 4 (face nil) 
5 16 (face nil) 17 26 (face nil)) completion-file-name-table file-exists-p 27)
  #f(compiled-function (style) #<bytecode 
0x146faee2721c1a6a>)(partial-completion)
  completion--some(#f(compiled-function (style) #<bytecode 0x146faee2721c1a6a>) 
(partial-completion substring initials orderless))
  completion--nth-completion(2 #("/ssh:stardiviner@localhost:" 0 27 (face nil)) 
read-file-name-internal file-exists-p 27 (metadata (category . file) 
(completion--unquote-requote . t)))
  #f(compiled-function (string table pred point &optional metadata) "List the 
possible completions of STRING in completion table TABLE.\nOnly the elements of 
table that satisfy predicate PRED are considered.\nPOINT is the position of 
point within STRING.\nThe return value is a list of completions and may contain 
the base-size\nin the last `cdr'." #<bytecode 
0x7faf8cbaf6652cb>)(#("/ssh:stardiviner@localhost:" 0 27 (face nil)) 
read-file-name-internal file-exists-p 27 (metadata (category . file) 
(completion--unquote-requote . t)))
  apply(#f(compiled-function (string table pred point &optional metadata) "List 
the possible completions of STRING in completion table TABLE.\nOnly the 
elements of table that satisfy predicate PRED are considered.\nPOINT is the 
position of point within STRING.\nThe return value is a list of completions and 
may contain the base-size\nin the last `cdr'." #<bytecode 0x7faf8cbaf6652cb>) 
(#("/ssh:stardiviner@localhost:" 0 27 (face nil)) read-file-name-internal 
file-exists-p 27 (metadata (category . file) (completion--unquote-requote . 
t))))
  completion-all-completions(#("/ssh:stardiviner@localhost:" 0 27 (face nil)) 
read-file-name-internal file-exists-p 27 (metadata (category . file) 
(completion--unquote-requote . t)))
  apply(completion-all-completions (#("/ssh:stardiviner@localhost:" 0 27 (face 
nil)) read-file-name-internal file-exists-p 27 (metadata (category . file) 
(completion--unquote-requote . t))))
  vertico--all-completions(#("/ssh:stardiviner@localhost:" 0 27 (face nil)) 
read-file-name-internal file-exists-p 27 (metadata (category . file) 
(completion--unquote-requote . t)))
  vertico--recompute-candidates(27 #("/ssh:stardiviner@localhost:" 0 27 (face 
nil)))
  vertico--update-candidates(27 #("/ssh:stardiviner@localhost:" 0 27 (face 
nil)))
  vertico--exhibit()
  read-from-minibuffer("Find file: " "~/Org/Projects/Programming Projects/" 
(keymap (keymap (32)) keymap (10 . minibuffer-complete-and-exit) (13 . 
minibuffer-complete-and-exit) keymap (24 keymap (10 . consult-dir-jump-file) (4 
. consult-dir)) (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 (103 keymap (27 
keymap (99 . switch-to-completions))) (118 . switch-to-completions)) (prior . 
switch-to-completions) (63 . minibuffer-completion-help) (32 . 
minibuffer-complete-word) (backtab . minibuffer-complete) (9 . 
minibuffer-complete) keymap (remap keymap (describe-bindings . 
embark-bindings)) (67108910 . embark-act) (3 keymap (39 . separedit)) (menu-bar 
keymap (minibuf "Minibuf" keymap (previous menu-item "Previous History Item" 
previous-history-element :help "Put previous minibuffer history element in the 
min...") (next menu-item "Next History Item" next-history-element :help "Put 
next minibuffer history element in the minibuf...") (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 "\15" :help 
"Terminate input and exit minibuffer") (quit menu-item "Quit" 
abort-recursive-edit :help "Abort input and exit minibuffer") "Minibuf")) (13 . 
exit-minibuffer) (10 . exit-minibuffer) (7 . abort-minibuffers) (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 (111 . 
embark-dwim) (60 . minibuffer-beginning-of-buffer) (114 . 
previous-matching-history-element) (115 . next-matching-history-element) (112 . 
previous-history-element) (110 . next-history-element))) nil file-name-history 
"~/Org/Projects/Programming Projects/" nil)
  #f(compiled-function (prompt collection &optional predicate require-match 
initial-input hist def inherit-input-method) "Default method for reading from 
the minibuffer with completion.\nSee `completing-read' for the meaning of the 
arguments." #<bytecode 0xfc5368d28e75837>)("Find file: " 
read-file-name-internal file-exists-p confirm-after-completion 
"~/Org/Projects/Programming Projects/" file-name-history 
"~/Org/Projects/Programming Projects/" nil)
  apply((#f(compiled-function (prompt collection &optional predicate 
require-match initial-input hist def inherit-input-method) "Default method for 
reading from the minibuffer with completion.\nSee `completing-read' for the 
meaning of the arguments." #<bytecode 0xfc5368d28e75837>) "Find file: " 
read-file-name-internal file-exists-p confirm-after-completion 
"~/Org/Projects/Programming Projects/" file-name-history 
"~/Org/Projects/Programming Projects/" nil))
  vertico-multiform--advice(#f(compiled-function (prompt collection &optional 
predicate require-match initial-input hist def inherit-input-method) "Default 
method for reading from the minibuffer with completion.\nSee `completing-read' 
for the meaning of the arguments." #<bytecode 0xfc5368d28e75837>) "Find file: " 
read-file-name-internal file-exists-p confirm-after-completion 
"~/Org/Projects/Programming Projects/" file-name-history 
"~/Org/Projects/Programming Projects/" nil)
  apply(vertico-multiform--advice (#f(compiled-function (prompt collection 
&optional predicate require-match initial-input hist def inherit-input-method) 
"Default method for reading from the minibuffer with completion.\nSee 
`completing-read' for the meaning of the arguments." #<bytecode 
0xfc5368d28e75837>) "Find file: " read-file-name-internal file-exists-p 
confirm-after-completion "~/Org/Projects/Programming Projects/" 
file-name-history "~/Org/Projects/Programming Projects/" nil))
  vertico--advice(#f(compiled-function (prompt collection &optional predicate 
require-match initial-input hist def inherit-input-method) "Default method for 
reading from the minibuffer with completion.\nSee `completing-read' for the 
meaning of the arguments." #<bytecode 0xfc5368d28e75837>) "Find file: " 
read-file-name-internal file-exists-p confirm-after-completion 
"~/Org/Projects/Programming Projects/" file-name-history 
"~/Org/Projects/Programming Projects/" nil)
  apply(vertico--advice #f(compiled-function (prompt collection &optional 
predicate require-match initial-input hist def inherit-input-method) "Default 
method for reading from the minibuffer with completion.\nSee `completing-read' 
for the meaning of the arguments." #<bytecode 0xfc5368d28e75837>) ("Find file: 
" read-file-name-internal file-exists-p confirm-after-completion 
"~/Org/Projects/Programming Projects/" file-name-history 
"~/Org/Projects/Programming Projects/" nil))
  completing-read-default("Find file: " read-file-name-internal file-exists-p 
confirm-after-completion "~/Org/Projects/Programming Projects/" 
file-name-history "~/Org/Projects/Programming Projects/" nil)
  completing-read("Find file: " read-file-name-internal file-exists-p 
confirm-after-completion "~/Org/Projects/Programming Projects/" 
file-name-history "~/Org/Projects/Programming Projects/")
  read-file-name-default("Find file: " nil 
"/Users/stardiviner/Org/Projects/Programming Projec..." 
confirm-after-completion nil nil)
  read-file-name("Find file: " nil "/Users/stardiviner/Org/Projects/Programming 
Projec..." 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 nil nil)
  command-execute(find-file)

#+end_example


-- 
[ stardiviner ]
       I try to make every word tell the meaning that I want to express.

       Blog: https://stardiviner.github.io/
       IRC(freenode): stardiviner, Matrix: stardiviner
       GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]