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

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

bug#25596: 25.1; Password not hidden


From: Glenn Morris
Subject: bug#25596: 25.1; Password not hidden
Date: Fri, 28 Apr 2017 16:19:53 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Version: 26.1

commit 6a3f331
Date:   Fri Apr 28 16:17:27 2017 -0400

    Broaden comint-password-prompt-regexp
    
    * lisp/comint.el (comint-password-prompt-regexp):
    Broaden the regexp, for non-English locales.  (Bug#26698)

diff --git a/lisp/comint.el b/lisp/comint.el
index a01ecd3..51b6591 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -362,7 +362,8 @@ This variable is buffer-local."
    " +\\)"
    "\\(?:" (regexp-opt password-word-equivalents) "\\|Response\\)"
    "\\(?:\\(?:, try\\)? *again\\| (empty for no passphrase)\\| (again)\\)?"
-   "\\(?: for .+\\)?[::៖]\\s *\\'")
+   ;; "[[:alpha:]]" used to be "for", which fails to match non-English.
+   "\\(?: [[:alpha:]]+ .+\\)?[::៖]\\s *\\'")
   "Regexp matching prompts for passwords in the inferior process.
 This is used by `comint-watch-for-password-prompt'."
   :version "26.1"





reply via email to

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