From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1 Date: Wed, 6 Mar 2013 19:54:40 +0100 Message-ID: References: <988801E5-2282-4367-A46E-7A05A63069AD@swipnet.se> <1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1362596148 23279 80.91.229.3 (6 Mar 2013 18:55:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Mar 2013 18:55:48 +0000 (UTC) Cc: "13790@debbugs.gnu.org" <13790@debbugs.gnu.org> To: Josh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 06 19:56:10 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 1UDJVZ-0000UP-7J for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Mar 2013 19:56:09 +0100 Original-Received: from localhost ([::1]:57142 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDJVD-0004Ay-Jo for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Mar 2013 13:55:47 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:43059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDJV6-00048A-2B for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2013 13:55:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDJV1-0005ca-PE for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2013 13:55:39 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDJV1-0005cS-Ms for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2013 13:55:35 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UDJVS-0005zN-FR for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2013 13:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Mar 2013 18:56:02 +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.136259611822965 (code B ref 13790); Wed, 06 Mar 2013 18:56:02 +0000 Original-Received: (at 13790) by debbugs.gnu.org; 6 Mar 2013 18:55:18 +0000 Original-Received: from localhost ([127.0.0.1]:34714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UDJUj-0005yK-7T for submit@debbugs.gnu.org; Wed, 06 Mar 2013 13:55:18 -0500 Original-Received: from mailout.melmac.se ([62.20.26.67]:56584) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UDJUd-0005xz-36 for 13790@debbugs.gnu.org; Wed, 06 Mar 2013 13:55:15 -0500 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id E0DAE92D4 for <13790@debbugs.gnu.org>; Wed, 6 Mar 2013 19:54:36 +0100 (CET) Original-Received: (qmail 2522 invoked by uid 89); 6 Mar 2013 18:54:36 -0000 Original-Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 6 Mar 2013 18:54:36 -0000 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 94AE37FA06C; Wed, 6 Mar 2013 19:54:36 +0100 (CET) In-Reply-To: X-Mailer: Apple Mail (2.1499) 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:72172 Archived-At: Hello. 6 mar 2013 kl. 16:54 skrev Josh : > On Wed, Mar 6, 2013 at 1:34 AM, Jan Dj=E4rv = wrote: >> Hello. >>=20 >> I don't see what you gain by doing this compared to the builtin = integration. >> If you remove your code, what does not work wrt copy/paste? >>=20 >> Jan D. >=20 > -nw sessions. >=20 Yank from the clipboard is not available in a -nw session. This is in line with how it works with -nw and X11. Not sure about w32 though. There is really no reason to make this work for -nw sessions as you can = always use Command-V. This is not a bug, just a limitation. Jan D. > $ echo 'some content on the OS X clipboard' | pbcopy > $ emacs --batch --eval '(progn (yank) (send-string-to-terminal (format > "yanked text: %s" (buffer-substring (point-min) (point-max)))))' > Mark set > Kill ring is empty > $ # `~/.emacs.d/set-up-osx-clipboard.el' is the snippet I posted = previously > $ emacs --batch -l ~/.emacs.d/set-up-osx-clipboard.el --eval '(progn > (yank) (send-string-to-terminal (format "yanked text: %s" > (buffer-substring (point-min) (point-max)))))' 2>/dev/null > yanked text: some content on the OS X clipboard