From unknown Fri Aug 15 15:56:14 2025 X-Loop: don@donarmstrong.com Subject: bug#1104: [emacs-w3m:10380] Re: pasting a password Reply-To: jidanni@jidanni.org, 1104@debbugs.gnu.org Resent-From: jidanni@jidanni.org Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 07 Oct 2008 04:35:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1104 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122335362028716 (code B ref -1); Tue, 07 Oct 2008 04:35:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.2 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 7 Oct 2008 04:27:00 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m974QvGM028710 for ; Mon, 6 Oct 2008 21:26:58 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kn49x-0000q7-4b for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 00:26:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kn49v-0000pt-Ta for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 00:26:56 -0400 Received: from [199.232.76.173] (port=57059 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kn49v-0000pq-No for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 00:26:55 -0400 Received: from lax-green-bigip-5.dreamhost.com ([208.113.200.5]:46554 helo=blingymail-a1.g.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kn49v-00068a-GR for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 00:26:55 -0400 Received: from jidanni1.jidanni.org (122-127-39-77.dynamic.hinet.net [122.127.39.77]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by blingymail-a1.g.dreamhost.com (Postfix) with ESMTP id 6F2195CE77; Mon, 6 Oct 2008 21:26:50 -0700 (PDT) To: bug-gnu-emacs@gnu.org Cc: emacs-w3m@namazu.org References: From: jidanni@jidanni.org Date: Tue, 07 Oct 2008 12:26:47 +0800 Message-ID: <87r66t114o.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) Dear bug-gnu-emacs: The challenge: attempt to paste this password into the w3m password entry field. >>>>> "DW" == Debian Wiki writes: DW> Somebody has requested to submit your account data to this email address. DW> If you lost your password, please use the data below and just enter the DW> password AS SHOWN into the wiki's password form field (use copy and paste DW> for that). DW> After successfully logging in, it is of course a good idea to set a new and known password. DW> Login Name: myname DW> Login Password: {SHA}reallylongsodontaskmetotypeitinbyhandplease DW> Login URL: http://wiki.debian.org/UserPreferences The problem is C-y is just read as a raw character there at the mini buffer Password: prompt. emacs-w3m-version "1.4.263". >>>>> "KY" == Katsumi Yamaoka writes: KY> That's what `read-passwd' that is an Emacs function does. In KY> the function definition, the special keys that it handles are KY> only C-h, C-u and C-? (see the doc string). OK, sending to bug-gnu-emacs. emacs-version "22.2.1". From unknown Fri Aug 15 15:56:14 2025 X-Loop: don@donarmstrong.com Subject: bug#1104: pasting a password Reply-To: Chong Yidong , 1104@debbugs.gnu.org Resent-From: Chong Yidong Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 16 Nov 2008 06:10:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1104 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1104-submit@emacsbugs.donarmstrong.com id=B1104.122681526925322 (code B ref 1104); Sun, 16 Nov 2008 06:10:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.0 required=4.0 tests=AWL,BAYES_00, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1104) by emacsbugs.donarmstrong.com; 16 Nov 2008 06:01:09 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAG616Mb025316 for <1104@emacsbugs.donarmstrong.com>; Sat, 15 Nov 2008 22:01:07 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id 4CF3657E04B; Sun, 16 Nov 2008 01:01:21 -0500 (EST) From: Chong Yidong To: emacs-devel@gnu.org Cc: 1104@debbugs.gnu.org, jidanni@jidanni.org Date: Sun, 16 Nov 2008 01:01:21 -0500 Message-ID: <87skpsw6oe.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > DW> Login Name: myname > > DW> Login Password: {SHA}reallylongsodontaskmetotypeitinbyhandplease > > DW> Login URL: http://wiki.debian.org/UserPreferences > > The problem is C-y is just read as a raw character there at the > mini buffer Password: prompt. emacs-w3m-version "1.4.263". > > KY> That's what `read-passwd' that is an Emacs function does. In > KY> the function definition, the special keys that it handles are > KY> only C-h, C-u and C-? (see the doc string). The following patch allows yanking into the password prompt (I haven't changed the docstring of read-passwd, which needs doing). What do people think about the advisability of this? Note, in particular, that we can detect any key that performs yank or yank-pop by using `key-binding'---but it works only if the command is a single-character key sequence. That's fine for C-y, but fails if the user has customized `yank' to a two-character sequence. I don't see any way around this, though. Another shortcoming is that the user can no longer enter a literal C-y; but this may be a negligble problem---currently, the user can't enter C-u either, since C-u clears the field. *** trunk/lisp/subr.el.~1.620.~ 2008-11-06 01:49:41.000000000 -0500 --- trunk/lisp/subr.el 2008-11-16 00:48:31.000000000 -0500 *************** *** 1818,1838 **** (setq c (read-char-exclusive nil t)) (and (/= c ?\r) (/= c ?\n) (/= c ?\e))) (clear-this-command-keys) ! (if (= c ?\C-u) ! (progn ! (and (arrayp pass) (clear-string pass)) ! (setq pass "")) ! (if (and (/= c ?\b) (/= c ?\177)) ! (let* ((new-char (char-to-string c)) ! (new-pass (concat pass new-char))) ! (and (arrayp pass) (clear-string pass)) ! (clear-string new-char) ! (setq c ?\0) ! (setq pass new-pass)) ! (if (> (length pass) 0) ! (let ((new-pass (substring pass 0 -1))) ! (and (arrayp pass) (clear-string pass)) ! (setq pass new-pass)))))) (message nil) (or pass default ""))))) --- 1818,1845 ---- (setq c (read-char-exclusive nil t)) (and (/= c ?\r) (/= c ?\n) (/= c ?\e))) (clear-this-command-keys) ! (cond ((= c ?\C-u) ! (and (arrayp pass) (clear-string pass)) ! (setq pass "")) ! ((memq (key-binding (vector c)) ! '(yank yank-pop)) ! (let ((new-pass (concat pass ! (substring-no-properties ! (current-kill 0))))) ! (and (arrayp pass) (clear-string pass)) ! (setq c ?\0) ! (setq pass new-pass))) ! ((and (/= c ?\b) (/= c ?\177)) ! (let* ((new-char (char-to-string c)) ! (new-pass (concat pass new-char))) ! (and (arrayp pass) (clear-string pass)) ! (clear-string new-char) ! (setq c ?\0) ! (setq pass new-pass))) ! ((> (length pass) 0) ! (let ((new-pass (substring pass 0 -1))) ! (and (arrayp pass) (clear-string pass)) ! (setq pass new-pass))))) (message nil) (or pass default ""))))) Diff finished. Sun Nov 16 00:51:53 2008 From unknown Fri Aug 15 15:56:14 2025 X-Loop: don@donarmstrong.com Subject: bug#1104: pasting a password Reply-To: Andreas Schwab , 1104@debbugs.gnu.org Resent-From: Andreas Schwab Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 16 Nov 2008 08:45:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1104 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1104-submit@emacsbugs.donarmstrong.com id=B1104.122682469431877 (code B ref 1104); Sun, 16 Nov 2008 08:45:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-11.5 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_HI autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1104) by emacsbugs.donarmstrong.com; 16 Nov 2008 08:38:14 +0000 Received: from mx1.suse.de (cantor.suse.de [195.135.220.2]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAG8cB9e031871 for <1104@emacsbugs.donarmstrong.com>; Sun, 16 Nov 2008 00:38:12 -0800 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id ECECE429DB; Sun, 16 Nov 2008 09:38:09 +0100 (CET) From: Andreas Schwab To: Chong Yidong Cc: emacs-devel@gnu.org, 1104@debbugs.gnu.org, jidanni@jidanni.org References: <87skpsw6oe.fsf@cyd.mit.edu> X-Yow: Hello. I know the divorce rate among unmarried Catholic Alaskan females!! Date: Sun, 16 Nov 2008 09:38:08 +0100 In-Reply-To: <87skpsw6oe.fsf@cyd.mit.edu> (Chong Yidong's message of "Sun, 16 Nov 2008 01:01:21 -0500") Message-ID: User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Chong Yidong writes: > --- 1818,1845 ---- > (setq c (read-char-exclusive nil t)) > (and (/= c ?\r) (/= c ?\n) (/= c ?\e))) > (clear-this-command-keys) > ! (cond ((= c ?\C-u) > ! (and (arrayp pass) (clear-string pass)) > ! (setq pass "")) > ! ((memq (key-binding (vector c)) > ! '(yank yank-pop)) That does not work for yank-pop since the default binding is not a single character one. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From unknown Fri Aug 15 15:56:14 2025 X-Loop: don@donarmstrong.com Subject: bug#1104: pasting a password Reply-To: Chong Yidong , 1104@debbugs.gnu.org Resent-From: Chong Yidong Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 16 Nov 2008 16:15:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1104 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1104-submit@emacsbugs.donarmstrong.com id=B1104.122685166915532 (code B ref 1104); Sun, 16 Nov 2008 16:15:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.0 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1104) by emacsbugs.donarmstrong.com; 16 Nov 2008 16:07:49 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAGG7lOb015526 for <1104@emacsbugs.donarmstrong.com>; Sun, 16 Nov 2008 08:07:48 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id 0C81C57E1C8; Sun, 16 Nov 2008 11:08:02 -0500 (EST) From: Chong Yidong To: Andreas Schwab Cc: emacs-devel@gnu.org, 1104@debbugs.gnu.org, jidanni@jidanni.org References: <87skpsw6oe.fsf@cyd.mit.edu> Date: Sun, 16 Nov 2008 11:08:02 -0500 In-Reply-To: (Andreas Schwab's message of "Sun, 16 Nov 2008 09:38:08 +0100") Message-ID: <873ahrbqn1.fsf@cyd.mit.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Andreas Schwab writes: > That does not work for yank-pop since the default binding is not a > single character one. Yeah. Maybe we should just hardwire C-y to yank into the password prompt, and leave it at that. From unknown Fri Aug 15 15:56:14 2025 X-Loop: don@donarmstrong.com Subject: bug#1104: pasting a password Reply-To: Stefan Monnier , 1104@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 16 Nov 2008 19:30:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1104 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1104-submit@emacsbugs.donarmstrong.com id=B1104.122686326131729 (code B ref 1104); Sun, 16 Nov 2008 19:30:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.3 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1104) by emacsbugs.donarmstrong.com; 16 Nov 2008 19:21:01 +0000 Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAGJKvxT031723 for <1104@emacsbugs.donarmstrong.com>; Sun, 16 Nov 2008 11:20:59 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhIFAC8BIElMCrcy/2dsb2JhbACBbMIbiHCCAHmBFA X-IronPort-AV: E=Sophos;i="4.33,614,1220241600"; d="scan'208";a="29937601" Received: from 76-10-183-50.dsl.teksavvy.com (HELO ceviche.home) ([76.10.183.50]) by ironport2-out.teksavvy.com with ESMTP; 16 Nov 2008 14:20:52 -0500 Received: by ceviche.home (Postfix, from userid 20848) id D8FB6B4050; Sun, 16 Nov 2008 14:21:18 -0500 (EST) From: Stefan Monnier To: Andreas Schwab Cc: Chong Yidong , 1104@debbugs.gnu.org, jidanni@jidanni.org, emacs-devel@gnu.org Message-ID: References: <87skpsw6oe.fsf@cyd.mit.edu> Date: Sun, 16 Nov 2008 14:21:18 -0500 In-Reply-To: (Andreas Schwab's message of "Sun, 16 Nov 2008 09:38:08 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > That does not work for yank-pop since the default binding is not a > single character one. It's bound to a single-event sequence, namely M-y. Now, it's true that in several circumstances, M-y will be turned into ESC y, so it will only work in some cases and not all (typically it'll work in a GUI but not in a tty). I think to do it better, we'll need to use an implementation technique closer to the one used by isearch. Stefan From unknown Fri Aug 15 15:56:14 2025 X-Loop: don@donarmstrong.com Subject: bug#1104: pasting a password Reply-To: jidanni@jidanni.org, 1104@debbugs.gnu.org Resent-From: jidanni@jidanni.org Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 16 Nov 2008 21:05:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1104 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1104-submit@emacsbugs.donarmstrong.com id=B1104.122686896523422 (code B ref 1104); Sun, 16 Nov 2008 21:05:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.4 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1104) by emacsbugs.donarmstrong.com; 16 Nov 2008 20:56:05 +0000 Received: from homiemail-a1.g.dreamhost.com (balanced.mail.policyd.dreamhost.com [208.97.132.119]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAGKu3b3023416 for <1104@emacsbugs.donarmstrong.com>; Sun, 16 Nov 2008 12:56:04 -0800 Received: from jidanni1.jidanni.org (122-127-32-90.dynamic.hinet.net [122.127.32.90]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a1.g.dreamhost.com (Postfix) with ESMTP id 9F97D119DEF; Sun, 16 Nov 2008 12:56:01 -0800 (PST) To: monnier@iro.umontreal.ca Cc: schwab@suse.de, cyd@stupidchicken.com, 1104@debbugs.gnu.org, emacs-devel@gnu.org References: From: jidanni@jidanni.org Date: Mon, 17 Nov 2008 04:55:58 +0800 Message-ID: <87ljvj75lt.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Regarding those mile long one-time passwords that we are supposed to paste into our browsers, etc.: Some people also wish to paste the password into the box with the mouse too (middle button). Therefore please roll back all that extra security, and just do the plain echo asterisks, like firefox or whatever. Speaking about M-y. I am a old dog who still types ESC instead of Meta-key for the M- stuff -- never learned new tricks. From unknown Fri Aug 15 15:56:14 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: jidanni@jidanni.org Subject: bug#1104 closed by Chong Yidong (Re: pasting a password) Message-ID: References: <877i737529.fsf@cyd.mit.edu> <87r66t114o.fsf@jidanni.org> X-Emacs-PR-Message: they-closed 1104 X-Emacs-PR-Package: emacs Reply-To: 1104@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1226870103-27957-1" This is a multi-part message in MIME format... ------------=_1226870103-27957-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #1104: [emacs-w3m:10380] Re: pasting a password It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 1104: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D1104 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1226870103-27957-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From cyd@stupidchicken.com Sun Nov 16 13:07:29 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.0 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1104-done) by emacsbugs.donarmstrong.com; 16 Nov 2008 21:07:29 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAGL7QiQ026630 for <1104-done@emacsbugs.donarmstrong.com>; Sun, 16 Nov 2008 13:07:28 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id 2BB8E57E1C8; Sun, 16 Nov 2008 16:07:42 -0500 (EST) From: Chong Yidong To: jidanni@jidanni.org Cc: monnier@iro.umontreal.ca, schwab@suse.de, 1104-done@debbugs.gnu.org, emacs-devel@gnu.org Subject: Re: pasting a password References: <87ljvj75lt.fsf@jidanni.org> Date: Sun, 16 Nov 2008 16:07:42 -0500 In-Reply-To: <87ljvj75lt.fsf@jidanni.org> (jidanni@jidanni.org's message of "Mon, 17 Nov 2008 04:55:58 +0800") Message-ID: <877i737529.fsf@cyd.mit.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii jidanni@jidanni.org writes: > Regarding those mile long one-time passwords that we are supposed to > paste into our browsers, etc.: > > Some people also wish to paste the password into the box with the > mouse too (middle button). Therefore please roll back all that extra > security, and just do the plain echo asterisks, like firefox or > whatever. > > Speaking about M-y. I am a old dog who still types ESC instead of > Meta-key for the M- stuff -- never learned new tricks. I added a C-y binding to read-passwd. More complicated stuff, such as allowing mouse pastes, will have to wait for a isearch-like rewrite of read-passwd, as Stefan said. (Also, we should probably document the keybindings that can be used to enter passwords into the Emacs manual. I'll add a new node for it.) ------------=_1226870103-27957-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From jidanni@jidanni.org Mon Oct 6 21:27:00 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.2 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 7 Oct 2008 04:27:00 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m974QvGM028710 for ; Mon, 6 Oct 2008 21:26:58 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kn49x-0000q7-4b for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 00:26:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kn49v-0000pt-Ta for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 00:26:56 -0400 Received: from [199.232.76.173] (port=57059 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kn49v-0000pq-No for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 00:26:55 -0400 Received: from lax-green-bigip-5.dreamhost.com ([208.113.200.5]:46554 helo=blingymail-a1.g.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kn49v-00068a-GR for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 00:26:55 -0400 Received: from jidanni1.jidanni.org (122-127-39-77.dynamic.hinet.net [122.127.39.77]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by blingymail-a1.g.dreamhost.com (Postfix) with ESMTP id 6F2195CE77; Mon, 6 Oct 2008 21:26:50 -0700 (PDT) To: bug-gnu-emacs@gnu.org Cc: emacs-w3m@namazu.org Subject: Re: [emacs-w3m:10380] Re: pasting a password References: From: jidanni@jidanni.org Date: Tue, 07 Oct 2008 12:26:47 +0800 Message-ID: <87r66t114o.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) Dear bug-gnu-emacs: The challenge: attempt to paste this password into the w3m password entry field. >>>>> "DW" == Debian Wiki writes: DW> Somebody has requested to submit your account data to this email address. DW> If you lost your password, please use the data below and just enter the DW> password AS SHOWN into the wiki's password form field (use copy and paste DW> for that). DW> After successfully logging in, it is of course a good idea to set a new and known password. DW> Login Name: myname DW> Login Password: {SHA}reallylongsodontaskmetotypeitinbyhandplease DW> Login URL: http://wiki.debian.org/UserPreferences The problem is C-y is just read as a raw character there at the mini buffer Password: prompt. emacs-w3m-version "1.4.263". >>>>> "KY" == Katsumi Yamaoka writes: KY> That's what `read-passwd' that is an Emacs function does. In KY> the function definition, the special keys that it handles are KY> only C-h, C-u and C-? (see the doc string). OK, sending to bug-gnu-emacs. emacs-version "22.2.1". ------------=_1226870103-27957-1--