From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EM5YBTgWpGIyUQEAbAwnHQ (envelope-from ) for ; Sat, 11 Jun 2022 06:12:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oKYxBTgWpGIbGQEAauVa8A (envelope-from ) for ; Sat, 11 Jun 2022 06:12:40 +0200 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 B1A7C2D664 for ; Sat, 11 Jun 2022 06:12:39 +0200 (CEST) Received: from localhost ([::1]:51988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzsUI-0001U0-Dm for larch@yhetil.org; Sat, 11 Jun 2022 00:12:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzsSc-0001SZ-3a for emacs-orgmode@gnu.org; Sat, 11 Jun 2022 00:10:54 -0400 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]:41491) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nzsSY-0004Hw-Tx for emacs-orgmode@gnu.org; Sat, 11 Jun 2022 00:10:52 -0400 Received: by mail-pj1-x1035.google.com with SMTP id g10-20020a17090a708a00b001ea8aadd42bso1142320pjk.0 for ; Fri, 10 Jun 2022 21:10:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=SzgQ9DzTut5Gx9hEQyFrFqo78n0mTA1s9P8meFVE8gg=; b=C5SQzPVxU2VT3VWEemxpxj0ANljpjvyeS+/uJSwiwgRuA0beYjVhTb0GGWj8Bn509p PZdOz1xQ8h/t+ZIqxR0ztkWuoXGhyxTMXHwEyXZZEw8lp4wrTO9Y0srxksLituKg88CP W0nOr/W+HVkE5BK0YK78M3vl+6AK3aI6g83KU50iU1r9V4op8nKoN6pi7lA7TRgMxMyl RP+e6UsmoU4XN6XIuJvm+bpLcs5MFe2b5824VsnGWyyLMuM3HT64qcizAUTegmNxrr/x NtA/kmvIL6ylzPeSicn0drn6lafhElZkVMjjAHRg4/leYN5ZGvSjPp10oKH0rGistexI NkHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=SzgQ9DzTut5Gx9hEQyFrFqo78n0mTA1s9P8meFVE8gg=; b=3Fb8XY8Jnn0zUDVRW5ObJcKx8RedKncQJeDqhe4IWjvLYboCwMIngR6b8yviOMr/4A Ria2+grtmFXO4AtkV4XOtWO42S2EKkhoS1vTuMkT6L5bJEfF6EUGo3mFf2GiWsD+avLf AJM3Q6SXROc7Ek3iscB5xtMxoo/WJs83MYfhygoB+Qhfe8YsSXlK8IOo5JjwgpEB5f8T q0r/tXl5a/6sUD3W5vLbQcK5/QnTV5dMm7n8enh9glkir7TDBWcNS0OovVuQS30cfDEA z/eYzmoPuCGBZPDWEcvc7RrIzlnzvpROtW/4eEV5u63fnerGw8l8gdsQyAgHBwt9FIVJ 9kLQ== X-Gm-Message-State: AOAM532yY58lKv9qu0WeYXdBItXFmI0/rgj7rNAc0aH9VLLq4iIwOPx+ b+WROMT77U9W3ifRqFp3F7+8P/NTHXRaxTeA X-Google-Smtp-Source: ABdhPJzLfjchV6yYCkjaiCF5Yh6je+zFPzlEDOa5ahwUSa6gYXi23zLoOT2slTS47zjt51KuTBGEww== X-Received: by 2002:a17:90b:4d05:b0:1e2:bf91:8af2 with SMTP id mw5-20020a17090b4d0500b001e2bf918af2mr3136057pjb.210.1654920649483; Fri, 10 Jun 2022 21:10:49 -0700 (PDT) Received: from localhost ([64.32.23.62]) by smtp.gmail.com with ESMTPSA id h12-20020a170902f7cc00b0015e8d4eb28csm505999plw.214.2022.06.10.21.10.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jun 2022 21:10:48 -0700 (PDT) From: Ihor Radchenko To: Samuel Wales Cc: Nick Econopouly , Maxim Nikulin , emacs-orgmode@gnu.org Subject: Re: idea for capture anywhere in x In-Reply-To: References: <87sgbsq2t5.fsf@gmail.com> <87tuw31iub.fsf@mm.st> Date: Sat, 11 Jun 2022 12:11:28 +0800 Message-ID: <87mtejq1ov.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1035; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1035.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654920759; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=SzgQ9DzTut5Gx9hEQyFrFqo78n0mTA1s9P8meFVE8gg=; b=YgZah4w7lzz1oRNb/Lg7ZEn2gNp6i629kEDE2CmTkT3N5245AyUc1DlmAquPQvwW858TYe oatzFIp8tdbHztT/66O+5IaowoXrkwYDvsDxuGol3AP48V84/+07SlmhAH1Z7F+isxaJMM rkxYNucPUIP8C/RGFKazhZTItCDBxFvwiqPM784XXMou41h3DzNe63JiCI5h5u10YG8sFf bsA3tl5f9fFjNiRpz/p5CiBQtBnyKT2bFtSRvegJyqQvHt+mFk9kd1QGnqSz2ukCuXfdiK Zh1tVWWMKbCpPKGwbRkS799n8Z5g/bRdFqrdfN7yriHWmVaZChLfEGm2J3S3Og== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654920759; a=rsa-sha256; cv=none; b=euhb+Tdo/zVAUt3cRC07vaqEVozly+j9Jhkl5EH4REWISuTpGtVbfFBNH8OFgs7tXAn2tn Gx5T3t4k/Y1XvqSDGowP312pq+COFC2hWjcuYznVdetL4fOMd1Yynq2YGpIOWzK+SHMLak X5z50RHpbeYIaVKqN+Y/AcccVKnxttiAR+qZvwqi0CsUaeoEDuT/Y4tncbO+A1BH6HJqAh nipr6xawuIb+UhA1lwAFZj4hIjawhdfhxPVnPXULmyTT3t2NZkloB3QfpxkhzckuCadFE3 iDJj3VgoMTE1PNzVOV00v6A/n0ytWIEffIJE72QN9ZlqvL0YpoDvSHFXIPJzWw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=C5SQzPVx; 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: -6.98 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=C5SQzPVx; 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: B1A7C2D664 X-Spam-Score: -6.98 X-Migadu-Scanner: scn0.migadu.com X-TUID: lJzYkaOwOZw+ Samuel Wales writes: > 2. > > in this thread i thought it would also be great to select text with > mouse /in any running application in x/, then have selection be saved > to an org entry. this might be possible with the above possible > solution, minus the url issue. FYI, you can bind org-capture command in your WM and use %k in your capture templates: org-capture-templates is a variable defined in org-capture.el. ... The template defines the text to be inserted. Often this is an Org mode entry (so the first line should start with a star) that will be filed as a child of the target headline. It can also be freely formatted text. Furthermore, the following %-escapes will be replaced with content and expanded: ... %x Content of the X clipboard. Best, Ihor