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://...).
This commit is contained in:
Glenn Morris 2013-05-18 12:38:35 -07:00
parent 6b56a60ae8
commit 8051fccd46
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-05-18 Glenn Morris <rgm@gnu.org>
* comint.el (comint-password-prompt-regexp):
Allow "password for XXX" where XXX contains colons (eg https://...).
2013-05-18 Leo Liu <sdl.web@gmail.com>
* progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR

View file

@ -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"