From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4KZjATWM92EcNAAAgWs5BA (envelope-from ) for ; Mon, 31 Jan 2022 08:13:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iMS/OTSM92EeKQAAauVa8A (envelope-from ) for ; Mon, 31 Jan 2022 08:13:56 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 96A473E76C for ; Mon, 31 Jan 2022 08:13:52 +0100 (CET) Received: from localhost ([::1]:50440 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nEQso-0004rC-UX for larch@yhetil.org; Mon, 31 Jan 2022 02:13:50 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38380) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEQYY-00088f-93 for emacs-orgmode@gnu.org; Mon, 31 Jan 2022 01:53:06 -0500 Received: from [2607:f8b0:4864:20::1031] (port=35721 helo=mail-pj1-x1031.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nEQYO-0002EI-IP for emacs-orgmode@gnu.org; Mon, 31 Jan 2022 01:52:47 -0500 Received: by mail-pj1-x1031.google.com with SMTP id z14-20020a17090ab10e00b001b6175d4040so11687494pjq.0 for ; Sun, 30 Jan 2022 22:52:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=MPEbCMHSS249IZxfi47QvWPSPoEPxxuzTjO7s46yeTM=; b=Bb2SApMNQjYbLjJUKh8ob9yGASL+sCOIDOS5g95qlk5zE7QcMeGZjafpKKLQbhXdek m/gZFZTegIHp4+mYuINiaAAPCkTPbnDv4npzEf6l0vuyPcKTtkI52RLgaEor3FkyzT5x Yk4I3m0vcyVA5KDHAUxc0ski0E827uXTu8PUsYw0PvNH8VpN5N8eXL5hLuIznPazWBzG x8TWQbUVZBvnJWODULjs1gOkqhVylksD6UnqbdfFero3aAkHj7pYZlKgVxnQPM1WzGDW w3dGFytA4Ak7yqwmGzZXROgyihYlOjTRP+tKoJDqZf8TaioKggN2vcKA3497eFCeTVMJ 78IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=MPEbCMHSS249IZxfi47QvWPSPoEPxxuzTjO7s46yeTM=; b=JunMVNBbAypeoIU50vjlVnOqoK/vjwz2F+Qx+VP8plAeJjPWcrMO0GUDp3Z+EgWYvp I8RCGzMiWLz4tQUvsQOCWf/7QFTbvQTRGaLvObtUh+LLd/jYQOGpZ5gMYdmHNkpFtNry +s3TaTN90Zr+zX1GQ3NYkJAw5NhLnwDn+ibUx1GGGuz1RzrqoLHsxdr8ps9PokAuP05u 26iMP1dS+nw8vzuBSHuLUKMgvSItc5Y3EJCTZS3ry6p0FhSMWKa8s5a1+jbRZadwrROZ hbrl2d+inbOzl4qtn+uoZdRIErYLk40SfDnxOJ4Pmy+mSIt8lCmJ2lWc6JQenZai6VWP wCzQ== X-Gm-Message-State: AOAM531U0ZiPUOEdsdSKFoz+jqVAvpdB/xINWfe9dJdDT9DIEFEJLr4H 9NbYgWw31KIrF/pyyZISCl0egKjdtaE= X-Google-Smtp-Source: ABdhPJxaEjPghLQjY603iK0LgqWXE/g3/j3onc7zEo/FOGUFelJliSldnvDMA2Z/qAkY1I2p4sT1Nw== X-Received: by 2002:a17:902:b681:: with SMTP id c1mr19145041pls.110.1643611951465; Sun, 30 Jan 2022 22:52:31 -0800 (PST) Received: from dingbat (2001-44b8-31f2-bb00-d561-3294-af48-bdfb.static.ipv6.internode.on.net. [2001:44b8:31f2:bb00:d561:3294:af48:bdfb]) by smtp.gmail.com with ESMTPSA id q8sm18354760pfl.143.2022.01.30.22.52.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Jan 2022 22:52:30 -0800 (PST) References: <1902025.jDVfpnRRgo@pluto> <2630240.8LCFICVRos@pluto> <10685775.IQkTKvKYBs@pluto> <2601391.zK1s7Hz7jA@pluto> User-agent: mu4e 1.7.6; emacs 28.0.91 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: cut and paste not working after xdg-open "org-protocol://store-link?url=URL&title=TITLE" Date: Mon, 31 Jan 2022 17:47:23 +1100 In-reply-to: <2601391.zK1s7Hz7jA@pluto> Message-ID: <87h79k4ct9.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::1031 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::1031; envelope-from=theophilusx@gmail.com; helo=mail-pj1-x1031.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643613233; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=MPEbCMHSS249IZxfi47QvWPSPoEPxxuzTjO7s46yeTM=; b=ajXSZoe3YC3E4J486gcwu5lHykaJBKzh7LjGICsBeqX2XFrcgeO5zz4pQKQ3DcnPAKfMIX 4znjy3wTZjH05C8WNM0kfkZktTTE+AzCQF8JxrTdfX3WPLWlGmnPdjVJGn7o6Evp38GlVt f097WBIygkujboDhxEuuFP5QIvWm/tECvNSY5cqA7Ql4pBq+348eSUXgloxJHOV3NrFII1 1pWO0hOLhDI2Ccplc3wFqoZJa9EqNpeyH4AKor7UcOUdSDCHAFblfDOxAUHmrR+7g7YnFH kRz2gJzxh0tAU+MMbgV9QbZoY4SMJ4b+isHhGAEEsmbKTWfUsJjEjfnx02Ysgg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643613233; a=rsa-sha256; cv=none; b=F8WC5gzpDnKDMyjQfr5JczoogF/MA1g9EcImaRHiwxbmqxTaEaMYuaVMA9LheQIFuJivcx RZApeQX/YGjZ5NoEy0/hxPHi709wiGdCruHdiOo2hVeVhqAvGTQbeUD1R7kpkybQT4GHLT VwyfIwSz2IPHm8uQO2eMAA55q3knQGcBwmf2CWrXGVtM3BYBl0WKxLA43sY8j37lHRIA83 d/T+D66k0KiS44/hUGreBmf3RFcgorVoea9veT9RKY5mir/KhqU/6tg/QizwlLsdTcKLzo qYsbBkblrcX+MPJTmNcoqBlmcux5ZKh+oLjsS7QfOy7i1yUzeeP9AVoBAGOhiw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Bb2SApMN; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.33 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Bb2SApMN; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 96A473E76C X-Spam-Score: -4.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: RNkb/B7lwViu chris writes: > On Monday, 31 January 2022 04:49:59 CET chris wrote: >> On Monday, 31 January 2022 04:43:34 CET chris wrote: >> > On Monday, 31 January 2022 04:28:06 CET Ihor Radchenko wrote: >> > > chris writes: >> > > >> What will happen if you try (kill-new "something") in your Emacs >> > > >> (preferably, emacs -Q)? Will "something" be present in your Wayland >> > > >> clipboard? >> > > > >> > > > emacs -Q, then `M-: (kill-new "something")` >> > > > Then `C-y` in `*scratch*`, string "something" is pasted. >> > > > Then go to terminal (Konsole, specifically), `C-S-v`, string >> > > > "something" >> > > > is >> > > > pasted, too. >> > > >> > > Got it. What about emacsclient -e "(kill-new \"test123\")"? >> > >> > `~/path-to-emacs/lib-src/emacsclient -e "(kill-new \"test123 >> > \")"` >> > >> > Emacs side, `C-y` => "test123" >> > >> > Terminal side, `C-S-v` => no trace of the "test123" string. >> >> My, I missed one pivotal point: >> Right after that operation, I cannot cut and paste straight away from >> terminal to emacs. >> If I copy and paste some string "test567" from terminal to Firefox or >> whatever, it is working fine, but `C-y` in emacs is still "test123". >> > > Also, right now, emacs kill-ring is not very big, less than 10 items, so I can > see all of them using `M-y`, and the most recent one, after several cut-and- > paste operations none of them emacs related, is still "test123". > > And so now I do the converse operation and that works, and after that copying > from terminal to emacs works again. > > Bottom line, it seems org-mode independent. > This is most likely an Emacs 29 issue. The pgtk stuff has only very recently been pulled into the mainline development tree and it is very likely that little testing has been done on wayland using the pure gtk build (and I'm assuming no wayland X window integration layer). You probably need to log it as an Emacs bug. It might be worthwhile asking on the emacs-devel list - it could be a known issue.