[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hide passwords?
From: |
Stefan Monnier |
Subject: |
Re: Hide passwords? |
Date: |
Wed, 08 Dec 2010 15:28:36 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> 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