all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ota, Takaaki" <Takaaki.Ota@am.sony.com>
To: <emacs-devel@gnu.org>
Subject: comint-password-prompt-regexp in comint.el
Date: Thu, 16 May 2013 15:01:50 -0700	[thread overview]
Message-ID: <20130516.150150.226695145.Takaaki.Ota@am.sony.com> (raw)

[-- 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'."

             reply	other threads:[~2013-05-16 22:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-16 22:01 Ota, Takaaki [this message]
2013-05-17 19:02 ` comint-password-prompt-regexp in comint.el Glenn Morris
2013-05-17 20:29   ` Ota, Takaaki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130516.150150.226695145.Takaaki.Ota@am.sony.com \
    --to=takaaki.ota@am.sony.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.