From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-15?Q?J=E9r=F4me_Marant?= Newsgroups: gmane.emacs.devel Subject: Re: Password prompting in man/misc.texi Date: Wed, 02 Nov 2005 21:41:56 +0100 Message-ID: <87wtjq6auj.fsf@marant.org> References: <87mzkozedo.fsf@marant.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1130964206 30025 80.91.229.2 (2 Nov 2005 20:43:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 Nov 2005 20:43:26 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 02 21:43:25 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EXPRE-00017n-Bz for ged-emacs-devel@m.gmane.org; Wed, 02 Nov 2005 21:42:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EXPRD-0006Gz-QQ for ged-emacs-devel@m.gmane.org; Wed, 02 Nov 2005 15:42:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EXPQz-0006Ge-Lr for emacs-devel@gnu.org; Wed, 02 Nov 2005 15:42:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EXPQy-0006GI-T9 for emacs-devel@gnu.org; Wed, 02 Nov 2005 15:42:13 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EXPQy-0006G7-Ct for emacs-devel@gnu.org; Wed, 02 Nov 2005 15:42:12 -0500 Original-Received: from [212.27.42.29] (helo=smtp3-g19.free.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EXPQw-0003ir-Nb; Wed, 02 Nov 2005 15:42:10 -0500 Original-Received: from amboise (mol92-4-82-227-97-206.fbx.proxad.net [82.227.97.206]) by smtp3-g19.free.fr (Postfix) with ESMTP id 9982336321; Wed, 2 Nov 2005 21:42:09 +0100 (CET) Original-Received: by amboise (Postfix, from userid 1000) id A68402C03F; Wed, 2 Nov 2005 21:41:57 +0100 (CET) Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Wed, 02 Nov 2005 05:27:39 -0500") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:45311 Archived-At: "Richard M. Stallman" writes: > Few months ago, comint-watch-for-password-prompt has been added by de= fault > 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=E9r=F4me Marant + + * misc.texi (Shell Mode): Describe how to activate password + echoing. + 2005-11-01 Bill Wohler =20 * 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. =20 -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: =20 @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 =20 @item M-x comint-continue-subjob --=20 J=E9r=F4me Marant