From: Glenn Morris Date: Sat, 18 May 2013 19:38:35 +0000 (-0700) Subject: comint-password-prompt-regexp tweak X-Git-Url: http://git.hcoop.net/bpt/emacs.git/commitdiff_plain/8051fccd4636dd0e7547c1f012e0447ed31ccbea comint-password-prompt-regexp tweak Ref: http://lists.gnu.org/archive/html/emacs-devel/2013-05/msg00401.html * lisp/comint.el (comint-password-prompt-regexp): Allow "password for XXX" where XXX contains colons (eg https://...). --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b4bb56a1d6..d5957fb01c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-05-18 Glenn Morris + + * comint.el (comint-password-prompt-regexp): + Allow "password for XXX" where XXX contains colons (eg https://...). + 2013-05-18 Leo Liu * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR diff --git a/lisp/comint.el b/lisp/comint.el index 956e8f86cc..5680b9aaa2 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -351,7 +351,7 @@ This variable is buffer-local." '("password" "Password" "passphrase" "Passphrase" "pass phrase" "Pass phrase" "Response")) "\\(?:\\(?:, try\\)? *again\\| (empty for no passphrase)\\| (again)\\)?\ -\\(?: for [^:]+\\)?:\\s *\\'") +\\(?: for .+\\)?:\\s *\\'") "Regexp matching prompts for passwords in the inferior process. This is used by `comint-watch-for-password-prompt'." :version "24.1"