Stefan Kangas <stefankangas@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 13790) by debbugs.gnu.org; 10 Jan 2024 11:22:45 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 10 06:22:45 2024 Received: from localhost ([127.0.0.1]:42245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rNWfU-0002nF-VC for submit <at> debbugs.gnu.org; Wed, 10 Jan 2024 06:22:45 -0500 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]:42259) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1rNWfT-0002n0-NA for 13790 <at> debbugs.gnu.org; Wed, 10 Jan 2024 06:22:44 -0500 Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-557c188f313so4896257a12.1 for <13790 <at> debbugs.gnu.org>; Wed, 10 Jan 2024 03:22:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704885750; x=1705490550; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=ZkCV0iTjowrWLbkGt/OhcgcPF1lYdNen6UIW5ByCroc=; b=mXwaQdRv6FwZn2l+NHTz+Hl9ZGVbTjqLa4C5onotLAKIVFT72TgLdOrV2yXybE1dyE pFYxz8d+YIbVW0hv587AmCidyv/OWcTeszcJzEyoaSQF00/gBsYa+WVQL6q2M1EamyO1 3vOXCjpleYOhHcy5377GvJRurpHcQnesP5MDXg/giyQ+k1MK4NvXEhEULVHjFKRGzX2v oJhE8XO64PaxVRPn23sdAWszvg/0kS5PLjuZU4V3jI73J3P/L9I8G3oGNfFxEsDxPZIA T6eR4FL5CETh42SWHY6gZ0xx7D23wQgMzoJ6ABRV1Wtn/h75kpsQAUqkCIsZGkF84UFk XwNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704885750; x=1705490550; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZkCV0iTjowrWLbkGt/OhcgcPF1lYdNen6UIW5ByCroc=; b=dOjb6Pras2Ep6EIeetAwrjmONfCsN0L4EyTkcgIQZoQVzHetp74G4gCEtzlXPiAKhc +cW3QY4hFeZHURnNLfwOm32OM9BMUQM8CMlEkhRUl/dbsz/UV7IedODYNfFEwf/K+O1H TJnfxtDdJQolVIdSEOzXHbrl4obKYgP8nCY4yo9MKMAiXCneqw4ngsvHA0rKzw8wFGRF 324VUiLaO5ttpfM2FlyoCwxtSS8qR6YO/hxC3WCsCP2dA2AGBRR0W2fYK/8xpfy+yW2g 6mmzioWzmRS52TCWQundAj3ZER+M1nyRwRMKeJkU44Xh1QUw8cBK+8642N2/uav73N/2 9Muw== X-Gm-Message-State: AOJu0YyhC7aMo3vwRPx848Dbwzp9Ud21Zg+QNZ8lDGHMHBIZXy65UZuv azFXOfgoBWqnE3AXxtUfnnlhQxcIWwqgdpvQ6/Q= X-Google-Smtp-Source: AGHT+IEXn3x/0rYv+JcPPGCZGE/B/f5/CK0spzqHHUpGPW9qvQ5YGHmekdvKyoBcD/0hqNNutctxxVSZ9r6g94eNXTo= X-Received: by 2002:a50:d59b:0:b0:556:6b8e:e6cc with SMTP id v27-20020a50d59b000000b005566b8ee6ccmr499512edi.35.1704885750582; Wed, 10 Jan 2024 03:22:30 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 10 Jan 2024 03:22:30 -0800 From: Stefan Kangas <stefankangas@HIDDEN> In-Reply-To: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN> (Andrew Pennebaker's message of "Fri, 22 Feb 2013 17:40:20 -0500") References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN> MIME-Version: 1.0 Date: Wed, 10 Jan 2024 03:22:30 -0800 Message-ID: <CADwFkmkHiQ+drGEG4X0d8Jb966O1L5dJCUijyaKPXFvEatVVSQ@HIDDEN> Subject: Re: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1 To: Andrew Pennebaker <andrew.pennebaker@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 13790 Cc: 13790 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Andrew Pennebaker <andrew.pennebaker@HIDDEN> writes: > 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 That was 10 years ago, so I'm reaching out to see if this is still an issue on a modern version of Emacs. Many changes have happened since. I can't reproduce this myself. If I don't hear back from you within a couple of months, Ill just assume that this has been fixed and close this bug. Thanks in advance.
bug-gnu-emacs@HIDDEN
:bug#13790
; Package emacs
.
Full text available.npostavs@HIDDEN
to control <at> debbugs.gnu.org
.
Full text available.Alan Third <alan@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Lars Ingebrigtsen <larsi@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Lars Ingebrigtsen <larsi@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 13790) by debbugs.gnu.org; 6 Sep 2013 12:29:07 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 06 08:29:07 2013 Received: from localhost ([127.0.0.1]:43498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1VHv9s-00045O-P9 for submit <at> debbugs.gnu.org; Fri, 06 Sep 2013 08:29:05 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:21096) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <monnier@HIDDEN>) id 1VHv9p-00044q-7j for 13790 <at> debbugs.gnu.org; Fri, 06 Sep 2013 08:29:02 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFHO+KK6/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsZJgcLFBgNJByIAgYMwSGRCgOkeoFegxM X-IPAS-Result: Av4EABK/CFHO+KK6/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsZJgcLFBgNJByIAgYMwSGRCgOkeoFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="26647061" Received: from 206-248-162-186.dsl.teksavvy.com (HELO pastel.home) ([206.248.162.186]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 06 Sep 2013 08:25:46 -0400 Received: by pastel.home (Postfix, from userid 20848) id AEE5D66CA6; Fri, 6 Sep 2013 08:28:54 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Leo Liu <sdl.web@HIDDEN> Subject: pbcopy support for xclip.el (was: [ELPA-diffs] ELPA branch, master, updated. afa778dbeac52aed1d1c57a9daadd2eea204bb56) Message-ID: <jwv7geu2ld7.fsf-monnier+emacs@HIDDEN> References: <E1VHOmk-0006ys-UO@HIDDEN> <jwvr4d42bct.fsf-monnier+emacs@HIDDEN> <m14n9ya7cb.fsf@HIDDEN> Date: Fri, 06 Sep 2013 08:28:54 -0400 In-Reply-To: <m14n9ya7cb.fsf@HIDDEN> (Leo Liu's message of "Fri, 06 Sep 2013 12:43:00 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 13790 Cc: Roland Walker <walker@HIDDEN>, 13790 <at> debbugs.gnu.org, Josh <josh@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.3 (/) >> BTW, could you try and integrate the patch that adds support for >> pbcopy/pbpaste under OSX? > I couldn't find any patch on debbugs or emacs-devel Oh, indeed, sorry, I finally found it in bug#13790. > so I have written something to that effect instead. Cool, thank you. I also remember seeing it mentioned somewhere on emacswiki but can't find it any more. I did find http://www.emacswiki.org/emacs/simpleclip.el on the other hand, which does something similar (tho by rebinding keys rather than hooking into Emacs's clipboard machinery, IIUC). Stefan
bug-gnu-emacs@HIDDEN
:bug#13790
; Package emacs,ns
.
Full text available.Received: (at 13790) by debbugs.gnu.org; 13 Apr 2013 17:00:17 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 13 13:00:17 2013 Received: from localhost ([127.0.0.1]:48910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UR3oH-0003DL-Fj for submit <at> debbugs.gnu.org; Sat, 13 Apr 2013 13:00:17 -0400 Received: from mail-qa0-f44.google.com ([209.85.216.44]:50654) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <jlf@HIDDEN>) id 1UR3oD-0003D9-Iu for 13790 <at> debbugs.gnu.org; Sat, 13 Apr 2013 13:00:14 -0400 Received: by mail-qa0-f44.google.com with SMTP id o13so264165qaj.10 for <13790 <at> debbugs.gnu.org>; Sat, 13 Apr 2013 09:56:11 -0700 (PDT) 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 :x-gm-message-state; bh=tTDq/4kfUH9SAYNEI8voTDLFVKk6SCA/xGe33H3/w5A=; b=D2dwwXSKmnQyP7bRXjREK6st60HiksdOVSnS+rIvDAVEISNLBYmCrl9YcvJgrkB2QL LHR0HDqjGTy5p1irX5C9CqrhFJGGdXWGf2wJlm/UCB6mrkkDR8yIlFnYu5Md/hbtzTmY ih0+IggVpS+4vZpKfPsMaEFyFDk4V58wu0aPIxjnGwl3cZeQwBYJEA7OKOxtE9LN/2pG KKnR9IwFuDhC6h7zaRbkHh9MHy8ap5KYjGGh45K8V/urdBG3m+X79l4u34mVibCd/FdS fc2c+25si5aRBKShlcCdEpE+K7LOu2TzRWD/7jXMBNTik2joK0UNcizqOs7l9wJ1FGyt 9adQ== X-Received: by 10.49.11.178 with SMTP id r18mr18554411qeb.56.1365872171704; Sat, 13 Apr 2013 09:56:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.49.42.65 with HTTP; Sat, 13 Apr 2013 09:55:41 -0700 (PDT) In-Reply-To: <jwv4nfhxc6d.fsf-monnier+emacs@HIDDEN> References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN> <ahakpwqnu.fsf@HIDDEN> <988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN> <CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN> <1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@HIDDEN> <CANdFEAEYZX5jBL9VLnQmWGefG-A1uNMK9CC9dVq-Wc3R=OWpLw@HIDDEN> <DBE431CE-0482-4167-A23B-CDB776453179@HIDDEN> <83obew1bub.fsf@HIDDEN> <CANdFEAGE8gEoRn_V5CxsUtau1kPNWbPZjbuYnKVdtirKSdcSJw@HIDDEN> <jwvzjyd73ig.fsf-monnier+emacs@HIDDEN> <CANdFEAEUB9bwYWSAMh9Db9F4BQN1HPrnNzEqYuNHi08vfPEFTg@HIDDEN> <jwvli9r18x6.fsf-monnier+emacs@HIDDEN> <CANdFEAF9btn5TY3_BzYRoaF_RyAJ1HoHDHe97x4RO6_0cDhp6Q@HIDDEN> <jwv4nfhxc6d.fsf-monnier+emacs@HIDDEN> From: Josh <josh@HIDDEN> Date: Sat, 13 Apr 2013 09:55:41 -0700 X-Google-Sender-Auth: lArHnGkrgGgjahgomTXzlR8zcwY Message-ID: <CANdFEAH=gLmzvhY4qS5itEnhoW-kN4ctyTnqPf+y4_x9B8e7dA@HIDDEN> Subject: Re: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1 To: Stefan Monnier <monnier@HIDDEN> Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQm6qU1ltiE88xZztFsetGjM6mcgbUrWALhIQHs15jvxfHsIZ6P3F6TPwK4jNqwaOLyqb6ja X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 13790 Cc: Eli Zaretskii <eliz@HIDDEN>, 13790 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -2.6 (--) Thank you for that helpful (and educational) feedback. I regret that I don't have the bandwidth to take this patch any farther at the moment, but perhaps someone else will take up the task of refining it to behave as expected for each of these use cases. Josh
bug-gnu-emacs@HIDDEN
:bug#13790
; Package emacs,ns
.
Full text available.Received: (at 13790) by debbugs.gnu.org; 8 Apr 2013 16:27:45 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 08 12:27:45 2013 Received: from localhost ([127.0.0.1]:40251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UPEv2-00042I-7t for submit <at> debbugs.gnu.org; Mon, 08 Apr 2013 12:27:44 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:25012) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <monnier@HIDDEN>) id 1UPEuz-00042B-Sh for 13790 <at> debbugs.gnu.org; Mon, 08 Apr 2013 12:27:42 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFxLSu/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOkeoFegxM X-IPAS-Result: Av4EABK/CFFFxLSu/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOkeoFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="6869506" Received: from 69-196-180-174.dsl.teksavvy.com (HELO pastel.home) ([69.196.180.174]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 08 Apr 2013 12:24:04 -0400 Received: by pastel.home (Postfix, from userid 20848) id 8FD0B67ADD; Mon, 8 Apr 2013 12:24:07 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Josh <josh@HIDDEN> Subject: Re: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1 Message-ID: <jwv4nfhxc6d.fsf-monnier+emacs@HIDDEN> References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN> <ahakpwqnu.fsf@HIDDEN> <988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN> <CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN> <1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@HIDDEN> <CANdFEAEYZX5jBL9VLnQmWGefG-A1uNMK9CC9dVq-Wc3R=OWpLw@HIDDEN> <DBE431CE-0482-4167-A23B-CDB776453179@HIDDEN> <83obew1bub.fsf@HIDDEN> <CANdFEAGE8gEoRn_V5CxsUtau1kPNWbPZjbuYnKVdtirKSdcSJw@HIDDEN> <jwvzjyd73ig.fsf-monnier+emacs@HIDDEN> <CANdFEAEUB9bwYWSAMh9Db9F4BQN1HPrnNzEqYuNHi08vfPEFTg@HIDDEN> <jwvli9r18x6.fsf-monnier+emacs@HIDDEN> <CANdFEAF9btn5TY3_BzYRoaF_RyAJ1HoHDHe97x4RO6_0cDhp6Q@HIDDEN> Date: Mon, 08 Apr 2013 12:24:07 -0400 In-Reply-To: <CANdFEAF9btn5TY3_BzYRoaF_RyAJ1HoHDHe97x4RO6_0cDhp6Q@HIDDEN> (josh@HIDDEN's message of "Wed, 3 Apr 2013 10:07:20 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 13790 Cc: Eli Zaretskii <eliz@HIDDEN>, 13790 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -1.9 (-) > Please also review the change to the define-minor-mode form, where I > replaced the use of terminal-init-xterm-hook with direct calls to > turn-{on,off}-xclip. I hadn't heard of this hook before and my > impression after a brief investigation is that these terminal-init > hooks are selected based on the value of TERM Yes. > during initialization :initialization" yes, but of the "terminal" rather than of "emacs". E.g. with "emacsclient -t" you can create more terminals long after Emacs has been initialized. Here's a use case which normally works with xclip.el version 1.0, but is currently broken with your code: - add an unconditional (xclip-mode 1) to your .emacs. - start Emacs with full GUI interface - M-x server-start RET - open an xterm and run "emacsclient -t" - use copy & paste > and then run before user init. No it is done after loading the .emacs file (you can see where `tty-run-terminal-initialization' is called from the `command-line' function in lisp/startup.el). > Also, if my impression that the specific terminal-init hook is > selected based on TERM is correct then I don't see how the current > implementation could be working for users with TERM set to rxvt, > screen, screen-256color, etc. The generic code runs no hook. Instead it calls a function called "terminal-init-<FOO>" where <FOO> is derived from $TERM (you can see how in tty-find-type called from tty-run-terminal-initialization). The function terminal-init-xterm (in lisp/term/xterm.el) runs terminal-init-xterm-hook. `terminal-init-rxvt' (in lisp/term/rxvt.el) and terminal-init-screen (in lisp/term/screen.el) indeed do not run this hook (and don't run any terminal-init-<foo>-hook either), so xclip.el probably doesn't work currently with them :-( We should maybe change tty-run-terminal-initialization to run a `terminal-init-hook' and then xclip.el to use that hook so it also works on terminals other than xterms. > I removed the optional `push' argument to xclip-select-text because it > was unused within the function and also because xclip-select-text is a > target of interprogram-cut-function, whose docstring specifies that > its targets are called with exactly one argument. I can't see why this `push' arg is present, indeed. Oh, wait, I see that x-select-text had such an optional `push' argument in earlier versions of Emacs, so it's either a remnant, or only needed when running xclip.el on Emacs<24. > Enabling xclip-mode by default or at least bundling it with Emacs > seems worthwhile to me because it represents such an improvement to > Emacs' useability for -nw users. As mentioned elsewhere, it strongly depends on your use case. If, like me, you mostly use "emacs -nw" in remote ssh sessions, xclip-mode is undesirable most of the time. > In any case, regardless of whether or not Emacs ships with xclip.el, > mentioning its existence in the empty kill ring error message > encountered by the reporter would spur users to investigate how to > enable or install it. That's an idea, indeed. Here are some further comments: > - "Name of XClip program tool.") > + "Path to the xclip program which provides an interface to the X clipboard.") The GNU convention is to use "path" only to refer to "a list of directories", as in `load-path', $PATH, $MANPATH, ... So "/a/b/c" is not considered a "path" but a "file name". > +(defun xclip-ns-paste () > + "Return the text on the Nextstep/OS X system pasteboard." > + (let ((coding-system-for-read 'utf-8)) > + (shell-command-to-string xclip-ns-paste-program))) I think it's better to use `call-process' here, to avoid the intermediate use of a shell process. > + (t (error "No interface to operating system clipboard found")))) Rather than "operating system" I'd use "window system" or even just "system". That sidesteps the whole issue of whether the GUI is part of the "operating system" and which window-system is considered as "the operating system" when several window-systems are in use at the same time. > + "Minor mode to integrate operating system clipboards with kills and yanks." Same here. But I think this even deserves some additional explanation that it only affects use under text-terminals. > - (add-hook 'terminal-init-xterm-hook 'turn-on-xclip) > - (remove-hook 'terminal-init-xterm-hook 'turn-on-xclip))) > + (turn-on-xclip) > + (turn-off-xclip))) As explained above, this causes trouble. Stefan
bug-gnu-emacs@HIDDEN
:bug#13790
; Package emacs,ns
.
Full text available.Received: (at 13790) by debbugs.gnu.org; 3 Apr 2013 17:11:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 03 13:11:01 2013 Received: from localhost ([127.0.0.1]:60306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UNRDA-0006ho-Nn for submit <at> debbugs.gnu.org; Wed, 03 Apr 2013 13:11:01 -0400 Received: from mail-we0-f180.google.com ([74.125.82.180]:64934) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <jlf@HIDDEN>) id 1UNRD6-0006hc-KK for 13790 <at> debbugs.gnu.org; Wed, 03 Apr 2013 13:10:58 -0400 Received: by mail-we0-f180.google.com with SMTP id r5so1334274wey.11 for <13790 <at> debbugs.gnu.org>; Wed, 03 Apr 2013 10:07:50 -0700 (PDT) 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 :x-gm-message-state; bh=sFVjy8h0wYBjIcNSfCIgym46qkEtC9SKW8LJJw0/gsg=; b=Q66xrVwCD6YZWn5P1JxqfAirHmCQjaz662tYPhhJz8b78AzHk1yUhO6Ru2E5+JwBgV LaDQFc85b06eP/i8m/z69U5LVxu5iE31rPxvEswDZnF9kKg/fGcdaq/K7O7BGsINlCnn DW4ft7AATNOlp4b4958mA+f8AI4QksXrU8iVXVGGJTD3hfzZCG1lB8qkpxGF63ZkLt7z xhME91gE8wOuSF6aLIhLOTv5suk9ku6yMuoV8R1yiymQbI//f0C8wonWPBsKFkad46ET KZnbIT35kxcCV8s8zDZfplJT5a52ysh/JU5f7clQuDyypuvwO8kemM/vdxJlwbn+hHOr awCw== X-Received: by 10.180.98.198 with SMTP id ek6mr4060624wib.7.1365008870502; Wed, 03 Apr 2013 10:07:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.42.137 with HTTP; Wed, 3 Apr 2013 10:07:20 -0700 (PDT) In-Reply-To: <jwvli9r18x6.fsf-monnier+emacs@HIDDEN> References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN> <ahakpwqnu.fsf@HIDDEN> <988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN> <CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN> <1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@HIDDEN> <CANdFEAEYZX5jBL9VLnQmWGefG-A1uNMK9CC9dVq-Wc3R=OWpLw@HIDDEN> <DBE431CE-0482-4167-A23B-CDB776453179@HIDDEN> <83obew1bub.fsf@HIDDEN> <CANdFEAGE8gEoRn_V5CxsUtau1kPNWbPZjbuYnKVdtirKSdcSJw@HIDDEN> <jwvzjyd73ig.fsf-monnier+emacs@HIDDEN> <CANdFEAEUB9bwYWSAMh9Db9F4BQN1HPrnNzEqYuNHi08vfPEFTg@HIDDEN> <jwvli9r18x6.fsf-monnier+emacs@HIDDEN> From: Josh <josh@HIDDEN> Date: Wed, 3 Apr 2013 10:07:20 -0700 X-Google-Sender-Auth: WUeURJe-tPoEBZnWpGbPIZgta7A Message-ID: <CANdFEAF9btn5TY3_BzYRoaF_RyAJ1HoHDHe97x4RO6_0cDhp6Q@HIDDEN> Subject: Re: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1 To: Stefan Monnier <monnier@HIDDEN> Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkHHZ333F/s5cjg7z1OGAxCQLBTxoNWmc901pEMbBGCjHMCLrhESdapWTkyW+559HCMs2BV X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 13790 Cc: Eli Zaretskii <eliz@HIDDEN>, 13790 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -2.6 (--) On Wed, Mar 13, 2013 at 11:04 AM, Stefan Monnier <monnier@HIDDEN> wrote: >> I'd be happy to contribute it, > > Cool. Could you try and make it into a patch to xclip.el, then? OK, I took a stab at it and it seems to work correctly under OS X in -nw mode. I do not have access to a system running X at the moment so someone should verify that the original functionality remains intact. Please also review the change to the define-minor-mode form, where I replaced the use of terminal-init-xterm-hook with direct calls to turn-{on,off}-xclip. I hadn't heard of this hook before and my impression after a brief investigation is that these terminal-init hooks are selected based on the value of TERM during initialization and then run before user init. If that's so then I don't see how adding (xclip-mode 1) to users' .emacs as the commentary suggests could possibly work, since that would cause turn-on-xclip-mode to be added to a hook that had already run. I assume I'm missing something here, but someone more familiar with the init sequence than I am should review the mode enablement implementation. Also, if my impression that the specific terminal-init hook is selected based on TERM is correct then I don't see how the current implementation could be working for users with TERM set to rxvt, screen, screen-256color, etc. I removed the optional `push' argument to xclip-select-text because it was unused within the function and also because xclip-select-text is a target of interprogram-cut-function, whose docstring specifies that its targets are called with exactly one argument. >> Also, I see that xclip.el resides in the GNU ELPA repository. Since >> it's likely that many people using Emacs in -nw mode would like to >> integrate Emacs kill and yank operations with their operating systems' >> clipboards, I wonder if it would be worthwhile for some or all of >> xclip.el's functionality to move into the core. >I don't think xclip-mode can be enabled by default (at least not at >this stage), so the only thing we can improve is to bundle xclip.el with >Emacs, although installing a package from GNU ELPA is simple enough that >the pressure to do that is not very high. Enabling xclip-mode by default or at least bundling it with Emacs seems worthwhile to me because it represents such an improvement to Emacs' useability for -nw users. In any case, regardless of whether or not Emacs ships with xclip.el, mentioning its existence in the empty kill ring error message encountered by the reporter would spur users to investigate how to enable or install it. Note: `xclip.el.orig' below was retrieved from http://elpa.gnu.org/packages/xclip-1.0.el --- xclip.el.orig 2012-11-29 08:41:30.000000000 -0800 +++ xclip.el 2013-04-03 08:40:39.000000000 -0700 @@ -28,7 +28,13 @@ ;;; Code: (defvar xclip-program "xclip" - "Name of XClip program tool.") + "Path to the xclip program which provides an interface to the X clipboard.") + +(defvar xclip-ns-copy-program "pbcopy" + "Path to the pbcopy program, an interface to the Nextstep/OS X clipboard.") + +(defvar xclip-ns-paste-program "pbpaste" + "Path to the pbpaste program, an interface to the Nextstep/OS X clipboard.") (defvar xclip-select-enable-clipboard t "Non-nil means cutting and pasting uses the clipboard. @@ -51,7 +57,7 @@ (process-send-string proc data) (process-send-eof proc)))) -(defun xclip-select-text (text &optional push) +(defun xclip-select-text (text) "See `x-select-text'." (xclip-set-selection 'primary text) (setq xclip-last-selected-text-primary text) @@ -59,6 +65,20 @@ (xclip-set-selection 'clipboard text) (setq xclip-last-selected-text-clipboard text))) +(defun xclip-ns-paste () + "Return the text on the Nextstep/OS X system pasteboard." + (let ((coding-system-for-read 'utf-8)) + (shell-command-to-string xclip-ns-paste-program))) + +(defun xclip-ns-cut (text) + "Send TEXT to the Nextstep/OS X system pasteboard." + (let ((process-connection-type nil)) + (let ((proc (start-process "pbcopy" "*Messages*" xclip-ns-copy-program))) + (set-process-sentinel proc 'ignore) ;; stifle noise in *Messages* + (process-send-string proc text) + (process-send-eof proc))) + text) + (defun xclip-selection-value () "See `x-cut-buffer-or-selection-value'." (when (and (executable-find xclip-program) (getenv "DISPLAY")) @@ -94,8 +114,13 @@ (or clip-text primary-text)))) (defun turn-on-xclip () - (setq interprogram-cut-function 'xclip-select-text) - (setq interprogram-paste-function 'xclip-selection-value)) + (cond ((eq system-type 'darwin) + (setq interprogram-cut-function 'xclip-ns-cut + interprogram-paste-function 'xclip-ns-paste)) + ((getenv "DISPLAY") + (setq interprogram-cut-function 'xclip-select-text + interprogram-paste-function 'xclip-selection-value)) + (t (error "No interface to operating system clipboard found")))) (defun turn-off-xclip () (setq interprogram-cut-function nil) @@ -103,11 +128,11 @@ ;;;###autoload (define-minor-mode xclip-mode - "Minor mode to use the `xclip' program to copy&paste." + "Minor mode to integrate operating system clipboards with kills and yanks." :global t (if xclip-mode - (add-hook 'terminal-init-xterm-hook 'turn-on-xclip) - (remove-hook 'terminal-init-xterm-hook 'turn-on-xclip))) + (turn-on-xclip) + (turn-off-xclip))) ;;;; ChangeLog:
bug-gnu-emacs@HIDDEN
:bug#13790
; Package emacs,ns
.
Full text available.Received: (at 13790) by debbugs.gnu.org; 13 Mar 2013 18:05:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 13 14:05:21 2013 Received: from localhost ([127.0.0.1]:51739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UFq3F-00062X-K4 for submit <at> debbugs.gnu.org; Wed, 13 Mar 2013 14:05:21 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:16986) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <monnier@HIDDEN>) id 1UFq3E-00062N-IE for 13790 <at> debbugs.gnu.org; Wed, 13 Mar 2013 14:05:20 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFHO+KL9/2dsb2JhbABEvw4Xc4IeAQEEAVYeBQULCzQSFBgNEAETiB4GwS2RCgOkeoFegxM X-IPAS-Result: Av8EABK/CFHO+KL9/2dsb2JhbABEvw4Xc4IeAQEEAVYeBQULCzQSFBgNEAETiB4GwS2RCgOkeoFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="4722780" Received: from 206-248-162-253.dsl.teksavvy.com (HELO pastel.home) ([206.248.162.253]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 13 Mar 2013 14:04:06 -0400 Received: by pastel.home (Postfix, from userid 20848) id BC78D67A3B; Wed, 13 Mar 2013 14:04:07 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Josh <josh@HIDDEN> Subject: Re: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1 Message-ID: <jwvli9r18x6.fsf-monnier+emacs@HIDDEN> References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN> <ahakpwqnu.fsf@HIDDEN> <988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN> <CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN> <1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@HIDDEN> <CANdFEAEYZX5jBL9VLnQmWGefG-A1uNMK9CC9dVq-Wc3R=OWpLw@HIDDEN> <DBE431CE-0482-4167-A23B-CDB776453179@HIDDEN> <83obew1bub.fsf@HIDDEN> <CANdFEAGE8gEoRn_V5CxsUtau1kPNWbPZjbuYnKVdtirKSdcSJw@HIDDEN> <jwvzjyd73ig.fsf-monnier+emacs@HIDDEN> <CANdFEAEUB9bwYWSAMh9Db9F4BQN1HPrnNzEqYuNHi08vfPEFTg@HIDDEN> Date: Wed, 13 Mar 2013 14:04:07 -0400 In-Reply-To: <CANdFEAEUB9bwYWSAMh9Db9F4BQN1HPrnNzEqYuNHi08vfPEFTg@HIDDEN> (josh@HIDDEN's message of "Wed, 13 Mar 2013 09:18:08 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 13790 Cc: Eli Zaretskii <eliz@HIDDEN>, 13790 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -1.9 (-) > I'd be happy to contribute it, Cool. Could you try and make it into a patch to xclip.el, then? > Is this code trivial enough that we needn't be concerned about > copyright issues? Pretty much, yes. > Also, I see that xclip.el resides in the GNU ELPA repository. Since > it's likely that many people using Emacs in -nw mode would like to > integrate Emacs kill and yank operations with their operating systems' > clipboards, I wonder if it would be worthwhile for some or all of > xclip.el's functionality to move into the core. I don't think xclip-mode can be enabled by default (at least not at this stage), so the only thing we can improve is to bundle xclip.el with Emacs, although installing a package from GNU ELPA is simple enough that the pressure to do that is not very high. > We could do this by including a few simple wrapper functions such as > the above to provide interfaces to xclip, pbcopy/pbpaste, and whatever > Windows equivalent may exist, and mentioning those functions' > existence in interprogram-cut-function's and > interprogram-paste-function's docstrings. I think the current "Add (xclip-mode 1) in your .emacs" is a better option than expecting people to mess around with their interprogram-*-functions. Stefan
bug-gnu-emacs@HIDDEN
:bug#13790
; Package emacs,ns
.
Full text available.Received: (at 13790) by debbugs.gnu.org; 13 Mar 2013 16:20:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 13 12:20:01 2013 Received: from localhost ([127.0.0.1]:51617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UFoPC-0002g6-NW for submit <at> debbugs.gnu.org; Wed, 13 Mar 2013 12:19:59 -0400 Received: from mail-qe0-f49.google.com ([209.85.128.49]:43362) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <jlf@HIDDEN>) id 1UFoP9-0002fs-3i for 13790 <at> debbugs.gnu.org; Wed, 13 Mar 2013 12:19:52 -0400 Received: by mail-qe0-f49.google.com with SMTP id 1so698514qec.8 for <13790 <at> debbugs.gnu.org>; Wed, 13 Mar 2013 09:18:39 -0700 (PDT) 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 :x-gm-message-state; bh=xVoPiwLOAph+jGgy/YHyP8cqUeTf3x/PHzMvaFjAurQ=; b=S3YEvUZznAcsubtfeuf9CJOwfhcYObnDy0c/1A9BqINlknTsto08XtXwi76jp9DfqQ RD6+89KZbmXdHiRl8qwai7DQNRKFjAHov1YqsvCGOR+Tt7CToPJnuHv4Rhb2ZBiisBkX KzD/5IDwo+U4CMs0xVhs+qYfuA25jCUx3oFFHdVA5DscK43g/mFwyVV/kRaghY3t5nJX 1EIFEnlx0m/s1yCVJ6ls4z5Yx8VdIK/KGGWN3bIRPLJPu5MGsotAEvegqRX62smhyB4i tYc1KP6iSeLdNjfHpHedrDCefz1kywV01mr8XPSCj4DDkWdFmqfOIEnbyRcsCj1AD5+g Cm9g== X-Received: by 10.229.77.35 with SMTP id e35mr2817127qck.80.1363191518821; Wed, 13 Mar 2013 09:18:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.49.94.209 with HTTP; Wed, 13 Mar 2013 09:18:08 -0700 (PDT) In-Reply-To: <jwvzjyd73ig.fsf-monnier+emacs@HIDDEN> References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN> <ahakpwqnu.fsf@HIDDEN> <988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN> <CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN> <1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@HIDDEN> <CANdFEAEYZX5jBL9VLnQmWGefG-A1uNMK9CC9dVq-Wc3R=OWpLw@HIDDEN> <DBE431CE-0482-4167-A23B-CDB776453179@HIDDEN> <83obew1bub.fsf@HIDDEN> <CANdFEAGE8gEoRn_V5CxsUtau1kPNWbPZjbuYnKVdtirKSdcSJw@HIDDEN> <jwvzjyd73ig.fsf-monnier+emacs@HIDDEN> From: Josh <josh@HIDDEN> Date: Wed, 13 Mar 2013 09:18:08 -0700 X-Google-Sender-Auth: bDc6hyHJMR8Btz4QHG6hmK9qUCg Message-ID: <CANdFEAEUB9bwYWSAMh9Db9F4BQN1HPrnNzEqYuNHi08vfPEFTg@HIDDEN> Subject: Re: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1 To: Stefan Monnier <monnier@HIDDEN> Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlRKHwjTP/dgbo8wawx66/tXwiPzH/rHZ/g1nplixLOjf3jNfitVQA5GA8xGPpSSG5fI5M0 X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 13790 Cc: Eli Zaretskii <eliz@HIDDEN>, 13790 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -2.6 (--) On Fri, Mar 8, 2013 at 5:42 PM, Stefan Monnier <monnier@HIDDEN> wrote: >> By default, yes, but this is the precise reason >> interprogram-cut-function and interprogram-paste-function exist. >> pbcopy and pbpaste are the OS X equivalents of xclip, and the snippet >> I pasted provides an interface to them like the interface to xclip >> provided by http://www.emacswiki.org/emacs/xclip.el . Many users are >> unaware of the existence of these variables, which results in >> confusion and the filing of bugs such as this. Users would be more >> likely to discover them if the error messages complaining about an >> empty kill ring in -nw sessions were to mention their existence. > > Indeed. Maybe your patch should be merged with xclip.el? I'd be happy to contribute it, though it's merely a slight modification of a snippet I found on the web years ago, most probably http://web.archive.org/web/20071128072321/http://blog.lathi.net/articles/2007/11/07/sharing-the-mac-clipboard-with-emacs . Is this code trivial enough that we needn't be concerned about copyright issues? Also, I see that xclip.el resides in the GNU ELPA repository. Since it's likely that many people using Emacs in -nw mode would like to integrate Emacs kill and yank operations with their operating systems' clipboards, I wonder if it would be worthwhile for some or all of xclip.el's functionality to move into the core. We could do this by including a few simple wrapper functions such as the above to provide interfaces to xclip, pbcopy/pbpaste, and whatever Windows equivalent may exist, and mentioning those functions' existence in interprogram-cut-function's and interprogram-paste-function's docstrings.
bug-gnu-emacs@HIDDEN
:bug#13790
; Package emacs,ns
.
Full text available.Received: (at 13790) by debbugs.gnu.org; 9 Mar 2013 01:43:44 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 08 20:43:44 2013 Received: from localhost ([127.0.0.1]:40339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UE8p6-0000wb-2f for submit <at> debbugs.gnu.org; Fri, 08 Mar 2013 20:43:44 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:13608) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <monnier@HIDDEN>) id 1UE8p5-0000wQ-1p for 13790 <at> debbugs.gnu.org; Fri, 08 Mar 2013 20:43:43 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFsoXZ8/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kHIgCBgzBIZEKA4hhnBmBXoMV X-IPAS-Result: Av4EABK/CFFsoXZ8/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kHIgCBgzBIZEKA4hhnBmBXoMV X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="3379605" Received: from 108-161-118-124.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([108.161.118.124]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 08 Mar 2013 20:42:55 -0500 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 70CB1AE3FA; Fri, 8 Mar 2013 20:42:56 -0500 (EST) From: Stefan Monnier <monnier@HIDDEN> To: Josh <josh@HIDDEN> Subject: Re: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1 Message-ID: <jwvzjyd73ig.fsf-monnier+emacs@HIDDEN> References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN> <ahakpwqnu.fsf@HIDDEN> <988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN> <CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN> <1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@HIDDEN> <CANdFEAEYZX5jBL9VLnQmWGefG-A1uNMK9CC9dVq-Wc3R=OWpLw@HIDDEN> <DBE431CE-0482-4167-A23B-CDB776453179@HIDDEN> <83obew1bub.fsf@HIDDEN> <CANdFEAGE8gEoRn_V5CxsUtau1kPNWbPZjbuYnKVdtirKSdcSJw@HIDDEN> Date: Fri, 08 Mar 2013 20:42:56 -0500 In-Reply-To: <CANdFEAGE8gEoRn_V5CxsUtau1kPNWbPZjbuYnKVdtirKSdcSJw@HIDDEN> (josh@HIDDEN's message of "Wed, 6 Mar 2013 13:49:46 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 13790 Cc: Eli Zaretskii <eliz@HIDDEN>, 13790 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -1.9 (-) > By default, yes, but this is the precise reason > interprogram-cut-function and interprogram-paste-function exist. > pbcopy and pbpaste are the OS X equivalents of xclip, and the snippet > I pasted provides an interface to them like the interface to xclip > provided by http://www.emacswiki.org/emacs/xclip.el . Many users are > unaware of the existence of these variables, which results in > confusion and the filing of bugs such as this. Users would be more > likely to discover them if the error messages complaining about an > empty kill ring in -nw sessions were to mention their existence. Indeed. Maybe your patch should be merged with xclip.el? Stefan
bug-gnu-emacs@HIDDEN
:bug#13790
; Package emacs,ns
.
Full text available.Received: (at 13790) by debbugs.gnu.org; 6 Mar 2013 21:50:56 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 06 16:50:56 2013 Received: from localhost ([127.0.0.1]:34860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UDMEe-0001iw-Sn for submit <at> debbugs.gnu.org; Wed, 06 Mar 2013 16:50:55 -0500 Received: from mail-qe0-f42.google.com ([209.85.128.42]:58089) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <jlf@HIDDEN>) id 1UDMEc-0001ij-Cz for 13790 <at> debbugs.gnu.org; Wed, 06 Mar 2013 16:50:51 -0500 Received: by mail-qe0-f42.google.com with SMTP id f6so5778233qej.1 for <13790 <at> debbugs.gnu.org>; Wed, 06 Mar 2013 13:50:17 -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=3YaE2dA0ILs/aBLjYi3GyjyXkFeuYzyvlZBh903kDB0=; b=CXze7RPD5v28+NFSy3NGK2boRZer8z5xjkqHixgNKy3l5hIJoTb2FckIS2Z58FWdLx TR4f0z5GvVOsIjL6F35X7L7phtBEy6JPXzRO4XIy1t22eC55jqzSm6heB6xv79DzLJ6q th/YqwalRRP685VbLksaBCL34i6vgwZkzYfwO7b0c7CkNOZkATF5KVPMGhIYrwU3a1rP qXyzp/n0o9Ag8C1hg7/mF4o95OCT9zbKSyZ3Vyg3yr4Mg2eDrlPlf0NNK1MsKQSo5SXD gj06i47JtjKvhsBdFDZap5SZPKMkDSVLmxkDUZUwTQHUILIeEF8A0AITVrr5KrLCqotY I4lA== X-Received: by 10.224.206.137 with SMTP id fu9mr47786915qab.91.1362606616862; Wed, 06 Mar 2013 13:50:16 -0800 (PST) MIME-Version: 1.0 Received: by 10.49.17.231 with HTTP; Wed, 6 Mar 2013 13:49:46 -0800 (PST) In-Reply-To: <83obew1bub.fsf@HIDDEN> References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN> <ahakpwqnu.fsf@HIDDEN> <988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN> <CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN> <1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@HIDDEN> <CANdFEAEYZX5jBL9VLnQmWGefG-A1uNMK9CC9dVq-Wc3R=OWpLw@HIDDEN> <DBE431CE-0482-4167-A23B-CDB776453179@HIDDEN> <83obew1bub.fsf@HIDDEN> From: Josh <josh@HIDDEN> Date: Wed, 6 Mar 2013 13:49:46 -0800 X-Google-Sender-Auth: Q7stOpc2Fpp_oYfCnEXsN-TR6Ok Message-ID: <CANdFEAGE8gEoRn_V5CxsUtau1kPNWbPZjbuYnKVdtirKSdcSJw@HIDDEN> Subject: Re: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1 To: Eli Zaretskii <eliz@HIDDEN> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQlBthP8M8XUo5DZGdSoS7Z9s6NTBAaAPlOQ/y3l6kgEF+nc7LSmXEFFad/1MFY+k924RQ0k X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 13790 Cc: 13790 <at> debbugs.gnu.org, =?ISO-8859-1?Q?Jan_Dj=E4rv?= <jan.h.d@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -2.6 (--) On Wed, Mar 6, 2013 at 1:02 PM, Eli Zaretskii <eliz@HIDDEN> wrote: >> From: Jan Dj=E4rv <jan.h.d@HIDDEN> >> Yank from the clipboard is not available in a -nw session. >> This is in line with how it works with -nw and X11. > > Right. By default, yes, but this is the precise reason interprogram-cut-function and interprogram-paste-function exist. pbcopy and pbpaste are the OS X equivalents of xclip, and the snippet I pasted provides an interface to them like the interface to xclip provided by http://www.emacswiki.org/emacs/xclip.el . Many users are unaware of the existence of these variables, which results in confusion and the filing of bugs such as this. Users would be more likely to discover them if the error messages complaining about an empty kill ring in -nw sessions were to mention their existence.
bug-gnu-emacs@HIDDEN
:bug#13790
; Package emacs,ns
.
Full text available.Received: (at 13790) by debbugs.gnu.org; 6 Mar 2013 21:03:03 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 06 16:03:03 2013 Received: from localhost ([127.0.0.1]:34830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UDLUJ-0000Z7-6b for submit <at> debbugs.gnu.org; Wed, 06 Mar 2013 16:03:03 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:61378) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <eliz@HIDDEN>) id 1UDLUC-0000Yp-Dg for 13790 <at> debbugs.gnu.org; Wed, 06 Mar 2013 16:02:58 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MJ900400BISJV00@HIDDEN> for 13790 <at> debbugs.gnu.org; Wed, 06 Mar 2013 23:02:05 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MJ9004C8BRGA2C0@HIDDEN>; Wed, 06 Mar 2013 23:02:05 +0200 (IST) Date: Wed, 06 Mar 2013 23:02:04 +0200 From: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1 In-reply-to: <DBE431CE-0482-4167-A23B-CDB776453179@HIDDEN> To: Jan =?iso-8859-1?Q?Dj=E4rv?= <jan.h.d@HIDDEN> Message-id: <83obew1bub.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@HIDDEN References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN> <ahakpwqnu.fsf@HIDDEN> <988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN> <CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN> <1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@HIDDEN> <CANdFEAEYZX5jBL9VLnQmWGefG-A1uNMK9CC9dVq-Wc3R=OWpLw@HIDDEN> <DBE431CE-0482-4167-A23B-CDB776453179@HIDDEN> X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 13790 Cc: josh@HIDDEN, 13790 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii <eliz@HIDDEN> List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Jan Dj=E4rv <jan.h.d@HIDDEN> > Date: Wed, 6 Mar 2013 19:54:40 +0100 > Cc: "13790 <at> debbugs.gnu.org" <13790 <at> debbugs.gnu.org> >=20 > Yank from the clipboard is not available in a -nw session. > This is in line with how it works with -nw and X11. Right. > Not sure about w32 though. You can paste on w32, but it looks to Emacs as if the characters were typed on the keyboard.
bug-gnu-emacs@HIDDEN
:bug#13790
; Package emacs,ns
.
Full text available.Received: (at 13790) by debbugs.gnu.org; 6 Mar 2013 18:55:18 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 06 13:55:18 2013 Received: from localhost ([127.0.0.1]:34714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UDJUj-0005yK-7T for submit <at> debbugs.gnu.org; Wed, 06 Mar 2013 13:55:18 -0500 Received: from mailout.melmac.se ([62.20.26.67]:56584) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <jan.h.d@HIDDEN>) id 1UDJUd-0005xz-36 for 13790 <at> debbugs.gnu.org; Wed, 06 Mar 2013 13:55:15 -0500 Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id E0DAE92D4 for <13790 <at> debbugs.gnu.org>; Wed, 6 Mar 2013 19:54:36 +0100 (CET) Received: (qmail 2522 invoked by uid 89); 6 Mar 2013 18:54:36 -0000 Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@HIDDEN@46.59.42.18) by mail01.melmac.se with ESMTPA; 6 Mar 2013 18:54:36 -0000 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) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1 From: =?iso-8859-1?Q?Jan_Dj=E4rv?= <jan.h.d@HIDDEN> In-Reply-To: <CANdFEAEYZX5jBL9VLnQmWGefG-A1uNMK9CC9dVq-Wc3R=OWpLw@HIDDEN> Date: Wed, 6 Mar 2013 19:54:40 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <DBE431CE-0482-4167-A23B-CDB776453179@HIDDEN> References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN> <ahakpwqnu.fsf@HIDDEN> <988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN> <CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN> <1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@HIDDEN> <CANdFEAEYZX5jBL9VLnQmWGefG-A1uNMK9CC9dVq-Wc3R=OWpLw@HIDDEN> To: Josh <josh@HIDDEN> X-Mailer: Apple Mail (2.1499) X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 13790 Cc: Glenn Morris <rgm@HIDDEN>, "13790 <at> debbugs.gnu.org" <13790 <at> debbugs.gnu.org> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -1.2 (-) Hello. 6 mar 2013 kl. 16:54 skrev Josh <josh@HIDDEN>: > On Wed, Mar 6, 2013 at 1:34 AM, Jan Dj=E4rv <jan.h.d@HIDDEN> = 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
bug-gnu-emacs@HIDDEN
:bug#13790
; Package emacs,ns
.
Full text available.Received: (at 13790) by debbugs.gnu.org; 6 Mar 2013 15:55:53 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 06 10:55:53 2013 Received: from localhost ([127.0.0.1]:34461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UDGh6-0001bs-67 for submit <at> debbugs.gnu.org; Wed, 06 Mar 2013 10:55:52 -0500 Received: from mail-qe0-f46.google.com ([209.85.128.46]:38891) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <jlf@HIDDEN>) id 1UDGh3-0001bY-C1 for 13790 <at> debbugs.gnu.org; Wed, 06 Mar 2013 10:55:50 -0500 Received: by mail-qe0-f46.google.com with SMTP id a11so5493042qen.33 for <13790 <at> debbugs.gnu.org>; Wed, 06 Mar 2013 07:55:17 -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=UwvIOzlB59eFtidQAsQr7F7l1KAMBCtMeVDxRrcKBSE=; b=cx4IIFxXAb5JxPGelErAf90IU+FyYO+gCFpncgnACzBD6zqEJeKnB9pCi0SzFveLjV 6tEuOm+5W4fj6YzRRCFA9bqNb6UxnMwq3PWqyq10V/HbPiVDKsUNqBNzzEPT9lHkrJdy NCUEda8VM4mIOON+olUW9nXhClmILAJ+mCDCNVqaq8LwrFH4qJhdP0bEhExAWGy1gFI4 nypa0MhOG2cYROL62Gn/IszUzVwE8Mib1pCJTIWqymrxd9Q16Rn5ai4fQUzjzKDchyrj J3B+aUPkbzGHQq6NlQc+HxJ3trPk3pP+Sy3m7rknNZhdtS99LLHXhwf0KWGEdz1wqxCN Zjxw== X-Received: by 10.49.87.40 with SMTP id u8mr41832607qez.62.1362585317204; Wed, 06 Mar 2013 07:55:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.49.17.231 with HTTP; Wed, 6 Mar 2013 07:54:47 -0800 (PST) In-Reply-To: <1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@HIDDEN> References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN> <ahakpwqnu.fsf@HIDDEN> <988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN> <CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN> <1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@HIDDEN> From: Josh <josh@HIDDEN> Date: Wed, 6 Mar 2013 07:54:47 -0800 X-Google-Sender-Auth: R9KP-lPIW5zNEQkALZDrSNTiRKc Message-ID: <CANdFEAEYZX5jBL9VLnQmWGefG-A1uNMK9CC9dVq-Wc3R=OWpLw@HIDDEN> Subject: Re: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1 To: =?ISO-8859-1?Q?Jan_Dj=E4rv?= <jan.h.d@HIDDEN> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQkjpj7UsICoy+74jDuYNIqq86EuMyGPu8u4qA55MgluIuWhba6R20hxvAw1wQFnSkHseOqt X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 13790 Cc: Glenn Morris <rgm@HIDDEN>, "13790 <at> debbugs.gnu.org" <13790 <at> debbugs.gnu.org> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -2.6 (--) On Wed, Mar 6, 2013 at 1:34 AM, Jan Dj=E4rv <jan.h.d@HIDDEN> wrote: > Hello. > > I don't see what you gain by doing this compared to the builtin integrati= on. > If you remove your code, what does not work wrt copy/paste? > > Jan D. -nw sessions. $ 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
bug-gnu-emacs@HIDDEN
:bug#13790
; Package emacs,ns
.
Full text available.Received: (at 13790) by debbugs.gnu.org; 6 Mar 2013 09:35:04 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 06 04:35:04 2013 Received: from localhost ([127.0.0.1]:33660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UDAkZ-0008SR-Vg for submit <at> debbugs.gnu.org; Wed, 06 Mar 2013 04:35:04 -0500 Received: from mailout.melmac.se ([62.20.26.67]:54396) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <jan.h.d@HIDDEN>) id 1UDAkX-0008Rv-2D for 13790 <at> debbugs.gnu.org; Wed, 06 Mar 2013 04:35:02 -0500 Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id C073CC2F9 for <13790 <at> debbugs.gnu.org>; Wed, 6 Mar 2013 10:34:28 +0100 (CET) Received: (qmail 27935 invoked by uid 89); 6 Mar 2013 09:34:28 -0000 Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@HIDDEN@46.59.42.18) by mail01.melmac.se with ESMTPA; 6 Mar 2013 09:34:28 -0000 Received: from [172.20.199.240] (unknown [172.20.199.240]) by coolsville.localdomain (Postfix) with ESMTPSA id 548977FA06C; Wed, 6 Mar 2013 10:34:28 +0100 (CET) References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN> <ahakpwqnu.fsf@HIDDEN> <988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN> <CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN> Mime-Version: 1.0 (1.0) In-Reply-To: <CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-Id: <1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@HIDDEN> X-Mailer: iPhone Mail (10B146) From: =?utf-8?Q?Jan_Dj=C3=A4rv?= <jan.h.d@HIDDEN> Subject: Re: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1 Date: Wed, 6 Mar 2013 10:34:26 +0100 To: Josh <josh@HIDDEN> X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 13790 Cc: Glenn Morris <rgm@HIDDEN>, "13790 <at> debbugs.gnu.org" <13790 <at> debbugs.gnu.org> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -1.2 (-) Hello.=20 I don't see what you gain by doing this compared to the builtin integration.= =20 If you remove your code, what does not work wrt copy/paste? Jan D.=20 6 mar 2013 kl. 00:19 skrev Josh <josh@HIDDEN>: > On Tue, Mar 5, 2013 at 1:46 PM, Jan Dj=C3=A4rv <jan.h.d@HIDDEN> wrote:= >> 5 mar 2013 kl. 21:13 skrev Glenn Morris <rgm@HIDDEN>: >>> Andrew Pennebaker wrote: >>>=20 >>>> I can paste into emacs using Mac OS X's Command+V shortcut, but when I t= ry >>>> to paste text using the standard C-y command, Emacs says: >>>>=20 >>>> Kill ring is empty >>>=20 >>> Anyone with Mac OS X know whether/how this is supposed to work? >=20 > I use the following to integrate the OS X clipboard into Emacs: >=20 > (setq interprogram-cut-function 'paste-to-osx > interprogram-paste-function 'copy-from-osx) >=20 > (defun copy-from-osx () > (let ((coding-system-for-read 'utf-8)) > (shell-command-to-string "pbpaste"))) >=20 > (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)
bug-gnu-emacs@HIDDEN
:bug#13790
; Package emacs,ns
.
Full text available.Received: (at 13790) by debbugs.gnu.org; 5 Mar 2013 23:21:03 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 05 18:21:03 2013 Received: from localhost ([127.0.0.1]:33234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UD1AD-0000XK-1n for submit <at> debbugs.gnu.org; Tue, 05 Mar 2013 18:21:03 -0500 Received: from mail-qe0-f42.google.com ([209.85.128.42]:45842) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <jlf@HIDDEN>) id 1UD1A7-0000X4-38 for 13790 <at> debbugs.gnu.org; Tue, 05 Mar 2013 18:20:51 -0500 Received: by mail-qe0-f42.google.com with SMTP id f6so5062884qej.29 for <13790 <at> 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) MIME-Version: 1.0 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@HIDDEN> References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN> <ahakpwqnu.fsf@HIDDEN> <988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN> From: Josh <josh@HIDDEN> Date: Tue, 5 Mar 2013 15:19:48 -0800 X-Google-Sender-Auth: rsx5Q4J2EqZQTbPRiwTSx-T315k Message-ID: <CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN> Subject: Re: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1 To: =?ISO-8859-1?Q?Jan_Dj=E4rv?= <jan.h.d@HIDDEN> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQl37Kyks7lG7LkdLMBCV9aNqDRJ+BAhLXMXQ/kwB/bh6HNXHqpjCL4Xk18KpFccjP/wk0rn X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 13790 Cc: Glenn Morris <rgm@HIDDEN>, 13790 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -2.6 (--) On Tue, Mar 5, 2013 at 1:46 PM, Jan Dj=E4rv <jan.h.d@HIDDEN> wrote: > 5 mar 2013 kl. 21:13 skrev Glenn Morris <rgm@HIDDEN>: >> 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)
bug-gnu-emacs@HIDDEN
:bug#13790
; Package emacs,ns
.
Full text available.Received: (at 13790) by debbugs.gnu.org; 5 Mar 2013 21:46:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 05 16:46:39 2013 Received: from localhost ([127.0.0.1]:33140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UCzh1-0005oZ-8c for submit <at> debbugs.gnu.org; Tue, 05 Mar 2013 16:46:39 -0500 Received: from mailout.melmac.se ([62.20.26.67]:59472) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <jan.h.d@HIDDEN>) id 1UCzgz-0005oN-Db for 13790 <at> debbugs.gnu.org; Tue, 05 Mar 2013 16:46:38 -0500 Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id BA5D49627 for <13790 <at> debbugs.gnu.org>; Tue, 5 Mar 2013 22:46:08 +0100 (CET) Received: (qmail 27394 invoked by uid 89); 5 Mar 2013 21:46:08 -0000 Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@HIDDEN@46.59.42.18) by mail01.melmac.se with ESMTPA; 5 Mar 2013 21:46:08 -0000 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 7186F7FA06C; Tue, 5 Mar 2013 22:46:08 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1 From: =?iso-8859-1?Q?Jan_Dj=E4rv?= <jan.h.d@HIDDEN> In-Reply-To: <ahakpwqnu.fsf@HIDDEN> Date: Tue, 5 Mar 2013 22:46:11 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN> References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN> <ahakpwqnu.fsf@HIDDEN> To: Glenn Morris <rgm@HIDDEN> X-Mailer: Apple Mail (2.1499) X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 13790 Cc: 13790 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: 0.2 (/) Hello. Both C-y and Command+V (s-v) runs yank on OSX: "C-y runs the command yank, which is an interactive compiled Lisp function in `simple.el'. It is bound to C-y, s-v, <S-insertchar>, <S-insert>, <menu-bar> <edit> <paste>." I do not get Kill ring is empty on 24.3. The commands are identical. Does Homebrew modify Emacs, or is it a = straight build? Jan D. =20 5 mar 2013 kl. 21:13 skrev Glenn Morris <rgm@HIDDEN>: > Andrew Pennebaker wrote: >=20 >> 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: >>=20 >> Kill ring is empty >=20 > Anyone with Mac OS X know whether/how this is supposed to work? >=20 >=20
bug-gnu-emacs@HIDDEN
:bug#13790
; Package emacs,ns
.
Full text available.Received: (at 13790) by debbugs.gnu.org; 5 Mar 2013 20:14:25 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 05 15:14:25 2013 Received: from localhost ([127.0.0.1]:32982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UCyFi-0003SB-O7 for submit <at> debbugs.gnu.org; Tue, 05 Mar 2013 15:14:24 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:54130 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <rgm@HIDDEN>) id 1UCyFg-0003S2-JC for 13790 <at> debbugs.gnu.org; Tue, 05 Mar 2013 15:14:21 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from <rgm@HIDDEN>) id 1UCyFK-0008Rq-1r; Tue, 05 Mar 2013 15:13:58 -0500 From: Glenn Morris <rgm@HIDDEN> To: 13790 <at> debbugs.gnu.org Subject: Re: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1 References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN> X-Spook: SP4 strategic eavesdropping encryption underground e-bomb X-Ran: F/f:C1+!:D~3OL~`?4#E{`C`XRdA[70"fSc/OgPOM`fEo~SM7%zZ$<j]lIAwK1w9_)Q&') X-Hue: white X-Attribution: GM Date: Tue, 05 Mar 2013 15:13:57 -0500 In-Reply-To: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN> (Andrew Pennebaker's message of "Fri, 22 Feb 2013 17:40:20 -0500") Message-ID: <ahakpwqnu.fsf@HIDDEN> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: 13790 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -7.5 (-------) 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?
bug-gnu-emacs@HIDDEN
:bug#13790
; Package emacs,ns
.
Full text available.Received: (at submit) by debbugs.gnu.org; 22 Feb 2013 22:47:28 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 22 17:47:28 2013 Received: from localhost ([127.0.0.1]:44808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1U91Oq-00036j-Ae for submit <at> debbugs.gnu.org; Fri, 22 Feb 2013 17:47:28 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33453) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <andrew.pennebaker@HIDDEN>) id 1U91On-00036U-Lc for submit <at> debbugs.gnu.org; Fri, 22 Feb 2013 17:47:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <andrew.pennebaker@HIDDEN>) id 1U91NL-0006qR-HJ for submit <at> debbugs.gnu.org; Fri, 22 Feb 2013 17:46:01 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID,USER_IN_WHITELIST autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:58080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <andrew.pennebaker@HIDDEN>) id 1U91NL-0006q6-8a for submit <at> debbugs.gnu.org; Fri, 22 Feb 2013 17:45:55 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <andrew.pennebaker@HIDDEN>) id 1U91NH-0001jB-5L for bug-gnu-emacs@HIDDEN; Fri, 22 Feb 2013 17:45:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <andrew.pennebaker@HIDDEN>) id 1U91NE-0006l8-QE for bug-gnu-emacs@HIDDEN; Fri, 22 Feb 2013 17:45:51 -0500 Received: from mail-ie0-x231.google.com ([2607:f8b0:4001:c03::231]:64328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <andrew.pennebaker@HIDDEN>) id 1U91NE-0006kg-FU for bug-gnu-emacs@HIDDEN; Fri, 22 Feb 2013 17:45:48 -0500 Received: by mail-ie0-f177.google.com with SMTP id 16so1326445iea.8 for <bug-gnu-emacs@HIDDEN>; Fri, 22 Feb 2013 14:45:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=DnSB3sw5huIVWRyQDEviWzs5q1CiGFjC5nBAGEhLyys=; b=PS+cuq3kE4DPy5ic3Z7nEJChZfXtavJNtBlou92SJJAYd7afq1bKBkLbUbu8wkwXrS a93hLl3LODlUne6ExSAi3geQhPryFdivYVktVUT7Ff/GY78YUvZQud9ny/PfEDh6yf7x DlQlVZeESn20r0MqJyKpJvk17wWxn+ha/0MkMd4M1tnkuWEG5+daAurmE9v6+uL3++T2 r6MRn0ePhCtPCc4f/MhTEJSMicQQn9rrep5ha36q+hJ4iNFB0k91mDKKqVlNEb2u4y0w 0fQQIs63bNnczSU2z0SXFdWy1/59aR8LQVVhWBU6I4QSDlnPMkYN+zmLovktrOU1Ib0o 2NyQ== MIME-Version: 1.0 X-Received: by 10.50.37.239 with SMTP id b15mr24047igk.69.1361572820951; Fri, 22 Feb 2013 14:40:20 -0800 (PST) Received: by 10.43.71.196 with HTTP; Fri, 22 Feb 2013 14:40:20 -0800 (PST) Date: Fri, 22 Feb 2013 17:40:20 -0500 Message-ID: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN> Subject: Cannot paste with C-y into Homebrew emacs v24.2.1 From: Andrew Pennebaker <andrew.pennebaker@HIDDEN> To: Emacs Bugs <bug-gnu-emacs@HIDDEN> Content-Type: multipart/alternative; boundary=f46d044795a354243d04d657e0d2 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -6.1 (------) --f46d044795a354243d04d657e0d2 Content-Type: text/plain; charset=ISO-8859-1 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 -- Cheers, Andrew Pennebaker www.yellosoft.us --f46d044795a354243d04d657e0d2 Content-Type: text/html; charset=ISO-8859-1 <div dir="ltr">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:<div><br></div><div><font face="courier new, monospace">Kill ring is empty</font><div> <div><br></div>-- <br><div></div>Cheers,<div><br></div><div>Andrew Pennebaker</div><div><a href="http://www.yellosoft.us" target="_blank">www.yellosoft.us</a></div> </div></div></div> --f46d044795a354243d04d657e0d2--
Andrew Pennebaker <andrew.pennebaker@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#13790
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.