From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jose A. Ortega Ruiz" Newsgroups: gmane.emacs.help Subject: Re: Hiding passwords in password file? Date: 07 Dec 2002 15:28:38 +0100 Organization: Using FreeBSD 4.7 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <86d6odoqcp.fsf@gandalf.localdomain> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1039287069 26764 80.91.224.249 (7 Dec 2002 18:51:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 7 Dec 2002 18:51:09 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Kk2c-0006xM-00 for ; Sat, 07 Dec 2002 19:51:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18KjFk-0007Oh-03 for gnu-help-gnu-emacs@m.gmane.org; Sat, 07 Dec 2002 13:00:36 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!103.red-80-33-152.pooles.rima-tde.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 51 Original-NNTP-Posting-Host: 103.red-80-33-152.pooles.rima-tde.net (80.33.152.103) Original-X-Trace: fu-berlin.de 1039271199 30657889 80.33.152.103 (16 [172394]) X-Attribution: jao X-URL: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:107845 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:4399 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4399 "Felix E. Klee" writes: > Hi, > > I store most of my passwords (though the really critical ones are only in my > head) in a large file whose format is roughly as follows: > : > login: > password: > ... > ... hi, a simple way to tackle with this issue is to use outline mode, and write * : ** login: ** password: with -*-mode: outline -*- at the beginning of your password file [0]. add a hook so that, when loadig the file, all tree are colapsed, and emacs will show you just something like: * ... * ... and so on. then, use C-c @ C-e on a site name to expand just that site's info [1] just an idea. cheers, jao [0] if you don't like the '*', you can customize the prefix unix uses for recognizing outline entries by changing the variable 'outline-regexp' [1] google for outline-magic.el for an easierway of expanding/colapsing entries using the TAB key -- Real knowledge is to know the extent of one's ignorance. -Confucius, philosopher and teacher (c. 551-478 BCE)