* emacs paste password, only pastes one character
@ 2012-10-13 2:33 John Owens
2012-10-13 7:17 ` Andreas Schwab
0 siblings, 1 reply; 2+ messages in thread
From: John Owens @ 2012-10-13 2:33 UTC (permalink / raw)
To: emacs-devel
OS X 10.8.2, GNU Emacs 24.2.1.
I read my email in Emacs using the "wanderlust" mailer. I store
passwords in 1Password, and would like to use the "copy" button in
1Password to put the (~20-character) stored password into the
clipboard, then paste it into the request for a password in Emacs. I
have confirmed the clipboard is doing the right thing. However, when I
C-y yank the password from the clipboard into Emacs, it only pastes a
single character. This is annoying; I'd like it to paste the entire
clipboard.
The function that accepts the password is elmo-read-passwd,
http://pastebin.com/3xYGQU5L .
Happy to get any thoughts on how to trick emacs into accepting the
entire password!
[In general it'd be great to persuade emacs to work with 1Password,
which is quite nice.]
JDO
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: emacs paste password, only pastes one character
2012-10-13 2:33 emacs paste password, only pastes one character John Owens
@ 2012-10-13 7:17 ` Andreas Schwab
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2012-10-13 7:17 UTC (permalink / raw)
To: John Owens; +Cc: emacs-devel
John Owens <john_owens@yahoo.com> writes:
> The function that accepts the password is elmo-read-passwd,
> http://pastebin.com/3xYGQU5L .
Obviously this function doesn't paste at all.
> Happy to get any thoughts on how to trick emacs into accepting the
> entire password!
Use read-passwd.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-13 7:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-13 2:33 emacs paste password, only pastes one character John Owens
2012-10-13 7:17 ` Andreas Schwab
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).