unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Password prompting in man/misc.texi
@ 2005-11-01 13:28 Jérôme Marant
  2005-11-02 10:27 ` Richard M. Stallman
  0 siblings, 1 reply; 4+ messages in thread
From: Jérôme Marant @ 2005-11-01 13:28 UTC (permalink / raw)


Hi,

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.

Thanks in advance.

Regards,

-- 
Jérôme Marant

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

* Re: Password prompting in man/misc.texi
  2005-11-01 13:28 Password prompting in man/misc.texi Jérôme Marant
@ 2005-11-02 10:27 ` Richard M. Stallman
  2005-11-02 20:41   ` Jérôme Marant
  0 siblings, 1 reply; 4+ messages in thread
From: Richard M. Stallman @ 2005-11-02 10:27 UTC (permalink / raw)
  Cc: emacs-devel

    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.

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

* Re: Password prompting in man/misc.texi
  2005-11-02 10:27 ` Richard M. Stallman
@ 2005-11-02 20:41   ` Jérôme Marant
  2005-11-03 21:41     ` Richard M. Stallman
  0 siblings, 1 reply; 4+ messages in thread
From: Jérôme Marant @ 2005-11-02 20:41 UTC (permalink / raw)
  Cc: emacs-devel

"Richard M. Stallman" <rms@gnu.org> 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  <jerome@marant.org>
+
+	* misc.texi (Shell Mode): Describe how to activate password
+	echoing.
+
 2005-11-01  Bill Wohler  <wohler@newt.com>
 
 	* 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

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

* Re: Password prompting in man/misc.texi
  2005-11-02 20:41   ` Jérôme Marant
@ 2005-11-03 21:41     ` Richard M. Stallman
  0 siblings, 0 replies; 4+ messages in thread
From: Richard M. Stallman @ 2005-11-03 21:41 UTC (permalink / raw)
  Cc: emacs-devel

That looks fine.  Thanks.

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

end of thread, other threads:[~2005-11-03 21:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-01 13:28 Password prompting in man/misc.texi Jérôme Marant
2005-11-02 10:27 ` Richard M. Stallman
2005-11-02 20:41   ` Jérôme Marant
2005-11-03 21:41     ` Richard M. Stallman

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).