From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GHhCN/5F92FODwAAgWs5BA (envelope-from ) for ; Mon, 31 Jan 2022 03:14:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4JPGM/5F92HILgAAauVa8A (envelope-from ) for ; Mon, 31 Jan 2022 03:14:22 +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 43DF02B846 for ; Mon, 31 Jan 2022 03:14:22 +0100 (CET) Received: from localhost ([::1]:55958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nEMCz-0005aY-G4 for larch@yhetil.org; Sun, 30 Jan 2022 21:14:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEMCC-0005aQ-4g for emacs-orgmode@gnu.org; Sun, 30 Jan 2022 21:13:32 -0500 Received: from [2a00:1450:4864:20::32c] (port=51055 helo=mail-wm1-x32c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nEMC9-0006wY-DV for emacs-orgmode@gnu.org; Sun, 30 Jan 2022 21:13:31 -0500 Received: by mail-wm1-x32c.google.com with SMTP id m26so2888657wms.0 for ; Sun, 30 Jan 2022 18:13:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=e6XXf+ETtaiFs7mV6dFCY6y29XBu5A4G3X5tCTEgBSo=; b=Czckr5E5svUffmp63/8WJIjUjvivrkC8t02fWk9PfWwD/p/8bL4CV/iCkEOGJinbyJ R/gOV8l3ucEqZCcUEU5jqzV74Ra8Y+uv5yVJ+x4zQ1yd2P6W0vxir11Irx/K+zdmttDR 3LjG+592vKPqV59Xscw0hSihvdzvYrBT0ru1+Zg+1PPRLp/35WbJHFJqVPsZTpM9NGts tRFGwq+/cKUQ5dKvHZea6vHmfhKPGuQkW6Gyi6MvS825cT6uO/gfI52FY+AxKfo3fDXT mtCISSltok5du9sBpJJRGtXZcXi3CwaqUQyrCOUFdCTs6KuoS4YGB7zuaykiHYZDHxkD RqUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=e6XXf+ETtaiFs7mV6dFCY6y29XBu5A4G3X5tCTEgBSo=; b=M8SHOArgBYW6gFzvB+Gpb6s1Gzm85vYbW/7hGi6JqDldFAjU5sG1e9heXZk7BDFwrM X+iDQMb7LujDGeY93/HtjBr57lCsbE6VIRm2qF9+QwhWP9ZcaWX7lH5wXzgQFBRYUFDv zgDQsze/F1Vzv2T7kQ8XrZkExzFYgXCB1LA6JbhRV94g8IHxqFwuNyXJ4CYX/eKLW5Gm MIHLHT6YNPm4eXOhlpSBp5n5nnLO7atngOxGId4xQkhcVaEU7y6sDjx8NS5yMSXIH5is D6C3ZULYUHysLgOo2v0RbhPSrI8+pSuP1+2tEmHktmP/A636ds1cdIsjtcpRSNrQDzSv dWKg== X-Gm-Message-State: AOAM531I24yz9GqXvH4bBsVPgvVI6V4tA5KjzeQlaRyGm4uWduLh5JNg IHgabZacksG6NEg3mNYPYl90Eu1GWsE= X-Google-Smtp-Source: ABdhPJyc84pS/iBjQKthvxUOKK6K6heMb8UfvOoix1f88DB8JWnOUUrNr0q8NzpXhx6VoR6ZlVY9Lg== X-Received: by 2002:a05:600c:364f:: with SMTP id y15mr16709049wmq.125.1643595205980; Sun, 30 Jan 2022 18:13:25 -0800 (PST) Received: from pluto.localnet (alagny-552-1-21-233.w83-200.abo.wanadoo.fr. [83.200.40.233]) by smtp.gmail.com with ESMTPSA id z13sm12152889wrm.90.2022.01.30.18.13.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Jan 2022 18:13:25 -0800 (PST) From: chris 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 03:13:24 +0100 Message-ID: <22526663.8SHm2n8hJX@pluto> In-Reply-To: <87sft4g0zp.fsf@localhost> References: <1902025.jDVfpnRRgo@pluto> <1761146.GlYOGd2maZ@pluto> <87sft4g0zp.fsf@localhost> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::32c (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=inkbottle007@gmail.com; helo=mail-wm1-x32c.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 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_ENVFROM_END_DIGIT=0.25, 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=1643595262; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=e6XXf+ETtaiFs7mV6dFCY6y29XBu5A4G3X5tCTEgBSo=; b=qCOGNFlIo6gN2wPalrmd4MwcwthHpmmZtueaSuHy7TOt561Pp8KgLx8+Pl0X0QHTkH4Ehp tbJzQHxXewY5kLzFSDdZdJmcsIaMMhQ11//rzFUfRY7bmUixuvFmLFQCW1U1xJ/Z3vV5P1 hJQ10l6HjGVKYNjYY3DrowSotuH/eKpXPhId4lRpQVCmm+P23L/CL8VPH9uoyL8XXXU+0i BVHkwigDGHRBJenBSOeeLZWx5BWipMnvEknaTK3ioKxzBy9ikrYEI7tgHWnG3YKyMw5DR7 oW08NxgC/myTPbWZT5591g3WBpgV6Ru2ELRRUvXRREiZByGIIMlSSSW5V9a+UA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643595262; a=rsa-sha256; cv=none; b=k3KVDZauJIazFzJefbdzYiDYvWMgVSOdKRTANZJM4+w3WSMIN8JS8OtF0j3FCN3z2/LKDk ogHiRZx+roV6q9NQfPXg0G+RLO8NToKGaL3S3PPhIeOj7gERYh9Ibc2OS081tLhxzn6z8G 6Rpmca20Q07S2IMcYJ/7acA/y9OcZ7zi0LRYdIHBoWBvCKY+kksKOMytBvi98qjKn1G6Jn AvkzonEhAbASBI/GArfOTUfy4CA2fxTjmol1tfgwmSlvtaju89AdK6k9ZHVXUzUaniMnBp 1DwHTz7woJkjduvdA8iijwta0bMBZSu79JF5fjvB5Vl2oISzUWq+mzSHuy0ZkQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Czckr5E5; 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.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Czckr5E5; 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: 43DF02B846 X-Spam-Score: -4.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: wl/feDZDSEXd On Monday, 31 January 2022 02:14:34 CET Ihor Radchenko wrote: > chris writes: > > After doing `xdg-open "org-protocol://store-link?url=URL&title=TITLE"`. > > The string "URL" is pushed into Emacs kill-ring. > > But, this very string "URL", is not inserted into Wayland clipboard. > > I am not using Wayland. However, if I just do (kill-new "test") in X and > my select-enable-primary is nil (default) - "test" will not go to my X > clipboard. It is the default behaviour of Emacs in X that has nothing to > do with Org mode. > > 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. Also, I understand your point, but the fact that the copying is working or not working, in that direction, specifically, after using `xdg-open "org- protocol://store-link?url=URL&title=TITLE"`, etc... Is really a detail in what is hindering the workflow there. What is hindering the workflow is that the cut and past in the opposite direction, namely from the terminal to emacs, stops working from that point onward. And that is really cumbersome. And again, at that point the only workaround I've found to have the cut and past from terminal to emacs working again, is to perform one operation of copying from emacs to the terminal. If ever I omit that workaround step, next time I'll copy something from the terminal to emacs, it will end up in pasting the string that has been initially inserted into the kill-ring by `xdg-open "org-protocol://store-link? url=URL&title=TITLE"` possibly hours before, so to speak. And no, even though `M-: (kill-new "something")` is putting "something" in both kill-ring and wayland-clipboard as stated above, `xdg-open "org- protocol://store-link?url=URL&title=TITLE"`, is only putting "URL" in the kill-ring, or so I have observe to the best of my knowledge: and it is not the issue in my workflow, only an observation I've made. > > Best, > Ihor