* bug#25191: Redesign `recentf-menu-bar' logic and its callers @ 2016-12-13 0:59 Alexander Shukaev 2017-06-10 12:59 ` bug#27306: Regression: Emacs Lisp Indentation Alexander Shukaev 2019-10-09 7:46 ` bug#25191: Redesign `recentf-menu-bar' logic and its callers Lars Ingebrigtsen 0 siblings, 2 replies; 14+ messages in thread From: Alexander Shukaev @ 2016-12-13 0:59 UTC (permalink / raw) To: 25191 Hi, consider (defsubst recentf-menu-bar () "Return the keymap of the global menu bar." (lookup-key global-map [menu-bar])) (defun recentf-show-menu () "Show the menu of recently opened files." (easy-menu-add-item (recentf-menu-bar) recentf-menu-path (list recentf-menu-title :filter 'recentf-make-menu-items) recentf-menu-before)) (defun recentf-hide-menu () "Hide the menu of recently opened files." (easy-menu-remove-item (recentf-menu-bar) recentf-menu-path recentf-menu-title)) from 'recentf.el'. This code is ill-formed. When `global-map' is customized in such a way that it does not have `(kbd "<menu-bar>")' (or `[menu-bar]'), then both `recentf-show-menu' and `recentf-hide-menu' will fail. Furthermore, according to Emacs documentation, using `(current-global-map)' is more correct than `global-map'. Looking forward to fix. Regards, Alexander ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#27306: Regression: Emacs Lisp Indentation 2016-12-13 0:59 bug#25191: Redesign `recentf-menu-bar' logic and its callers Alexander Shukaev @ 2017-06-10 12:59 ` Alexander Shukaev 2017-06-10 15:33 ` npostavs 2017-06-10 19:00 ` bug#27315: Regression: `abbreviate-file-name' and `tramp-file-name-handler' Alexander Shukaev 2019-10-09 7:46 ` bug#25191: Redesign `recentf-menu-bar' logic and its callers Lars Ingebrigtsen 1 sibling, 2 replies; 14+ messages in thread From: Alexander Shukaev @ 2017-06-10 12:59 UTC (permalink / raw) To: 27306 Hey, In Emacs 25 series, the following snippet is indented as follows (user-error "Unexpected initialization file: `%s' Expected initialization file: `%s'" (abbreviate-file-name user-init-file) (abbreviate-file-name this-init-file)) In Emacs 26 series, a call to `indent-region' changes the above indentation to (user-error "Unexpected initialization file: `%s' Expected initialization file: `%s'" (abbreviate-file-name user-init-file) (abbreviate-file-name this-init-file)) which appears wrong to me. Please, take a look at this. Thank you. Kind regards, Alexander ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#27306: Regression: Emacs Lisp Indentation 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-10 19:00 ` bug#27315: Regression: `abbreviate-file-name' and `tramp-file-name-handler' Alexander Shukaev 1 sibling, 1 reply; 14+ messages in thread From: npostavs @ 2017-06-10 15:33 UTC (permalink / raw) To: Alexander Shukaev; +Cc: 27306 [-- Attachment #1: Type: text/plain, Size: 458 bytes --] tags 27306 patch quit Alexander Shukaev <emacs@Alexander.Shukaev.name> writes: > In Emacs 26 series, a call to `indent-region' changes the above > indentation to > > (user-error "Unexpected initialization file: `%s' > Expected initialization file: `%s'" > (abbreviate-file-name user-init-file) > (abbreviate-file-name this-init-file)) > > which appears wrong to me. Please, take a look at this. Thank you. Thanks for reporting, here's a patch: [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: patch --] [-- Type: text/x-diff, Size: 4899 bytes --] From 9e5c05a5cff6ab4eea5667792cf277c020b95426 Mon Sep 17 00:00:00 2001 From: Noam Postavsky <npostavs@gmail.com> Date: Sat, 10 Jun 2017 09:50:48 -0400 Subject: [PATCH v1] Fix wrong indentation after string literal (Bug#27306) * lisp/emacs-lisp/lisp-mode.el (lisp-indent-state) (lisp-indent-calc-next): Remove `depth' field, use (car ppss) instead. * test/lisp/emacs-lisp/lisp-mode-tests.el (lisp-indent-region-after-string-literal): New test. --- lisp/emacs-lisp/lisp-mode.el | 27 +++++++++++++-------------- test/lisp/emacs-lisp/lisp-mode-tests.el | 13 +++++++++++++ 2 files changed, 26 insertions(+), 14 deletions(-) diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index 1e38d44e1b..59db00d5f9 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el @@ -773,11 +773,9 @@ (cl-defstruct (lisp-indent-state (:constructor lisp-indent-initial-state (&aux (ppss (lisp-ppss)) (ppss-point (point)) - (depth (car ppss)) - (stack (make-list (1+ depth) nil))))) + (stack (make-list (1+ (car ppss)) nil))))) stack ;; Cached indentation, per depth. ppss - depth ppss-point) (defun lisp-indent-calc-next (state) @@ -785,9 +783,11 @@ (defun lisp-indent-calc-next (state) STATE is updated by side effect, the first state should be created by `lisp-indent-initial-state'. This function may move by more than one line to cross a string literal." - (pcase-let (((cl-struct lisp-indent-state - (stack indent-stack) ppss depth ppss-point) - state)) + (pcase-let* (((cl-struct lisp-indent-state + (stack indent-stack) ppss ppss-point) + state) + (indent-depth (car ppss)) ; Corresponding to indent-stack. + (depth indent-depth)) ;; Parse this line so we can learn the state to indent the ;; next line. (while (let ((last-sexp (nth 2 ppss))) @@ -799,22 +799,22 @@ (defun lisp-indent-calc-next (state) (if (and (not (nth 2 ppss)) (= depth (car ppss))) (setf (nth 2 ppss) last-sexp) (setq last-sexp (nth 2 ppss))) + (setq depth (car ppss)) ;; Skip over newlines within strings. (nth 3 ppss)) (let ((string-start (nth 8 ppss))) - (setq ppss (parse-partial-sexp (point) (point-max) - nil nil ppss 'syntax-table)) - (setf (nth 2 ppss) string-start)) ; Finished a complete string. + (setq ppss (parse-partial-sexp (point) (point-max) + nil nil ppss 'syntax-table)) + (setf (nth 2 ppss) string-start) ; Finished a complete string. + (setq depth (car ppss))) (setq ppss-point (point))) (setq ppss-point (point)) - (let* ((next-depth (car ppss)) - (depth-delta (- next-depth depth))) + (let* ((depth-delta (- depth indent-depth))) (cond ((< depth-delta 0) (setq indent-stack (nthcdr (- depth-delta) indent-stack))) ((> depth-delta 0) (setq indent-stack (nconc (make-list depth-delta nil) - indent-stack)))) - (setq depth next-depth)) + indent-stack))))) (prog1 (let (indent) (cond ((= (forward-line 1) 1) nil) @@ -826,7 +826,6 @@ (defun lisp-indent-calc-next (state) ;; This only happens if we're in a string. (t (error "This shouldn't happen")))) (setf (lisp-indent-state-stack state) indent-stack) - (setf (lisp-indent-state-depth state) depth) (setf (lisp-indent-state-ppss-point state) ppss-point) (setf (lisp-indent-state-ppss state) ppss)))) diff --git a/test/lisp/emacs-lisp/lisp-mode-tests.el b/test/lisp/emacs-lisp/lisp-mode-tests.el index f2fe7a6cf4..582041cfc2 100644 --- a/test/lisp/emacs-lisp/lisp-mode-tests.el +++ b/test/lisp/emacs-lisp/lisp-mode-tests.el @@ -185,6 +185,19 @@ (ert-deftest lisp-indent-region-in-sexp () (indent-region (point) (point-max)) (should (equal (buffer-string) correct))))) +(ert-deftest lisp-indent-region-after-string-literal () + (with-temp-buffer + (insert "\ +\(user-error \"Unexpected initialization file: `%s' +Expected initialization file: `%s'\" + (abbreviate-file-name user-init-file) + (abbreviate-file-name this-init-file))") + (let ((indent-tabs-mode nil) + (correct (buffer-string))) + (emacs-lisp-mode) + (indent-region (point-min) (point-max)) + (should (equal (buffer-string) correct))))) + (provide 'lisp-mode-tests) ;;; lisp-mode-tests.el ends here -- 2.11.1 ^ permalink raw reply related [flat|nested] 14+ messages in thread
* bug#27306: Regression: Emacs Lisp Indentation 2017-06-10 15:33 ` npostavs @ 2017-06-13 11:27 ` npostavs 2017-06-16 7:39 ` Alexander Shukaev 0 siblings, 1 reply; 14+ messages in thread From: npostavs @ 2017-06-13 11:27 UTC (permalink / raw) To: Alexander Shukaev; +Cc: 27306 tags 27306 fixed close 27306 quit npostavs@users.sourceforge.net writes: > Thanks for reporting, here's a patch: Pushed to master [1: cc8aa484cd]. [1: cc8aa484cd]: 2017-06-13 07:19:12 -0400 Fix wrong indentation after string literal (Bug#27306) http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=cc8aa484cdab6b2f33a8c95a5778193c762412b9 ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#27306: Regression: Emacs Lisp Indentation 2017-06-13 11:27 ` npostavs @ 2017-06-16 7:39 ` Alexander Shukaev 0 siblings, 0 replies; 14+ messages in thread From: Alexander Shukaev @ 2017-06-16 7:39 UTC (permalink / raw) To: npostavs; +Cc: 27306 On 06/13/2017 01:27 PM, npostavs@users.sourceforge.net wrote: > tags 27306 fixed > close 27306 > quit > > npostavs@users.sourceforge.net writes: > >> Thanks for reporting, here's a patch: > > Pushed to master [1: cc8aa484cd]. > > [1: cc8aa484cd]: 2017-06-13 07:19:12 -0400 > Fix wrong indentation after string literal (Bug#27306) > http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=cc8aa484cdab6b2f33a8c95a5778193c762412b9 > Hi Noam, Works as expected. Thank you. Regards, Alexander ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#27315: Regression: `abbreviate-file-name' and `tramp-file-name-handler' 2017-06-10 12:59 ` bug#27306: Regression: Emacs Lisp Indentation Alexander Shukaev 2017-06-10 15:33 ` npostavs @ 2017-06-10 19:00 ` Alexander Shukaev 2017-06-11 9:13 ` Michael Albinus 1 sibling, 1 reply; 14+ messages in thread From: Alexander Shukaev @ 2017-06-10 19:00 UTC (permalink / raw) To: 27315 Hello, In Emacs 26 series, I notice regression that has to do with `abbreviate-file-name' and `tramp-file-name-handler'. Here is how to reproduce it: $ emacs -Q Paste the following to the "*scratch*" buffer: (setq-default frame-title-format '((:eval (list (user-login-name) "@" (system-name) ":" (abbreviate-file-name (or (buffer-file-name) (file-name-as-directory default-directory))))))) M-x eval-buffer M-x find-file /sudo:root@localhost:~/hang will result in hanging with the "Sending password" message in minibuffer. I did not debug this, but I know for sure how to workaround this and, therefore, can provide a clue how to fix it. That is $ emacs -Q Paste the following to the "*scratch*" buffer: (setq-default frame-title-format '((:eval (list (user-login-name) "@" (system-name) ":" (let (file-name-handler-alist) (abbreviate-file-name (or (buffer-file-name) (file-name-as-directory default-directory)))))))) M-x eval-buffer M-x find-file /sudo:root@localhost:~/yuppie opens the file just fine. It means that somehow since Emacs 26 `abbreviate-file-name' either triggers `tramp-file-name-handler' or it did so before but this time (I heard that the TRAMP syntax has changed) it might be bugged. Michael, could you have a look at this? Thanks! Kind regards, Alexander ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#27315: Regression: `abbreviate-file-name' and `tramp-file-name-handler' 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 0 siblings, 1 reply; 14+ messages in thread From: Michael Albinus @ 2017-06-11 9:13 UTC (permalink / raw) To: Alexander Shukaev; +Cc: 27315 Alexander Shukaev <emacs@Alexander.Shukaev.name> writes: > Hello, Hi Alexander, > In Emacs 26 series, I notice regression that has to do with > `abbreviate-file-name' and `tramp-file-name-handler'. Here is how to > reproduce it: > > $ emacs -Q > > Paste the following to the "*scratch*" buffer: > > (setq-default > frame-title-format > '((:eval (list (user-login-name) > "@" > (system-name) > ":" > (abbreviate-file-name (or (buffer-file-name) > (file-name-as-directory > default-directory))))))) > > M-x eval-buffer > M-x find-file /sudo:root@localhost:~/hang > > will result in hanging with the "Sending password" message in > minibuffer. I cannot reproduce it, using --8<---------------cut here---------------start------------->8--- GNU Emacs 26.0.50 (build 17, x86_64-pc-linux-gnu, GTK+ Version 2.24.31) of 2017-06-10 built on detlef Repository revision: f361c54e6abc5ba5fa5ce6cc9734b5283e0e6aa3 Windowing system distributor 'The X.Org Foundation', version 11.0.11903000 System Description: Ubuntu 17.04 --8<---------------cut here---------------end--------------->8--- A recent Emacs build is important, because I've fixed several Tramp issues recently, resulting from the Tramp syntax change. If the problem persists, could you pls set tramp-verbose to 10, prior running your test? There will be a Tramp debug buffer then. > Michael, could you have a look at this? Thanks! > > Kind regards, > Alexander Best regards, Michael. ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#27315: Regression: `abbreviate-file-name' and `tramp-file-name-handler' 2017-06-11 9:13 ` Michael Albinus @ 2017-06-11 11:30 ` Alexander Shukaev 2017-06-12 15:59 ` Michael Albinus 0 siblings, 1 reply; 14+ messages in thread From: Alexander Shukaev @ 2017-06-11 11:30 UTC (permalink / raw) To: Michael Albinus; +Cc: 27315 On 06/11/2017 11:13 AM, Michael Albinus wrote: > Alexander Shukaev <emacs@Alexander.Shukaev.name> writes: > >> Hello, > > Hi Alexander, > >> In Emacs 26 series, I notice regression that has to do with >> `abbreviate-file-name' and `tramp-file-name-handler'. Here is how to >> reproduce it: >> >> $ emacs -Q >> >> Paste the following to the "*scratch*" buffer: >> >> (setq-default >> frame-title-format >> '((:eval (list (user-login-name) >> "@" >> (system-name) >> ":" >> (abbreviate-file-name (or (buffer-file-name) >> (file-name-as-directory >> default-directory))))))) >> >> M-x eval-buffer >> M-x find-file /sudo:root@localhost:~/hang >> >> will result in hanging with the "Sending password" message in >> minibuffer. > > I cannot reproduce it, using > > --8<---------------cut here---------------start------------->8--- > GNU Emacs 26.0.50 (build 17, x86_64-pc-linux-gnu, GTK+ Version 2.24.31) > of 2017-06-10 built on detlef > Repository revision: f361c54e6abc5ba5fa5ce6cc9734b5283e0e6aa3 > Windowing system distributor 'The X.Org Foundation', version 11.0.11903000 > System Description: Ubuntu 17.04 > --8<---------------cut here---------------end--------------->8--- > > A recent Emacs build is important, because I've fixed several Tramp > issues recently, resulting from the Tramp syntax change. > > If the problem persists, could you pls set tramp-verbose to 10, prior > running your test? There will be a Tramp debug buffer then. For the previous test, I've built Emacs from 'master' just a few commits before the one you referenced. So, I've just rebuilt it again in order to capture your commit and the problem remains: ;; Emacs: 26.0.50 Tramp: 2.3.2-pre -*- mode: outline; -*- ;; Location: /usr/share/emacs/26.0.50/lisp/net/tramp.elc Git: 973322704adf11cf2ac442e4d0b35eac71ace972 13:20:14.493721 tramp-get-connection-property (7) # ~root undef 13:20:14.493981 tramp-get-connection-property (7) # process-name nil 13:20:14.494130 tramp-get-connection-property (7) # process-name nil 13:20:14.494264 tramp-get-connection-property (7) # process-buffer nil 13:20:14.494415 tramp-get-connection-property (7) # process-buffer nil 13:20:14.494543 tramp-set-connection-property (7) # process-buffer nil 13:20:14.495003 tramp-maybe-open-connection (3) # Opening connection for root@host using sudo... 13:20:14.495676 tramp-get-connection-property (7) # login-args undef 13:20:14.495904 tramp-get-connection-property (7) # login-args undef 13:20:14.496217 tramp-get-connection-property (7) # process-name nil 13:20:14.496382 tramp-get-connection-property (7) # process-buffer nil 13:20:14.497168 tramp-set-connection-property (7) # vector (tramp-file-name sudo root nil host nil ~/xxx nil) 13:20:14.497357 tramp-maybe-open-connection (6) # /bin/sh -i 13:20:14.497496 tramp-get-connection-property (7) # vector (tramp-file-name sudo root nil host nil ~/xxx nil) 13:20:14.497652 tramp-get-connection-property (7) # check-remote-echo nil 13:20:14.497781 tramp-get-connection-property (7) # check-remote-echo nil 13:20:14.503446 tramp-accept-process-output (10) # *tramp/sudo root@host* run t #$ 13:20:14.503622 tramp-get-connection-property (7) # check-remote-echo nil 13:20:14.503753 tramp-get-connection-property (7) # check-remote-echo nil 13:20:14.503893 tramp-wait-for-regexp (6) # #$ 13:20:14.504046 tramp-get-connection-property (7) # login-program undef 13:20:14.504188 tramp-get-connection-property (7) # login-args undef 13:20:14.504329 tramp-get-connection-property (7) # login-env undef 13:20:14.504466 tramp-get-connection-property (7) # async-args undef 13:20:14.504607 tramp-get-connection-property (7) # connection-timeout undef 13:20:14.504739 tramp-get-connection-property (7) # temp-file undef 13:20:14.504966 tramp-set-connection-property (7) # temp-file /tmp/tramp.2864657P 13:20:14.575140 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"":’ 13:20:14.575246 tramp-get-connection-property (7) # process-name nil 13:20:14.575320 tramp-get-connection-property (7) # remote-echo nil 13:20:14.575383 tramp-send-command (6) # exec env SHELL=/bin/sh sudo -u root -s -H -p P""a""s""s""w""o""r""d"": 13:20:14.575454 tramp-get-connection-property (7) # process-name nil 13:20:14.575524 tramp-get-connection-property (7) # chunksize nil 13:20:14.575587 tramp-set-connection-property (7) # last-cmd-time (22845 10094 575567 749000) 13:20:14.575657 tramp-send-string (10) # exec env SHELL=/bin/sh sudo -u root -s -H -p P""a""s""s""w""o""r""d"": 13:20:14.575725 tramp-get-connection-property (7) # process-buffer nil 13:20:14.575917 tramp-set-connection-property (7) # first-password-request t 13:20:14.576072 tramp-process-actions (3) # Waiting for prompts from remote shell... 13:20:14.585091 tramp-accept-process-output (10) # *tramp/sudo root@host* run t Password: 13:20:14.585190 tramp-process-one-action (5) # Looking for regexp "\(.*\(user\|login\)\( .*\)?: *\)\'" from remote shell 13:20:14.585256 tramp-get-connection-property (7) # check-remote-echo nil 13:20:14.585319 tramp-get-connection-property (7) # check-remote-echo nil 13:20:14.585410 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\|лозинка\|пароль\|ססמה\|كلمة السر\|गुप्तशब्द\|शब्दकूट\|গুপ্তশব্দ\|পাসওয়ার্ড\|ਪਾਸਵਰਡ\|પાસવર્ડ\|ପ୍ରବେଶ ସଙ୍କେତ\|கடவுச்சொல்\|సంకేతపదము\|ಗುಪ್ತಪದ\|അടയാളവാക്ക്\|රහස්පදය\|ពាក្យសម្ងាត់\|パスワード\|密[码碼]\|암호\)\).*: 13:20:14.585488 tramp-get-connection-property (7) # check-remote-echo nil 13:20:14.585547 tramp-get-connection-property (7) # check-remote-echo nil 13:20:14.585636 tramp-process-one-action (5) # Call ‘tramp-action-password’ 13:20:14.585702 tramp-get-connection-property (7) # first-password-request t 13:20:14.585763 tramp-get-connection-property (7) # check-remote-echo nil 13:20:14.585825 tramp-get-connection-property (7) # check-remote-echo nil 13:20:14.586027 tramp-action-password (3) # Sending Password 13:20:14.586114 tramp-get-connection-property (7) # check-remote-echo nil 13:20:14.586221 tramp-get-connection-property (7) # check-remote-echo nil 13:20:14.586407 tramp-get-connection-property (7) # first-password-request t 13:20:14.590398 tramp-get-connection-property (7) # case-insensitive undef 13:20:14.590502 tramp-get-connection-property (7) # case-insensitive undef 13:20:14.602433 tramp-handle-file-name-case-insensitive-p (5) # Checking case-insensitive... 13:20:14.605291 tramp-get-connection-property (7) # tmpdir undef 13:20:14.605370 tramp-get-connection-property (7) # tmpdir undef 13:20:14.606211 tramp-get-file-property (8) # /tmp file-directory-p undef 13:20:14.606339 tramp-get-connection-property (7) # test undef 13:20:14.606403 tramp-get-test-command (5) # Finding a suitable ‘test’ command 13:20:14.606468 tramp-get-connection-property (7) # process-name nil 13:20:14.606534 tramp-get-connection-property (7) # process-name nil 13:20:14.606600 tramp-get-connection-property (7) # process-buffer nil 13:20:14.606669 tramp-get-connection-property (7) # last-cmd-time (22845 10094 575567 749000) 13:20:14.606745 tramp-get-connection-property (7) # process-name nil 13:20:14.606810 tramp-get-connection-property (7) # remote-echo nil 13:20:14.606870 tramp-send-command (6) # test 0 2>/dev/null; echo tramp_exit_status $? 13:20:14.606933 tramp-get-connection-property (7) # process-name nil 13:20:14.606998 tramp-get-connection-property (7) # chunksize nil 13:20:14.607061 tramp-set-connection-property (7) # last-cmd-time (22845 10094 607041 955000) 13:20:14.607130 tramp-send-string (10) # test 0 2>/dev/null; echo tramp_exit_status $? 13:20:14.607191 tramp-get-connection-property (7) # process-buffer nil 13:20:14.607287 tramp-get-connection-property (7) # check-remote-echo nil 13:20:14.607349 tramp-get-connection-property (7) # check-remote-echo nil 13:20:14.607494 tramp-accept-process-output (10) # *tramp/sudo root@host* run t 13:20:14.607556 tramp-get-connection-property (7) # check-remote-echo nil 13:20:14.607619 tramp-get-connection-property (7) # check-remote-echo nil 13:20:15.608940 tramp-accept-process-output (10) # *tramp/sudo root@host* run nil 13:20:15.609266 tramp-get-connection-property (7) # check-remote-echo nil 13:20:15.609477 tramp-get-connection-property (7) # check-remote-echo nil 13:20:16.315663 tramp-accept-process-output (10) # *tramp/sudo root@host* run t Sorry, try again. 13:20:16.315895 tramp-get-connection-property (7) # check-remote-echo nil 13:20:16.316055 tramp-get-connection-property (7) # check-remote-echo nil 13:20:16.316324 tramp-accept-process-output (10) # *tramp/sudo root@host* run t Sorry, try again. Password: 13:20:16.316490 tramp-get-connection-property (7) # check-remote-echo nil 13:20:16.316661 tramp-get-connection-property (7) # check-remote-echo nil 13:20:17.318118 tramp-accept-process-output (10) # *tramp/sudo root@host* run nil Sorry, try again. Password: 13:20:17.318402 tramp-get-connection-property (7) # check-remote-echo nil 13:20:17.318612 tramp-get-connection-property (7) # check-remote-echo nil 13:20:18.319246 tramp-accept-process-output (10) # *tramp/sudo root@host* run nil Sorry, try again. Password: 13:20:18.319513 tramp-get-connection-property (7) # check-remote-echo nil 13:20:18.319704 tramp-get-connection-property (7) # check-remote-echo nil 13:20:19.320281 tramp-accept-process-output (10) # *tramp/sudo root@host* run nil Sorry, try again. Password: 13:20:19.320568 tramp-get-connection-property (7) # check-remote-echo nil 13:20:19.320779 tramp-get-connection-property (7) # check-remote-echo nil 13:20:20.321264 tramp-accept-process-output (10) # *tramp/sudo root@host* run nil Sorry, try again. Password: 13:20:20.321480 tramp-get-connection-property (7) # check-remote-echo nil 13:20:20.321627 tramp-get-connection-property (7) # check-remote-echo nil 13:20:21.322053 tramp-accept-process-output (10) # *tramp/sudo root@host* run nil Sorry, try again. Password: 13:20:21.322268 tramp-get-connection-property (7) # check-remote-echo nil 13:20:21.322420 tramp-get-connection-property (7) # check-remote-echo nil 13:20:22.322885 tramp-accept-process-output (10) # *tramp/sudo root@host* run nil Sorry, try again. Password: 13:20:22.323102 tramp-get-connection-property (7) # check-remote-echo nil 13:20:22.323250 tramp-get-connection-property (7) # check-remote-echo nil 13:20:23.323822 tramp-accept-process-output (10) # *tramp/sudo root@host* run nil Sorry, try again. Password: 13:20:23.324111 tramp-get-connection-property (7) # check-remote-echo nil 13:20:23.324319 tramp-get-connection-property (7) # check-remote-echo nil 13:20:23.970086 tramp-file-name-handler (1) # Interrupt received in operation (file-directory-p /sudo:root@host:/tmp) Sorry, try again. Password: 13:20:23.970341 tramp-file-name-handler (1) # Interrupt received in operation (temporary-file-directory) Sorry, try again. Password: 13:20:23.970516 tramp-handle-file-name-case-insensitive-p (5) # Checking case-insensitive...failed 13:20:23.970695 tramp-file-name-handler (1) # Interrupt received in operation (file-name-case-insensitive-p /sudo:root@host:/) Sorry, try again. Password: 13:20:24.018825 tramp-get-connection-property (7) # case-insensitive undef 13:20:24.019047 tramp-get-connection-property (7) # case-insensitive undef 13:20:24.019163 tramp-handle-file-name-case-insensitive-p (5) # Checking case-insensitive... 13:20:24.040840 tramp-get-connection-property (7) # tmpdir undef 13:20:24.040981 tramp-get-connection-property (7) # tmpdir undef 13:20:24.045451 tramp-get-file-property (8) # /tmp file-directory-p undef 13:20:24.045662 tramp-get-connection-property (7) # test undef 13:20:24.045763 tramp-get-test-command (5) # Finding a suitable ‘test’ command 13:20:24.045868 tramp-get-connection-property (7) # process-name nil 13:20:24.045971 tramp-get-connection-property (7) # process-name nil 13:20:24.046073 tramp-get-connection-property (7) # process-buffer nil 13:20:24.046182 tramp-get-connection-property (7) # last-cmd-time (22845 10094 607041 955000) 13:20:24.046299 tramp-get-connection-property (7) # process-name nil 13:20:24.046432 tramp-get-connection-property (7) # remote-echo nil 13:20:24.046583 tramp-send-command (6) # test 0 2>/dev/null; echo tramp_exit_status $? 13:20:24.046749 tramp-get-connection-property (7) # process-name nil 13:20:24.046918 tramp-get-connection-property (7) # chunksize nil 13:20:24.047087 tramp-set-connection-property (7) # last-cmd-time (22845 10104 47035 387000) 13:20:24.047267 tramp-send-string (10) # test 0 2>/dev/null; echo tramp_exit_status $? 13:20:24.047433 tramp-get-connection-property (7) # process-buffer nil 13:20:24.047660 tramp-get-connection-property (7) # check-remote-echo nil 13:20:24.047825 tramp-get-connection-property (7) # check-remote-echo nil 13:20:24.048185 tramp-accept-process-output (10) # *tramp/sudo root@host* run t 13:20:24.048326 tramp-get-connection-property (7) # check-remote-echo nil 13:20:24.048452 tramp-get-connection-property (7) # check-remote-echo nil 13:20:25.048848 tramp-accept-process-output (10) # *tramp/sudo root@host* run nil 13:20:25.049180 tramp-get-connection-property (7) # check-remote-echo nil 13:20:25.049428 tramp-get-connection-property (7) # check-remote-echo nil 13:20:25.594045 tramp-file-name-handler (1) # Interrupt received in operation (file-directory-p /sudo:root@host:/tmp) 13:20:25.594268 tramp-file-name-handler (1) # Interrupt received in operation (temporary-file-directory) 13:20:25.594421 tramp-handle-file-name-case-insensitive-p (5) # Checking case-insensitive...failed 13:20:25.594594 tramp-file-name-handler (1) # Interrupt received in operation (file-name-case-insensitive-p /sudo:root@host:/) 13:20:25.704489 tramp-get-connection-property (7) # case-insensitive undef 13:20:25.704759 tramp-get-connection-property (7) # case-insensitive undef 13:20:25.704926 tramp-handle-file-name-case-insensitive-p (5) # Checking case-insensitive... 13:20:25.732731 tramp-get-connection-property (7) # tmpdir undef 13:20:25.732902 tramp-get-connection-property (7) # tmpdir undef 13:20:25.734523 tramp-get-file-property (8) # /tmp file-directory-p undef 13:20:25.734764 tramp-get-connection-property (7) # test undef 13:20:25.734885 tramp-get-test-command (5) # Finding a suitable ‘test’ command 13:20:25.735010 tramp-get-connection-property (7) # process-name nil 13:20:25.735136 tramp-get-connection-property (7) # process-name nil 13:20:25.735260 tramp-get-connection-property (7) # process-buffer nil 13:20:25.735394 tramp-get-connection-property (7) # last-cmd-time (22845 10104 47035 387000) 13:20:25.735536 tramp-get-connection-property (7) # process-name nil 13:20:25.735663 tramp-get-connection-property (7) # remote-echo nil 13:20:25.735779 tramp-send-command (6) # test 0 2>/dev/null; echo tramp_exit_status $? 13:20:25.735900 tramp-get-connection-property (7) # process-name nil 13:20:25.736026 tramp-get-connection-property (7) # chunksize nil 13:20:25.736148 tramp-set-connection-property (7) # last-cmd-time (22845 10105 736110 842000) 13:20:25.736274 tramp-send-string (10) # test 0 2>/dev/null; echo tramp_exit_status $? 13:20:25.736393 tramp-get-connection-property (7) # process-buffer nil 13:20:25.736572 tramp-get-connection-property (7) # check-remote-echo nil 13:20:25.736693 tramp-get-connection-property (7) # check-remote-echo nil 13:20:25.736934 tramp-accept-process-output (10) # *tramp/sudo root@host* run t Password: 13:20:25.737053 tramp-get-connection-property (7) # check-remote-echo nil 13:20:25.737173 tramp-get-connection-property (7) # check-remote-echo nil 13:20:26.737651 tramp-accept-process-output (10) # *tramp/sudo root@host* run nil Password: 13:20:26.737895 tramp-get-connection-property (7) # check-remote-echo nil 13:20:26.738098 tramp-get-connection-property (7) # check-remote-echo nil 13:20:27.298628 tramp-accept-process-output (10) # *tramp/sudo root@host* run t Password: sudo: 3 incorrect password attempts 13:20:27.298786 tramp-get-connection-property (7) # check-remote-echo nil 13:20:27.298912 tramp-get-connection-property (7) # check-remote-echo nil 13:20:27.302556 tramp-get-file-property (8) # / file-directory-p undef 13:20:27.302803 tramp-get-connection-property (7) # test undef 13:20:27.302917 tramp-get-test-command (5) # Finding a suitable ‘test’ command 13:20:27.303034 tramp-get-connection-property (7) # process-name nil 13:20:27.303150 tramp-get-connection-property (7) # process-name nil 13:20:27.303261 tramp-get-connection-property (7) # process-buffer nil 13:20:27.303403 tramp-file-name-handler (1) # Suppress received in operation (file-directory-p /sudo:root@host:/) Password: sudo: 3 incorrect password attempts 13:20:27.303564 tramp-get-file-property (8) # file-truename nil 13:20:27.303686 tramp-flush-directory-property (8) # 13:20:27.303790 tramp-get-connection-property (7) # process-name nil 13:20:27.303909 tramp-flush-connection-property (7) # (tramp-file-name sudo root nil host nil nil nil) (process-buffer first-password-request) 13:20:27.304044 tramp-get-connection-property (7) # process-buffer nil 13:20:27.324727 tramp-get-file-property (8) # /tramp.28646GGW file-attributes-integer undef 13:20:27.324840 tramp-get-connection-property (7) # stat undef 13:20:27.324922 tramp-get-remote-stat (5) # Finding a suitable ‘stat’ command 13:20:27.325004 tramp-get-connection-property (7) # remote-path undef 13:20:27.325093 tramp-get-connection-property (7) # process-name nil 13:20:27.325177 tramp-get-connection-property (7) # process-name nil 13:20:27.325258 tramp-get-connection-property (7) # process-buffer nil 13:20:27.325347 tramp-get-connection-property (7) # process-buffer nil 13:20:27.325425 tramp-set-connection-property (7) # process-buffer nil 13:20:27.325533 tramp-file-name-handler (1) # Suppress received in operation (file-attributes /sudo:root@host:/tramp.28646GGW integer) 13:20:27.325649 tramp-get-file-property (8) # file-truename nil 13:20:27.325733 tramp-flush-directory-property (8) # 13:20:27.325820 tramp-get-connection-property (7) # process-name nil 13:20:27.325904 tramp-flush-connection-property (7) # (tramp-file-name sudo root nil host nil nil nil) (process-buffer) 13:20:27.326000 tramp-get-connection-property (7) # process-buffer nil 13:20:27.326680 tramp-get-connection-property (7) # uid-integer undef 13:20:27.326765 tramp-get-connection-property (7) # id undef 13:20:27.326842 tramp-get-remote-id (5) # Finding POSIX ‘id’ command 13:20:27.326922 tramp-get-connection-property (7) # remote-path undef 13:20:27.327007 tramp-get-connection-property (7) # process-name nil 13:20:27.327089 tramp-get-connection-property (7) # process-name nil 13:20:27.327170 tramp-get-connection-property (7) # process-buffer nil 13:20:27.327258 tramp-get-connection-property (7) # process-buffer nil 13:20:27.327336 tramp-set-connection-property (7) # process-buffer nil 13:20:27.327439 tramp-file-name-handler (1) # Suppress received in operation (write-region nil /sudo:root@host:/tramp.28646GGW nil silent) 13:20:27.327594 tramp-get-file-property (8) # file-truename nil 13:20:27.327681 tramp-flush-directory-property (8) # 13:20:27.327766 tramp-get-connection-property (7) # process-name nil 13:20:27.327851 tramp-flush-connection-property (7) # (tramp-file-name sudo root nil host nil nil nil) (process-buffer) 13:20:27.327948 tramp-get-connection-property (7) # process-buffer nil 13:20:27.329841 tramp-handle-file-name-case-insensitive-p (5) # Checking case-insensitive...failed 13:20:27.329943 tramp-set-connection-property (7) # case-insensitive nil 13:20:27.350787 tramp-get-connection-property (7) # case-insensitive nil 13:20:27.350899 tramp-get-connection-property (7) # case-insensitive nil 13:20:27.350996 tramp-get-connection-property (7) # case-insensitive nil 13:20:27.354585 tramp-get-connection-property (7) # case-insensitive nil 13:20:27.354669 tramp-get-connection-property (7) # case-insensitive nil 13:20:27.354749 tramp-get-connection-property (7) # case-insensitive nil 13:20:29.006851 tramp-get-connection-property (7) # case-insensitive nil 13:20:29.007040 tramp-get-connection-property (7) # case-insensitive nil 13:20:29.007213 tramp-get-connection-property (7) # case-insensitive nil 13:20:29.031258 tramp-get-connection-property (7) # case-insensitive nil 13:20:29.031419 tramp-get-connection-property (7) # case-insensitive nil 13:20:29.031567 tramp-get-connection-property (7) # case-insensitive nil 13:20:29.418855 tramp-maybe-open-connection (3) # Opening connection for root@host using sudo...failed 13:20:29.419316 tramp-get-file-property (8) # file-truename nil 13:20:29.419553 tramp-flush-directory-property (8) # 13:20:29.419797 tramp-get-connection-property (7) # process-name nil 13:20:29.420031 tramp-flush-connection-property (7) # (tramp-file-name sudo root nil host nil nil nil) (case-insensitive) 13:20:29.420344 tramp-get-connection-property (7) # process-buffer nil NOTE: At some point I've simply pushed `C-g' to escape the hang. Regards, Alexander ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#27315: Regression: `abbreviate-file-name' and `tramp-file-name-handler' 2017-06-11 11:30 ` Alexander Shukaev @ 2017-06-12 15:59 ` Michael Albinus 2017-06-13 21:55 ` Alexander Shukaev 0 siblings, 1 reply; 14+ messages in thread From: Michael Albinus @ 2017-06-12 15:59 UTC (permalink / raw) To: Alexander Shukaev; +Cc: 27315 Alexander Shukaev <emacs@Alexander.Shukaev.name> writes: Hi Alexander, >> If the problem persists, could you pls set tramp-verbose to 10, prior >> running your test? There will be a Tramp debug buffer then. > > For the previous test, I've built Emacs from 'master' just a few > commits before the one you referenced. So, I've just rebuilt it again > in order to capture your commit and the problem remains: I ran the same test, with same trace level. For a while, traces are identical. > ;; Emacs: 26.0.50 Tramp: 2.3.2-pre -*- mode: outline; -*- > ;; Location: /usr/share/emacs/26.0.50/lisp/net/tramp.elc Git: > 973322704adf11cf2ac442e4d0b35eac71ace972 > 13:20:14.493721 tramp-get-connection-property (7) # ~root undef > 13:20:14.493981 tramp-get-connection-property (7) # process-name nil > 13:20:14.494130 tramp-get-connection-property (7) # process-name nil > 13:20:14.494264 tramp-get-connection-property (7) # process-buffer nil > 13:20:14.494415 tramp-get-connection-property (7) # process-buffer nil > 13:20:14.494543 tramp-set-connection-property (7) # process-buffer nil > 13:20:14.495003 tramp-maybe-open-connection (3) # Opening connection > for root@host using sudo... > 13:20:14.495676 tramp-get-connection-property (7) # login-args undef > 13:20:14.495904 tramp-get-connection-property (7) # login-args undef > 13:20:14.496217 tramp-get-connection-property (7) # process-name nil > 13:20:14.496382 tramp-get-connection-property (7) # process-buffer nil > 13:20:14.497168 tramp-set-connection-property (7) # vector > (tramp-file-name sudo root nil host nil ~/xxx nil) > 13:20:14.497357 tramp-maybe-open-connection (6) # /bin/sh -i > 13:20:14.497496 tramp-get-connection-property (7) # vector > (tramp-file-name sudo root nil host nil ~/xxx nil) > 13:20:14.497652 tramp-get-connection-property (7) # check-remote-echo nil > 13:20:14.497781 tramp-get-connection-property (7) # check-remote-echo nil > 13:20:14.503446 tramp-accept-process-output (10) # *tramp/sudo > root@host* run t > #$ > 13:20:14.503622 tramp-get-connection-property (7) # check-remote-echo nil > 13:20:14.503753 tramp-get-connection-property (7) # check-remote-echo nil > 13:20:14.503893 tramp-wait-for-regexp (6) # > #$ > 13:20:14.504046 tramp-get-connection-property (7) # login-program undef > 13:20:14.504188 tramp-get-connection-property (7) # login-args undef > 13:20:14.504329 tramp-get-connection-property (7) # login-env undef > 13:20:14.504466 tramp-get-connection-property (7) # async-args undef > 13:20:14.504607 tramp-get-connection-property (7) # connection-timeout undef > 13:20:14.504739 tramp-get-connection-property (7) # temp-file undef > 13:20:14.504966 tramp-set-connection-property (7) # temp-file > /tmp/tramp.2864657P > 13:20:14.575140 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"":’ > 13:20:14.575246 tramp-get-connection-property (7) # process-name nil > 13:20:14.575320 tramp-get-connection-property (7) # remote-echo nil > 13:20:14.575383 tramp-send-command (6) # exec env SHELL=/bin/sh sudo > -u > root -s -H -p P""a""s""s""w""o""r""d"": > 13:20:14.575454 tramp-get-connection-property (7) # process-name nil > 13:20:14.575524 tramp-get-connection-property (7) # chunksize nil > 13:20:14.575587 tramp-set-connection-property (7) # last-cmd-time > (22845 10094 575567 749000) > 13:20:14.575657 tramp-send-string (10) # exec env SHELL=/bin/sh sudo > -u > root -s -H -p P""a""s""s""w""o""r""d"": > 13:20:14.575725 tramp-get-connection-property (7) # process-buffer nil > 13:20:14.575917 tramp-set-connection-property (7) # first-password-request t > 13:20:14.576072 tramp-process-actions (3) # Waiting for prompts from > remote shell... > 13:20:14.585091 tramp-accept-process-output (10) # *tramp/sudo > root@host* run t > Password: > 13:20:14.585190 tramp-process-one-action (5) # Looking for regexp > "\(.*\(user\|login\)\( .*\)?: *\)\'" from remote shell > 13:20:14.585256 tramp-get-connection-property (7) # check-remote-echo nil > 13:20:14.585319 tramp-get-connection-property (7) # check-remote-echo nil > 13:20:14.585410 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\|лозинка\|пароль\|ססמה\|كلمة > السر\|गुप्तशब्द\|शब्दकूट\|গুপ্তশব্দ\|পাসওয়ার্ড\|ਪਾਸਵਰਡ\|પાસવર્ડ\|ପ୍ରବେଶ > ସଙ୍କେତ\|கடவுச்சொல்\|సంకేతపదము\|ಗುಪ್ತಪದ\|അടയാളവാക്ക്\|රහස්පදය\|ពាក្យសម្ងាត់\|パス > ワード\|密[码碼]\|암호\)\).*: > 13:20:14.585488 tramp-get-connection-property (7) # check-remote-echo nil > 13:20:14.585547 tramp-get-connection-property (7) # check-remote-echo nil > 13:20:14.585636 tramp-process-one-action (5) # Call ‘tramp-action-password’ > 13:20:14.585702 tramp-get-connection-property (7) # first-password-request t > 13:20:14.585763 tramp-get-connection-property (7) # check-remote-echo nil > 13:20:14.585825 tramp-get-connection-property (7) # check-remote-echo nil > 13:20:14.586027 tramp-action-password (3) # Sending Password > 13:20:14.586114 tramp-get-connection-property (7) # check-remote-echo nil > 13:20:14.586221 tramp-get-connection-property (7) # check-remote-echo nil > 13:20:14.586407 tramp-get-connection-property (7) # first-password-request t ... until here. In my traces, Tramp continues to wait for the shell prompt. In your traces, Tramp tries to determine, whether the file system is case-insensitive. > 13:20:14.590398 tramp-get-connection-property (7) # case-insensitive undef > 13:20:14.590502 tramp-get-connection-property (7) # case-insensitive undef > 13:20:14.602433 tramp-handle-file-name-case-insensitive-p (5) # > Checking case-insensitive... 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? > Regards, > Alexander Best regards, Michael. ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#27315: Regression: `abbreviate-file-name' and `tramp-file-name-handler' 2017-06-12 15:59 ` Michael Albinus @ 2017-06-13 21:55 ` Alexander Shukaev 2017-06-14 12:38 ` Michael Albinus 0 siblings, 1 reply; 14+ messages in thread From: Alexander Shukaev @ 2017-06-13 21:55 UTC (permalink / raw) To: Michael Albinus; +Cc: 27315 [-- 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) ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#27315: Regression: `abbreviate-file-name' and `tramp-file-name-handler' 2017-06-13 21:55 ` Alexander Shukaev @ 2017-06-14 12:38 ` Michael Albinus 2017-06-16 7:33 ` Alexander Shukaev 0 siblings, 1 reply; 14+ messages in thread From: Michael Albinus @ 2017-06-14 12:38 UTC (permalink / raw) To: Alexander Shukaev; +Cc: 27315 Alexander Shukaev <emacs@Alexander.Shukaev.name> writes: > Thanks Michael, Hi Alexander, > 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, redisplay triggers > `abbreviate-file-name' on a TRAMP-like path. Though how come that you > cannot reproduce it? Any further ideas? The backtrace has shown the difference. In my case, the password was taken form .authinfo. In your case, it was requested interactively, in the minibuffer. While getting the password from the minibuffer, `redisplay' was triggered for you. After changing my setup, I could reproduce the problem locally. It's easy to fix; committed to the master branch. I've changed Tramp also such a way, that in case Emacs is called with "-Q", passwords are not retrieved via auth-sources. This should give us better ways to reproduce problems. > Thank you. > > Kind regards, > Alexander Best regards, Michael. ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#27315: Regression: `abbreviate-file-name' and `tramp-file-name-handler' 2017-06-14 12:38 ` Michael Albinus @ 2017-06-16 7:33 ` Alexander Shukaev 2017-06-16 8:39 ` Michael Albinus 0 siblings, 1 reply; 14+ messages in thread From: Alexander Shukaev @ 2017-06-16 7:33 UTC (permalink / raw) To: Michael Albinus; +Cc: 27315 On 06/14/2017 02:38 PM, Michael Albinus wrote: > Hi Alexander, > > After changing my setup, I could reproduce the problem locally. It's > easy to fix; committed to the master branch. > > I've changed Tramp also such a way, that in case Emacs is called with > "-Q", passwords are not retrieved via auth-sources. This should give us > better ways to reproduce problems. > >> Thank you. >> >> Kind regards, >> Alexander > > Best regards, Michael. > Hi Michael, Confirmed, works very well. You're the best! Kind regards, Alexander ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#27315: Regression: `abbreviate-file-name' and `tramp-file-name-handler' 2017-06-16 7:33 ` Alexander Shukaev @ 2017-06-16 8:39 ` Michael Albinus 0 siblings, 0 replies; 14+ messages in thread From: Michael Albinus @ 2017-06-16 8:39 UTC (permalink / raw) To: Alexander Shukaev; +Cc: 27315-done Alexander Shukaev <emacs@Alexander.Shukaev.name> writes: > Hi Michael, Hi Alexander, > Confirmed, works very well. Thanks for confirmation, I'm closing the bug. > Kind regards, > Alexander Best regards, Michael. ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#25191: Redesign `recentf-menu-bar' logic and its callers 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 @ 2019-10-09 7:46 ` Lars Ingebrigtsen 1 sibling, 0 replies; 14+ messages in thread From: Lars Ingebrigtsen @ 2019-10-09 7:46 UTC (permalink / raw) To: Alexander Shukaev; +Cc: 25191 Alexander Shukaev <emacs@Alexander.Shukaev.name> writes: > (defsubst recentf-menu-bar () > "Return the keymap of the global menu bar." > (lookup-key global-map [menu-bar])) > > (defun recentf-show-menu () > "Show the menu of recently opened files." > (easy-menu-add-item > (recentf-menu-bar) recentf-menu-path > (list recentf-menu-title :filter 'recentf-make-menu-items) > recentf-menu-before)) > > (defun recentf-hide-menu () > "Hide the menu of recently opened files." > (easy-menu-remove-item (recentf-menu-bar) recentf-menu-path > recentf-menu-title)) > > from 'recentf.el'. This code is ill-formed. When `global-map' is > customized in such a way that it does not have `(kbd "<menu-bar>")' > (or `[menu-bar]'), then both `recentf-show-menu' and > `recentf-hide-menu' will fail. I've now added checks to protect against this in Emacs 27. > Furthermore, according to Emacs documentation, using > `(current-global-map)' is more correct than `global-map'. That's true, but I think fixing that is more a matter of somebody grepping and replacing rather than fixing piecemeal, perhaps... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no ^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2019-10-09 7:46 UTC | newest] Thread overview: 14+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 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
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).