Skip to content

Latest commit

 

History

History
552 lines (484 loc) · 28.7 KB

project-todo.org

File metadata and controls

552 lines (484 loc) · 28.7 KB
- Tramp using which instead of looping to find commands (as container now has it?) - Tramp environment variables for container? - Tramp use workdir argument for podmancp (make my own external method since a lot of customiation wanted here). - Tramp gpg-agent - Tramp git config - Tramp magit signed commits and authenticated git remotes - Tramp per container history file (i.e. don't clobber general, global history file) - Additionally, tramp history in its own history file to better distinguish user commands vs tramps? - Tramp homedir for jam stuff, have it use a default username etc. - What is this, looking for git repo? Stop it going up and up and up? seems to be when tramp runs `tramp_bundle_read_file_names` i.e. tramp-send-command (6) tramp_bundle_read_file_names ( ("/home/jammy/project/build.zig" t t nil) ("/home/jammy/project/.git" t t t) ("/home/jammy" t t t) ("/home/jammy/.git" nil nil nil) ("/.git" nil nil nil) ) echo "(" while read file; do quoted=`echo "$file" | sed -e "s/\"/\\\\\\\\\"/"` printf "(%b" "\"$quoted\"" if test -e "$file"; then printf " %b" t; else printf " %b" nil; fi if test -r "$file"; then printf " %b" t; else printf " %b" nil; fi if test -d "$file"; then printf " %b) " t; else printf " %b) " nil; fi done echo ")" } 2>/dev/null; echo tramp_exit_status $? so with tramp_bundle_read_file_names is vc.el asking it to check those paths? Cos it looks like the tramp command is GIVEN the paths /home/jammy/project/build.zig and /home/jammy/project/.git and /home/jammy and /home/jammy/.git and /.git but what is giving it those paths in the first place? purpose of LOGNAME env var? git --no-pager ls-files -c -z -- build.zig Emacs environment replacement, what is $d used for after a remote connection has been established? Better function for tramp_bundle_read_file_names called by tramp-maybe-send-script tramp-maybe-open-connection # Setup connection for tramp-open-shell # Opening remote shell tramp-open-connection-setup-interactive-shell # Setting up remote shell environment and # Setting default environment Stretch goal: - Email tramp-devel and suggest using printf instead of echo, and suggest using $() instead of `` syntax. perl script completions, find out what these tuples are. The script it sends for tramp-send-command #tramp_perl_file_name_all_completions /home/jammy example output is: ( ("./" "/home/jammy/." t t t) ("../" "/home/jammy/.." t t t) (".bash_history" "/home/jammy/.bash_history" nil t t) (".bashrc" "/home/jammy/.bashrc" nil t t) (".bash_profile" "/home/jammy/.bash_profile" nil t t) ("project/" "/home/jammy/project" t t t) (".bash_logout" "/home/jammy/.bash_logout" nil t t) ) and the script is: \perl -e ' $dir = $ARGV[0]; if ($dir ne "/") { $dir =~ s#/+$##; } opendir(d, $dir) || die("$dir: $!\nfail\n"); @files = readdir(d); closedir(d); print "(\n"; foreach $f (@files) { ($p = $f) =~ s/\"/\\\"/g; ($q = "$dir/$f") =~ s/\"/\\\"/g; print "(", ((-d "$q") ? "\"$p/\" \"$q\" t" : "\"$p\" \"$q\" nil"), ((-e "$q") ? " t" : " nil"), ((-r "$q") ? " t" : " nil"), ")\n"; } print ")\n"; ' "$1" 2>/dev/null } 2>/dev/null; echo tramp_exit_status $? 18:52:25.142228 tramp-send-command (6) # ( cd /home/jammy/project/ && unset GIT_DIR && env INSIDE_EMACS\=31.0.50\,tramp\:2.8.0-pre GIT_LITERAL_PATHSPECS\=1 GIT_OPTIONAL_LOCKS\=0 git --no-pager ls-tree --name-only -z HEAD -- project-todo.org /dev/null; echo tramp_exit_status $? ) What is `uncompface` that it tries to execute? lone `nil` text in *Messages* and vc refresh error, the tramp logs for these lines in *Messages*: File is missing: /podmancp:jammy@jam-zevem:/home/jammy/project/.gitmodules nil Tramp: Inserting ‘/podmancp:jammy@jam-zevem:/home/jammy/project/project-todo.org’...done End of file during parsing: End of file during parsing, VC refresh error: (end-of-file "") Tramp: Checking ‘vc-registered’ for /podmancp:jammy@jam-zevem:/home/jammy/project/project-todo.org...done Appear to be: 18:07:54.913758 tramp-send-command (6) # tramp_bundle_read_file_names <<'e7381d37826e413f7338377bdf35cb06' 2>/dev/null; echo tramp_exit_status $? /home/jammy/project/build.zig /home/jammy/project/.git /home/jammy /home/jammy/.git /.git e7381d37826e413f7338377bdf35cb06 18:07:54.974272 tramp-wait-for-regexp (6) # ( ("/home/jammy/project/build.zig" t t nil) ("/home/jammy/project/.git" t t t) ("/home/jammy" t t t) ("/home/jammy/.git" nil nil nil) ("/.git" nil nil nil) ) tramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:07:54.976193 tramp-send-command (6) # test -d /home/jammy/project 2>/dev/null; echo tramp_exit_status $? 18:07:54.977196 tramp-wait-for-regexp (6) # tramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:07:54.977565 tramp-send-command (6) # test -r /home/jammy/project/ 2>/dev/null; echo tramp_exit_status $? 18:07:54.978462 tramp-wait-for-regexp (6) # tramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:07:54.979600 tramp-send-command (6) # ( cd /home/jammy/project/ && unset GIT_DIR && env INSIDE_EMACS\=31.0.50\,tramp\:2.8.0-pre GIT_LITERAL_PATHSPECS\=1 GIT_OPTIONAL_LOCKS\=0 git --no-pager ls-files -c -z -- build.zig /dev/null; echo tramp_exit_status $? ) 18:07:54.986324 tramp-wait-for-regexp (6) # build.zigtramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:07:54.987902 tramp-send-command (6) # ( cd /home/jammy/project/ && unset GIT_DIR && env INSIDE_EMACS\=31.0.50\,tramp\:2.8.0-pre GIT_LITERAL_PATHSPECS\=1 GIT_OPTIONAL_LOCKS\=0 git --no-pager status --porcelain -z --untracked-files --ignored -- build.zig /dev/null; echo tramp_exit_status $? ) 18:07:54.999060 tramp-wait-for-regexp (6) # M build.zigtramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:07:54.999826 tramp-send-command (6) # ( cd /home/jammy/project/ && unset GIT_DIR && env INSIDE_EMACS\=31.0.50\,tramp\:2.8.0-pre GIT_LITERAL_PATHSPECS\=1 GIT_OPTIONAL_LOCKS\=0 git --no-pager rev-parse HEAD /dev/null; echo tramp_exit_status $? ) 18:07:55.007882 tramp-wait-for-regexp (6) # 47266d8c0325949983854befec584523792ca0ff tramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:07:55.008593 tramp-send-command (6) # ( cd /home/jammy/project/ && unset GIT_DIR && env INSIDE_EMACS\=31.0.50\,tramp\:2.8.0-pre GIT_LITERAL_PATHSPECS\=1 GIT_OPTIONAL_LOCKS\=0 git --no-pager symbolic-ref HEAD /dev/null; echo tramp_exit_status $? ) 18:07:55.016174 tramp-wait-for-regexp (6) # refs/heads/master tramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ ---FOR JORDAN: Why is tramp sending this command, why is `nil` not captured by TRAMP? --It wants to know if /home/jammy/project is a symbolic link, but why? 18:07:57.201283 tramp-send-command (6) # (if test -h "/home/jammy/project/"; then echo t; else echo nil; fi) && \readlink --canonicalize-missing /home/jammy/project/ 2>/dev/null; echo tramp_exit_status $? 18:07:57.221485 tramp-wait-for-regexp (6) # nil /home/jammy/project tramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:07:57.222096 tramp-do-file-attributes-with-stat (5) # file attributes with stat: /home/jammy/project/ 18:07:57.222283 tramp-send-command (6) # tramp_stat_file_attributes /home/jammy/project/ 2>/dev/null; echo tramp_exit_status $? 18:07:57.244174 tramp-wait-for-regexp (6) # (("‘/home/jammy/project/’") 18 ("jammy" . 501) ("nobody" . 65534) 1737190886 1737190886 1737190886 576 "drwxr-xr-x" t 14741195 -1) tramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ --FOR JORDAN: Why is tramp trying to insert .gitmodules, is this vc.el doing weirdo shit or something? 18:07:57.306162 tramp-handle-insert-file-contents (3) # Inserting ‘/podmancp:jammy@jam-zevem:/home/jammy/project/.gitmodules’... 18:07:57.310576 tramp-send-command (6) # (if test -h "/home/jammy/project/.gitmodules"; then echo t; else echo nil; fi) && \readlink --canonicalize-missing /home/jammy/project/.gitmodules 2>/dev/null; echo tramp_exit_status $? 18:07:57.322958 tramp-wait-for-regexp (6) # nil /home/jammy/project/.gitmodules tramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:07:57.323568 tramp-do-file-attributes-with-stat (5) # file attributes with stat: /home/jammy/project/.gitmodules 18:07:57.323693 tramp-send-command (6) # tramp_stat_file_attributes /home/jammy/project/.gitmodules 2>/dev/null; echo tramp_exit_status $? 18:07:57.342970 tramp-wait-for-regexp (6) # nil tramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:07:57.343297 tramp-sh-handle-file-local-copy (1) # error: "" nil 18:07:57.343574 tramp-sh-handle-file-local-copy (1) # File is missing: /podmancp:jammy@jam-zevem:/home/jammy/project/.gitmodules nil 18:07:57.343654 tramp-handle-insert-file-contents (3) # Inserting ‘/podmancp:jammy@jam-zevem:/home/jammy/project/.gitmodules’...failed 18:07:57.346150 tramp-handle-insert-file-contents (1) # File is missing: /podmancp:jammy@jam-zevem:/home/jammy/project/.gitmodules nil 18:07:57.354952 tramp-handle-insert-file-contents (1) # File is missing: /podmancp:jammy@jam-zevem:/home/jammy/project/.gitmodules nil 18:07:57.356977 tramp-send-command (6) # ( cd /home/jammy/project/ && unset GIT_DIR && env INSIDE_EMACS\=31.0.50\,tramp\:2.8.0-pre LC_MESSAGES\=C git --no-pager ls-files -z -c --exclude-standard --sparse -o /dev/null; echo tramp_exit_status $? /home/jammy/project/build.zig /home/jammy/project/.git /home/jammy /home/jammy/.git /.git e7381d37826e413f7338377bdf35cb06 18:07:59.970888 tramp-wait-for-regexp (6) # ( ("/home/jammy/project/build.zig" t t nil) ("/home/jammy/project/.git" t t t) ("/home/jammy" t t t) ("/home/jammy/.git" nil nil nil) ("/.git" nil nil nil) ) tramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:07:59.972690 tramp-send-command (6) # test -d /home/jammy/project 2>/dev/null; echo tramp_exit_status $? 18:07:59.973805 tramp-wait-for-regexp (6) # tramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:07:59.974197 tramp-send-command (6) # test -r /home/jammy/project/ 2>/dev/null; echo tramp_exit_status $? 18:07:59.975137 tramp-wait-for-regexp (6) # tramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:07:59.976377 tramp-send-command (6) # ( cd /home/jammy/project/ && unset GIT_DIR && env INSIDE_EMACS\=31.0.50\,tramp\:2.8.0-pre GIT_LITERAL_PATHSPECS\=1 GIT_OPTIONAL_LOCKS\=0 git --no-pager ls-files -c -z -- build.zig /dev/null; echo tramp_exit_status $? ) 18:07:59.984180 tramp-wait-for-regexp (6) # build.zigtramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:07:59.985826 tramp-send-command (6) # ( cd /home/jammy/project/ && unset GIT_DIR && env INSIDE_EMACS\=31.0.50\,tramp\:2.8.0-pre GIT_LITERAL_PATHSPECS\=1 GIT_OPTIONAL_LOCKS\=0 git --no-pager status --porcelain -z --untracked-files --ignored -- build.zig /dev/null; echo tramp_exit_status $? ) 18:07:59.996906 tramp-wait-for-regexp (6) # M build.zigtramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:07:59.997682 tramp-send-command (6) # ( cd /home/jammy/project/ && unset GIT_DIR && env INSIDE_EMACS\=31.0.50\,tramp\:2.8.0-pre GIT_LITERAL_PATHSPECS\=1 GIT_OPTIONAL_LOCKS\=0 git --no-pager rev-parse HEAD /dev/null; echo tramp_exit_status $? ) 18:08:00.005694 tramp-wait-for-regexp (6) # 47266d8c0325949983854befec584523792ca0ff tramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:08:00.006383 tramp-send-command (6) # ( cd /home/jammy/project/ && unset GIT_DIR && env INSIDE_EMACS\=31.0.50\,tramp\:2.8.0-pre GIT_LITERAL_PATHSPECS\=1 GIT_OPTIONAL_LOCKS\=0 git --no-pager symbolic-ref HEAD /dev/null; echo tramp_exit_status $? ) 18:08:00.013911 tramp-wait-for-regexp (6) # refs/heads/master tramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:08:03.931978 tramp-send-command (6) # test -d /home/jammy/project/project-todo.org 2>/dev/null; echo tramp_exit_status $? 18:08:03.939407 tramp-wait-for-regexp (6) # tramp_exit_status 1 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:08:03.940345 tramp-send-command (6) # (if test -h "/home/jammy/project/project-todo.org"; then echo t; else echo nil; fi) && \readlink --canonicalize-missing /home/jammy/project/project-todo.org 2>/dev/null; echo tramp_exit_status $? 18:08:03.956192 tramp-wait-for-regexp (6) # nil /home/jammy/project/project-todo.org tramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:08:03.956991 tramp-do-file-attributes-with-stat (5) # file attributes with stat: /home/jammy/project/project-todo.org 18:08:03.957199 tramp-send-command (6) # tramp_stat_file_attributes /home/jammy/project/project-todo.org 2>/dev/null; echo tramp_exit_status $? 18:08:03.975846 tramp-wait-for-regexp (6) # (("‘/home/jammy/project/project-todo.org’") 1 ("jammy" . 501) ("nobody" . 65534) 1734160437 1734160437 1734160437 0 "-rw-r--r--" t 14753690 -1) tramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:08:03.977813 tramp-handle-insert-file-contents (3) # Inserting ‘/podmancp:jammy@jam-zevem:/home/jammy/project/project-todo.org’... 18:08:03.981640 tramp-handle-insert-file-contents (3) # Inserting ‘/podmancp:jammy@jam-zevem:/home/jammy/project/project-todo.org’...done 18:08:03.982978 tramp-do-file-attributes-with-stat (5) # file attributes with stat: /home/jammy/project/project-todo.org 18:08:03.983119 tramp-send-command (6) # tramp_stat_file_attributes /home/jammy/project/project-todo.org 2>/dev/null; echo tramp_exit_status $? 18:08:03.996119 tramp-wait-for-regexp (6) # (("‘/home/jammy/project/project-todo.org’") 1 ("jammy" . 501) ("nobody" . 65534) 1734160437 1734160437 1734160437 0 "-rw-r--r--" t 14753690 -1) tramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:08:04.779999 tramp-send-command (6) # ( cd /home/jammy/project/ && env INSIDE_EMACS\=31.0.50\,tramp\:2.8.0-pre /bin/sh -c uncompface /dev/null; echo tramp_exit_status $? 18:08:04.930612 tramp-send-command (6) # tramp_bundle_read_file_names <<'e7381d37826e413f7338377bdf35cb06' 2>/dev/null; echo tramp_exit_status $? /home/jammy/project/build.zig /home/jammy/project/.git /home/jammy /home/jammy/.git /.git e7381d37826e413f7338377bdf35cb06 18:08:04.930967 tramp-wait-for-regexp (6) # tramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:08:04.931090 tramp-bundle-read-file-names (1) # End of file during parsing: End of file during parsing, 18:08:04.976428 tramp-wait-for-regexp (6) # ( ("/home/jammy/project/build.zig" t t nil) ("/home/jammy/project/.git" t t t) ("/home/jammy" t t t) ("/home/jammy/.git" nil nil nil) ("/.git" nil nil nil) ) tramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:08:04.976882 tramp-do-file-attributes-with-stat (5) # file attributes with stat: /home/jammy/project/project-todo.org 18:08:04.977042 tramp-send-command (6) # tramp_stat_file_attributes /home/jammy/project/project-todo.org 2>/dev/null; echo tramp_exit_status $? 18:08:04.986392 tramp-wait-for-regexp (6) # (("‘/home/jammy/project/project-todo.org’") 1 ("jammy" . 501) ("nobody" . 65534) 1734160437 1734160437 1734160437 0 "-rw-r--r--" t 14753690 -1) tramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:08:04.999333 tramp-sh-handle-vc-registered (3) # Checking ‘vc-registered’ for /podmancp:jammy@jam-zevem:/home/jammy/project/project-todo.org... 18:08:05.005068 tramp-send-command (6) # tramp_bundle_read_file_names <<'e7381d37826e413f7338377bdf35cb06' 2>/dev/null; echo tramp_exit_status $? /home/jammy/project/project-todo.org /home/jammy/project/.git /home/jammy /home/jammy/.git /.git e7381d37826e413f7338377bdf35cb06 18:08:05.031867 tramp-wait-for-regexp (6) # ( ("/home/jammy/project/project-todo.org" t t nil) ("/home/jammy/project/.git" t t t) ("/home/jammy" t t t) ("/home/jammy/.git" nil nil nil) ("/.git" nil nil nil) ) tramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:08:05.033491 tramp-send-command (6) # test -d /home/jammy/project 2>/dev/null; echo tramp_exit_status $? 18:08:05.034439 tramp-wait-for-regexp (6) # tramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:08:05.034724 tramp-send-command (6) # test -r /home/jammy/project/ 2>/dev/null; echo tramp_exit_status $? 18:08:05.035616 tramp-wait-for-regexp (6) # tramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:08:05.036587 tramp-send-command (6) # ( cd /home/jammy/project/ && unset GIT_DIR && env INSIDE_EMACS\=31.0.50\,tramp\:2.8.0-pre GIT_LITERAL_PATHSPECS\=1 git --no-pager ls-files -c -z -- project-todo.org /dev/null; echo tramp_exit_status $? ) 18:08:05.043148 tramp-wait-for-regexp (6) # tramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:08:05.043795 tramp-send-command (6) # ( cd /home/jammy/project/ && unset GIT_DIR && env INSIDE_EMACS\=31.0.50\,tramp\:2.8.0-pre GIT_LITERAL_PATHSPECS\=1 git --no-pager ls-tree --name-only -z HEAD -- project-todo.org /dev/null; echo tramp_exit_status $? ) 18:08:05.054050 tramp-wait-for-regexp (6) # tramp_exit_status 0 ///94b4655c39f14eb594acd8c8e974e8cd#$ 18:08:05.054335 tramp-sh-handle-vc-registered (3) # Checking ‘vc-registered’ for /podmancp:jammy@jam-zevem:/home/jammy/project/project-todo.org...done -- END ------ONE 2% - vc-working-revision 56 2% - vc-call-backend 56 2% - vc-git-working-revision 56 2% - vc-git--rev-parse 56 2% - vc-git--out-ok 56 2% - vc-git--call 56 2% - process-file 56 2% - tramp-file-name-handler 56 2% - apply 56 2% - tramp-sh-file-name-handler 56 2% - tramp-sh-handle-process-file 55 2% - tramp-send-command-and-check 55 2% - tramp-send-command 51 2% - tramp-wait-for-output 51 2% - tramp-wait-for-regexp 31 1% - tramp-accept-process-output 31 1% accept-process-output 20 0% sit-for 4 0% - tramp-message 4 0% - apply 4 0% - tramp-debug-message 4 0% write-region 1 0% - expand-file-name 1 0% - tramp-file-name-handler 1 0% - apply 1 0% - tramp-sh-file-name-handler 1 0% - tramp-sh-handle-expand-file-name 1 0% - tramp-drop-volume-letter 1 0% - replace-regexp-in-string 1 0% concat 1 ------/ -----TWO - vc-mode-line 52 2% - vc-call-backend 52 2% - vc-git-mode-line-string 52 2% - vc-git--symbolic-ref 52 2% - vc-git--run-command-string 51 2% - vc-git--out-ok 51 2% - vc-git--call 51 2% - process-file 51 2% - tramp-file-name-handler 51 2% - apply 51 2% - tramp-sh-file-name-handler 51 2% - tramp-sh-handle-process-file 51 2% - tramp-send-command-and-check 49 2% - tramp-send-command 45 2% - tramp-wait-for-output 45 2% - tramp-wait-for-regexp 28 1% - tramp-accept-process-output 28 1% accept-process-output 14 0% sit-for 3 0% - tramp-message 3 0% - apply 3 0% - tramp-debug-message 3 0% write-region 4 0% - tramp-message 4 0% - apply 4 0% - tramp-debug-message 4 0% write-region 1 0% ------/ ------THREE - vc-call-backend 85 4% - vc-git-find-file-hook 85 4% - vc-state 85 4% - vc-state-refresh 85 4% - vc-call-backend 85 4% - vc-git-state 85 4% - vc-git--run-command-string 81 3% - vc-git--out-ok 81 3% - vc-git--call 81 3% - process-file 81 3% - tramp-file-name-handler 81 3% - apply 81 3% - tramp-sh-file-name-handler 81 3% - tramp-sh-handle-process-file 81 3% - tramp-send-command-and-check 81 3% - tramp-send-command 79 3% - tramp-wait-for-output 79 3% - tramp-wait-for-regexp 54 2% - tramp-accept-process-output 54 2% - accept-process-output 1 0% syntax-ppss-flush-cache 25 1% sit-for 2 0% - tramp-message 2 0% - apply 2 0% - tramp-debug-message 2 0% -----/ -----FOUR - tramp-run-real-handler 179 8% - vc-registered 177 8% - mapc 177 8% - # 177 8% - vc-call-backend 177 8% - vc-git-registered 144 7% - vc-git--out-ok 144 7% - vc-git--call 144 7% - process-file 144 7% - tramp-file-name-handler 144 7% - apply 144 7% - tramp-sh-file-name-handler 144 7% - tramp-sh-handle-process-file 143 6% - tramp-send-command-and-check 143 6% - tramp-send-command 134 6% - tramp-wait-for-output 134 6% - tramp-wait-for-regexp 71 3% - tramp-accept-process-output 71 3% accept-process-output 60 2% sit-for 2 0% - tramp-message 2 0% - apply 2 0% - tramp-debug-message 2 0% write-region 1 0% - tramp-check-for-regexp 1 0% tramp-search-regexp 9 0% - tramp-message 9 0% - apply 9 0% - tramp-debug-message 6 0% write-region 2 0% whitespace--update-bob-eob 1 0% - tramp-get-debug-buffer 1 0% - tramp-debug-buffer-name 1 0% --------/ ------FIVE - timer-event-handler 793 38% - apply 791 38% - auto-revert-buffers 791 38% - apply 791 38% - auto-revert-buffers@buffer-list-filter 791 38% - if 791 38% - funcall 791 38% - # 784 38% - auto-revert-buffer 784 38% - auto-revert-handler 784 38% - vc-refresh-state 647 31% - vc-backend 646 31% - vc-registered 642 31% - tramp-file-name-handler 642 31% - apply 642 31% - tramp-sh-file-name-handler 642 31% - tramp-sh-handle-vc-registered 463 22% - tramp-bundle-read-file-names 463 22% - tramp-send-command-and-check 463 22% - tramp-send-command 454 22% - tramp-wait-for-output 454 22% - tramp-wait-for-regexp 266 12% - tramp-accept-process-output 261 12% accept-process-output 2 0% - tramp-get-connection-property 1 0% tramp-file-name-unify 1 0% - # 1 0% - tramp-flush-connection-property 1 0% tramp-get-hash-table 182 8% sit-for 5 0% - tramp-check-for-regexp 5 0% tramp-search-regexp 1 0% - tramp-message 1 0% - apply 1 0% - tramp-debug-message 1 0% write-region 8 0% - tramp-message 8 0% - apply 8 0% - tramp-debug-message 7 0% - write-region 5 0% - select-safe-coding-system 5 0% - find-auto-coding 5 0% auto-coding-alist-lookup 1 0% - tramp-maybe-open-connection 1 0% - tramp-get-connection-process 1 0% - tramp-get-connection-name 1 0% - tramp-buffer-name 1 0% tramp-file-name-host-port 179 8% ---------/ tramp-list-connections tramp-compat-seq-keep apply fun to seq and return non-nil results fun: the lambda defined there seq: (hash-table-keys tramp-cache-data) tramp-vc-registered-file-names