Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!nike!ucbcad!ucbvax!cartan!brahms!weemba From: weemba@brahms (Matthew P Wiener) Newsgroups: net.emacs Subject: Re: getpass needed Message-ID: <89@cartan.Berkeley.EDU> Date: Sat, 25-Oct-86 04:41:28 EST Article-I.D.: cartan.89 Posted: Sat Oct 25 04:41:28 1986 Date-Received: Sun, 26-Oct-86 01:18:28 EST References: <6431@topaz.RUTGERS.EDU> <69@cartan.Berkeley.EDU> Sender: daemon@cartan.Berkeley.EDU Reply-To: weemba@brahms.BERKELEY.EDU (Matthew P Wiener) Organization: University of California, Berkeley Lines: 19 Summary: Expires: Sender: Followup-To: Distribution: Keywords: The version of read-string-no-echo I recently posted used a sparse keymap, which is a pretty dumb butt thing to do for this application. So change the first several lines, the ones defining the keymap, to the following: (setq minibuffer-local-no-echo-map (vconcat (make-vector ?\040 nil) (make-vector ?\140 'read-char-no-echo))) (mapcar '(lambda (x) (aset minibuffer-local-no-echo-map (car x) (cdr x))) (cdr minibuffer-local-map)) (aset minibuffer-local-no-echo-map ?\177 'delete-char-no-echo) This will load and run quicker. Hopefully beginners might gain something by comparing the two, so please excuse the repetition. ucbvax!brahms!weemba Matthew P Wiener/UCB Math Dept/Berkeley CA 94720 Hark! The herald angels sing / Beechan's pills are just the thing. Peace on earth and mercy mild / Two for man and one for child.