all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* comint-password-prompt-regexp in comint.el
@ 2013-05-16 22:01 Ota, Takaaki
  2013-05-17 19:02 ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Ota, Takaaki @ 2013-05-16 22:01 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 434 bytes --]

Would you consider the attached modification to cover the next case?
Thank you.

ota@ubuntu:~/ri$ git clone https://takota@bitbucket.org/ruihri/TrackTest.git
Cloning into 'TrackTest'...
Password for 'https://takota@bitbucket.org': 

remote: Counting objects: 12, done.        
remote: Compressing objects: 100% (11/11), done.        
remote: Total 12 (delta 2), reused 0 (delta 0)        
Unpacking objects: 100% (12/12), done.

-Tak

[-- Attachment #2: comint.el.patch --]
[-- Type: text/x-patch, Size: 878 bytes --]

*** comint.el	2013-05-16 14:54:43.632331049 -0700
--- comint.el.mod	2013-05-16 14:53:37.608329808 -0700
***************
*** 349,355 ****
     (regexp-opt
      '("password" "Password" "passphrase" "Passphrase"
        "pass phrase" "Pass phrase" "Response"))
!    "\\(?:\\(?:, try\\)? *again\\| (empty for no passphrase)\\| (again)\\)?\
  \\(?: for [^:]+\\)?:\\s *\\'")
    "Regexp matching prompts for passwords in the inferior process.
  This is used by `comint-watch-for-password-prompt'."
--- 349,355 ----
     (regexp-opt
      '("password" "Password" "passphrase" "Passphrase"
        "pass phrase" "Pass phrase" "Response"))
!    "\\(?:\\(?:, try\\)? *again\\| (empty for no passphrase)\\| (again)\\| for '.*'\\)?\
  \\(?: for [^:]+\\)?:\\s *\\'")
    "Regexp matching prompts for passwords in the inferior process.
  This is used by `comint-watch-for-password-prompt'."

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-05-17 20:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-16 22:01 comint-password-prompt-regexp in comint.el Ota, Takaaki
2013-05-17 19:02 ` Glenn Morris
2013-05-17 20:29   ` Ota, Takaaki

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.