unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Christopher M. Miles" <numbchild@gmail.com>
To: Emacs Help <help-gnu-emacs@gnu.org>
Subject: TRAMP suspended after I inputted password
Date: Tue, 22 Mar 2022 09:12:54 +0800	[thread overview]
Message-ID: <37296.8222176254$1648211811@news.gmane.org> (raw)

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


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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

             reply	other threads:[~2022-03-22  1:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-22  1:12 Christopher M. Miles [this message]
2022-03-25 14:10 ` TRAMP suspended after I inputted password Michael Albinus
2022-03-26  1:53   ` Christopher M. Miles
2022-03-26  8:57     ` Michael Albinus
2022-03-26 15:20       ` Christopher M. Miles
2022-03-27  7:44         ` Michael Albinus
2022-03-27  8:10           ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-03-28  6:33           ` Christopher M. Miles
2022-03-30 14:30             ` Michael Albinus
2022-04-05  3:28               ` [SOLVED] " Christopher M. Miles

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='37296.8222176254$1648211811@news.gmane.org' \
    --to=numbchild@gmail.com \
    --cc=help-gnu-emacs@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.
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).