From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Josh Newsgroups: gmane.emacs.bugs Subject: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1 Date: Tue, 5 Mar 2013 15:19:48 -0800 Message-ID: References: <988801E5-2282-4367-A46E-7A05A63069AD@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1362525658 25299 80.91.229.3 (5 Mar 2013 23:20:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Mar 2013 23:20:58 +0000 (UTC) Cc: 13790@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 06 00:21:22 2013 Return-path: Envelope-to: geb-bug-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 1UD1Ag-00028u-1J for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Mar 2013 00:21:22 +0100 Original-Received: from localhost ([::1]:39578 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UD1AK-0001j1-FM for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Mar 2013 18:21:00 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:52537) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UD1AB-0001el-Ea for bug-gnu-emacs@gnu.org; Tue, 05 Mar 2013 18:20:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UD1A5-0001qh-C4 for bug-gnu-emacs@gnu.org; Tue, 05 Mar 2013 18:20:51 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UD1A5-0001qV-2F for bug-gnu-emacs@gnu.org; Tue, 05 Mar 2013 18:20:45 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UD1AP-0000Xu-HU for bug-gnu-emacs@gnu.org; Tue, 05 Mar 2013 18:21:07 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Josh Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Mar 2013 23:21:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13790 X-GNU-PR-Package: emacs,ns X-GNU-PR-Keywords: moreinfo unreproducible Original-Received: via spool by 13790-submit@debbugs.gnu.org id=B13790.13625256632087 (code B ref 13790); Tue, 05 Mar 2013 23:21:05 +0000 Original-Received: (at 13790) by debbugs.gnu.org; 5 Mar 2013 23:21:03 +0000 Original-Received: from localhost ([127.0.0.1]:33234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UD1AD-0000XK-1n for submit@debbugs.gnu.org; Tue, 05 Mar 2013 18:21:03 -0500 Original-Received: from mail-qe0-f42.google.com ([209.85.128.42]:45842) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UD1A7-0000X4-38 for 13790@debbugs.gnu.org; Tue, 05 Mar 2013 18:20:51 -0500 Original-Received: by mail-qe0-f42.google.com with SMTP id f6so5062884qej.29 for <13790@debbugs.gnu.org>; Tue, 05 Mar 2013 15:20:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=EbVt3Opr9SAUOJib4wAQ4FUfoa5EPxNfPPYF3Gj7H0s=; b=iCDDzC53wu/KsQiWFdYqhtfOcN8pLBYAzIteyYDGA9k7mTRDTAGmnZn2GylkWWcVu6 Q4Jk6M6dwPqel6L5T4MOT3+03ZIyvfM1WkqDdUADCDHnqeDqv/xshy61ZdEmfy2MeevL 9YCCUfG+YLKC6kMjIMBSFBu013M0dsiPR4tf1HMyjOX3/siksWrLgZdt1ebOn9IIOZhF mi+jrgVZkXt+7X+k6wxB9P45F1tXPNewY/rg528p3WO1Y7VL4Fyp9TYmqDDEMd3wpuRB 62ZXYX+wWlxaqPgoy4EVpiUAXPO6ppKe+36UAcRKrpjxWiJizyy5IiFERtIXdjntZ4XP y4hw== X-Received: by 10.49.120.225 with SMTP id lf1mr44011895qeb.14.1362525618793; Tue, 05 Mar 2013 15:20:18 -0800 (PST) Original-Received: by 10.49.39.135 with HTTP; Tue, 5 Mar 2013 15:19:48 -0800 (PST) In-Reply-To: <988801E5-2282-4367-A46E-7A05A63069AD@swipnet.se> X-Google-Sender-Auth: rsx5Q4J2EqZQTbPRiwTSx-T315k X-Gm-Message-State: ALoCoQl37Kyks7lG7LkdLMBCV9aNqDRJ+BAhLXMXQ/kwB/bh6HNXHqpjCL4Xk18KpFccjP/wk0rn X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:72144 Archived-At: On Tue, Mar 5, 2013 at 1:46 PM, Jan Dj=E4rv wrote: > 5 mar 2013 kl. 21:13 skrev Glenn Morris : >> Andrew Pennebaker wrote: >> >>> I can paste into emacs using Mac OS X's Command+V shortcut, but when I = try >>> to paste text using the standard C-y command, Emacs says: >>> >>> Kill ring is empty >> >> Anyone with Mac OS X know whether/how this is supposed to work? I use the following to integrate the OS X clipboard into Emacs: (setq interprogram-cut-function 'paste-to-osx interprogram-paste-function 'copy-from-osx) (defun copy-from-osx () (let ((coding-system-for-read 'utf-8)) (shell-command-to-string "pbpaste"))) (defun paste-to-osx (text &optional push) (let ((process-connection-type nil)) (let ((proc (start-process "pbcopy" "*Messages*" "pbcopy"))) (set-process-sentinel proc 'ignore) ;; stifle noise in *Messages* (process-send-string proc text) (process-send-eof proc))) text)