From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Hide passwords? Date: Wed, 15 Sep 2010 10:29:12 +0200 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1291866469 32745 80.91.229.12 (9 Dec 2010 03:47:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 03:47:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 04:47:45 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQXTq-0005aZ-25 for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 04:47:42 +0100 Original-Received: from localhost ([127.0.0.1]:60091 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQXTp-0005DV-DM for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 22:47:41 -0500 Original-Path: usenet.stanford.edu!news.glorb.com!news2.glorb.com!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Injection-Date: Wed, 15 Sep 2010 08:29:13 +0000 (UTC) Injection-Info: mx01.eternal-september.org; posting-host="xDHsy1x9NE+TbkG1x7hofg"; logging-data="20307"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18saP5kSR9x73vjaq9G60Ry" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:0HA1jnc5PCULvKiOmVi4oRU5LC8= sha1:tPIQGCFF93m40JaE7CPmx9UhXpk= Original-Xref: usenet.stanford.edu gnu.emacs.help:181318 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76578 Archived-At: > Is it possible to have passwords hidden? >From where? If you enter a password interactively (e.g. in a shell, or for Tramp, ...) then Emcs should already try to do that for you. > Something like this: > * I mark up a password using square brackets: [secret] > * The marked up password is hidden: ******** > * When I copy a region containing the hidden password, the password > ends up in plain-text in the kill ring! So you mean the password is in a file and you want to write a new mode specific to that kind of file where the password is not displayed (but kill&yank still copy the real text)? That's easy to do, yes. Stefan