help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Turn off password prompting on specific buffer


From: Stefan Monnier
Subject: Re: Turn off password prompting on specific buffer
Date: Sun, 05 Mar 2006 16:30:17 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> How do I turn off "comint-watch-for-password-prompt" on a particular
> buffer?  I'm testing apps in a shell buffer which uses the "password:"
> string.  This confuses comint.

You can (set (make-local-variable 'comint-password-prompt-regexp) "\\`a\\`")
But it'd be interesting to see what is the actual string(s) sent by your app
and mistakenly interpreted as a password prompt.  Maybe we make the default
regexp "tighter" so it doesn't get confused?


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]