From: Glenn Morris Date: Sat, 18 May 2013 19:38:35 +0000 (-0700) Subject: comint-password-prompt-regexp tweak X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~229^2~34 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8051fccd4636dd0e7547c1f012e0447ed31ccbea;p=emacs.git 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 b4bb56a1d6f..d5957fb01c2 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 956e8f86ccb..5680b9aaa2a 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"