From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: emacs paste password, only pastes one character Date: Fri, 12 Oct 2012 17:29:03 -0500 Organization: NewsGuy - Unlimited Usenet $19.95 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1350081018 24290 80.91.229.3 (12 Oct 2012 22:30:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Oct 2012 22:30:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 13 00:30:25 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TMnkM-0007Up-BD for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Oct 2012 00:30:22 +0200 Original-Received: from localhost ([::1]:38849 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMnkD-0001eg-Ky for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Oct 2012 18:30:13 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!news3 Original-Newsgroups: gnu.emacs.help Original-Lines: 41 Original-NNTP-Posting-Host: p8ad62d8db24b0f29c54ab3ba74254af405dcd683c8c3942d.newsdawg.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 In-Reply-To: X-Received-Bytes: 2131 Original-Xref: usenet.stanford.edu gnu.emacs.help:194888 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87221 Archived-At: Die Thu Oct 11 2012 21:29:52 GMT-0500 (Central Daylight Time) John Owens scripsit: > 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 . Does the password ever get longer than one character? The end of the (while ....) form always truncates the rightmost character. If that's not the answer, then look at " (set-clipboard-coding-system CODING-SYSTEM) Make CODING-SYSTEM used for communicating with other X clients. When sending or receiving text via cut_buffer, selection " I learned here that that variable should not be utf-8 in w32. I don't know what it should be under OS-X. Ed > > Happy to get any thoughts on how to trick emacs into accepting the > entire password! > > JDO > > >