unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24817: Request for an improvement
@ 2016-10-29 11:38 Web
  2017-02-23 22:14 ` bug#24817: comint-mode and 'SUDO password' prompt Glenn Morris
       [not found] ` <handler.24817.D24817.148788806824814.notifdone@debbugs.gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: Web @ 2016-10-29 11:38 UTC (permalink / raw)
  To: 24817; +Cc: Peter Dyballa

Hello!

Playing with Ansible in a shell buffer Ansible asks me for a:

	SUDO password: 

And comint-mode does not recognise this as a prompt to input a password…

Could comint-password-prompt-regexp be enhanced by default by adding this text to it?

—

Greetings

   Pete






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

* bug#24817: comint-mode and 'SUDO password' prompt
  2016-10-29 11:38 bug#24817: Request for an improvement Web
@ 2017-02-23 22:14 ` Glenn Morris
       [not found] ` <handler.24817.D24817.148788806824814.notifdone@debbugs.gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2017-02-23 22:14 UTC (permalink / raw)
  To: 24817-done

Version: 26.1

commit 581c4d1 (HEAD, master)
Date:   Thu Feb 23 17:12:49 2017 -0500

    * lisp/comint.el (comint-password-prompt-regexp): Add SUDO. (Bug#24817)

diff --git a/lisp/comint.el b/lisp/comint.el
index 830f4ca..7bac305 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -356,7 +356,7 @@ This variable is buffer-local."
    (regexp-opt
     '("Enter" "enter" "Enter same" "enter same" "Enter the" "enter the"
       "Old" "old" "New" "new" "'s" "login"
-      "Kerberos" "CVS" "UNIX" " SMB" "LDAP" "PEM"
+      "Kerberos" "CVS" "UNIX" " SMB" "LDAP" "PEM" "SUDO"
       "[sudo]" "Repeat" "Bad" "Retype")
     t)
    " +\\)"





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

* bug#24817: closed (Re: bug#24817: comint-mode and 'SUDO password' prompt)
       [not found] ` <handler.24817.D24817.148788806824814.notifdone@debbugs.gnu.org>
@ 2017-03-01 20:33   ` Web
  0 siblings, 0 replies; 3+ messages in thread
From: Web @ 2017-03-01 20:33 UTC (permalink / raw)
  To: 24817; +Cc: Peter Dyballa

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


> Am 23.2.2017 um 23:15 schrieb GNU bug Tracking System <help-debbugs@gnu.org>:
> 
> which was filed against the emacs package, has been closed.

I tried the patch in emacs-25.2-rc1 – it works!

—
Greetings

 Pete


One of the main causes of dust is janitors.


[-- Attachment #2: Type: text/html, Size: 2143 bytes --]

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

end of thread, other threads:[~2017-03-01 20:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-29 11:38 bug#24817: Request for an improvement Web
2017-02-23 22:14 ` bug#24817: comint-mode and 'SUDO password' prompt Glenn Morris
     [not found] ` <handler.24817.D24817.148788806824814.notifdone@debbugs.gnu.org>
2017-03-01 20:33   ` bug#24817: closed (Re: bug#24817: comint-mode and 'SUDO password' prompt) Web

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).