emacs-devel
[Top][All Lists]
Advanced

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

Re: Password prompting in man/misc.texi


From: Jérôme Marant
Subject: Re: Password prompting in man/misc.texi
Date: Wed, 02 Nov 2005 21:41:56 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

"Richard M. Stallman" <address@hidden> writes:

>     Few months ago, comint-watch-for-password-prompt has been added by default
>     to comint-output-filter-functions, on my request.
>
>     I think the documentation shall be modified according to this change,
>     especially the item documenting "M-x send-invisible" in man/misc.texi.
>
> Could you make a more specific suggestion for these changes?
> I have only vague memories of this code, so it would be a lot
> more work to for me to do it.  If you make specific suggestions
> which have the right information in useful places, I can easily
> rewrite it into publication-quality English.

How about the following change?

diff -u -r emacs.orig/man/ChangeLog emacs/man/ChangeLog
--- emacs.orig/man/ChangeLog    2005-11-02 21:16:16.000000000 +0100
+++ emacs/man/ChangeLog 2005-11-02 21:37:43.000000000 +0100
@@ -1,3 +1,8 @@
+2005-11-02  Jérôme Marant  <address@hidden>
+
+       * misc.texi (Shell Mode): Describe how to activate password
+       echoing.
+
 2005-11-01  Bill Wohler  <address@hidden>
 
        * help.texi (Help Mode): Fix typo.
diff -u -r emacs.orig/man/misc.texi emacs/man/misc.texi
--- emacs.orig/man/misc.texi    2005-11-02 21:16:22.000000000 +0100
+++ emacs/man/misc.texi 2005-11-02 21:35:53.000000000 +0100
@@ -645,12 +645,13 @@
 echoing.  This is useful when a shell command runs a program that asks
 for a password.
 
-Alternatively, you can arrange for Emacs to notice password prompts
-and turn off echoing for them, as follows:
+Please note that Emacs will not echo passwords by default.  If you
+really want them to be echoed, evaluate the following Lisp
+expression:
 
 @example
-(add-hook 'comint-output-filter-functions
-          'comint-watch-for-password-prompt)
+(remove-hook 'comint-output-filter-functions
+             'comint-watch-for-password-prompt)
 @end example
 
 @item M-x comint-continue-subjob


-- 
Jérôme Marant




reply via email to

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