From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YATSFGfAWGONeAAAbAwnHQ (envelope-from ) for ; Wed, 26 Oct 2022 07:06:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SH0DFGfAWGPa7gAAG6o9tA (envelope-from ) for ; Wed, 26 Oct 2022 07:06:47 +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 1617117BFF for ; Wed, 26 Oct 2022 07:06:47 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onYbd-0000rv-TX; Wed, 26 Oct 2022 01:05:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onYbb-0000k1-Sq for emacs-orgmode@gnu.org; Wed, 26 Oct 2022 01:05:31 -0400 Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1onYba-0000CH-2x for emacs-orgmode@gnu.org; Wed, 26 Oct 2022 01:05:31 -0400 Received: by mail-lj1-x22c.google.com with SMTP id bn35so11545131ljb.5 for ; Tue, 25 Oct 2022 22:05:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=OJZT5GzPoqWM5HULpQ7wvBbijF1CMOkBTMDlqpaoe8I=; b=OyDK2p3NSnytpXN2yhq6PA5eqxdQftSahGvx6f9npkIReMQ60DXHTHCucwqEbDQwTO P4pxBz2e+oDo+dLWbOusrAHCySxQJYgasjI1iLeSlyv0pt2xAInwDnnfEnHCTVGTVsqm sUO1d6RhuQHcKJfgvfFsH46uz+VLNFoklf6Ow+YrcZMBOdkE0KwX+dA/NfFiuJL3znsR 1C4PV7M6bo2eCnVncnqauX7yE5K0yHW/jDkJI4rRXCQp9OnR3HmattnD8EGBRikiT1sx CGIVgTAGviNyjxDN7prKMbddwyQdRktS0c/B4UaevOBXJt/MK8BfRcAQkDykh7dGVxi6 jyrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OJZT5GzPoqWM5HULpQ7wvBbijF1CMOkBTMDlqpaoe8I=; b=VthRM+Us69teD8D8qjDAKKJNAQH+cDyjePWLyjI49+uOmKLCTGp9zowBvARBKsTKFp SaYO1l3skDX3H4MeF7yRUan4mQGvkk4HyNIujXmNvRPOe209CVT3brlvskOHqFfm7LwR JpEP0aHV+5/GWOth3qkvNOg47lh/Shg/v9YHANZc/5zYCnync5SDz8MyRCinMlN3zEa0 CSDveovFcOvHRg5F9/69jrk7JmsNn++IGQfgOxzH7iehA/spBrgnsLjMVflTG9/HN9xs kZVZU3eEN0vD0UpVHFqKulp0WkjxK+5tFdTy8eca3ptuljsUn07fEGwJOKjiJHIuvcC6 KNtA== X-Gm-Message-State: ACrzQf3dnpuIVIrn75Fp8R83DcCKa0cZ5KELG1zo4wN5ye947dRygJNz FsprNBnq2Yp2Lu0IgE5s+6k/g94GP+JAgozZi3g= X-Google-Smtp-Source: AMsMyM5NdQc1RKD5Lrs2DOwjBOL5K//kETImaXEdripZB+edLhowPAtN0iMj7WmYOOGBq3UhskB6e1vPFIcAYA8yBC8= X-Received: by 2002:a05:651c:542:b0:277:fb6:b88a with SMTP id q2-20020a05651c054200b002770fb6b88amr4747648ljp.208.1666760728217; Tue, 25 Oct 2022 22:05:28 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9a:4d08:0:b0:228:e569:9740 with HTTP; Tue, 25 Oct 2022 22:05:27 -0700 (PDT) In-Reply-To: <875yg7qiyb.fsf@localhost> References: <87tuw31iub.fsf@mm.st> <87r0zelo7e.fsf@posteo.net> <875yg7qiyb.fsf@localhost> From: Samuel Wales Date: Tue, 25 Oct 2022 22:05:27 -0700 Message-ID: Subject: Re: idea for capture anywhere in x To: Ihor Radchenko Cc: Max Nikulin , Org Mode List Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::22c; envelope-from=samologist@gmail.com; helo=mail-lj1-x22c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org 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=1666760807; 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=OJZT5GzPoqWM5HULpQ7wvBbijF1CMOkBTMDlqpaoe8I=; b=l+g5GzZJo/hGRXZKv5e4GIk6Rn/m+6e4q54Ny53lwZUHM7r9LjP3DRldveXFv50wuC3SMO 0QlSlzEHJrJ1F+LSCLPquIJukjSr90+P7FcAbt13dUfjgOY9XCfaNTJurgMoZ232i9SQqp yQpTfohlMy/YZ1TMg3h5BIEO/8L9YAWL6lH0sNChu584XHROnPJDRp4v4/OKn4iD+47Z7G THClaLWK5T7R2EcXZAP+cpTnXds8YyW2C79m5M0c/QLT+f7owPUqA1JJbRLsdbUHbUCRw5 LFwy5ddREFBKLukP78vfEO6kbmyhKa8lMUyS+4cKs4sy5eFzXEJfZxKOtsFi5w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666760807; a=rsa-sha256; cv=none; b=OdF3Is82KZ/rK6UoM+vnv095BvN7fYhPcn8PgYeUe20xUWQhIEupEAlAXqZEGJVT7CrId7 S2Jsd77Lt0oJ+Z0v8yx5l5Mbq9i3rGEc7cn8m/SuDKuvxIjLk9pETHcpRrj3ev++RLRQRl QVpkIF7iCQgES4MsDkTRT0HNh5DST7+aNEENQP7HckhP0N8fYDM07Uq5c8whSwSv5ZXQBl jucaLt34m4LvbQyGK6/9ZWtqVxbpodW8aUSsd1+VjRoi27wfz1Mgg2wxguab6KwK6cLl5x /JB/EUAoIOJv2UX49TVwwZj3FtizIECvx1wwxaH7jnvhzkrmgawkxUrQ52A1UQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=OyDK2p3N; 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: -7.71 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=OyDK2p3N; 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: 1617117BFF X-Spam-Score: -7.71 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3iepy3wO+W3c more below. On 10/25/22, Ihor Radchenko wrote: > Samuel Wales writes: > >> although i always fear it breaking or silently failing, as i have >> emacs in the bg behind ff when i run it and do not want to do more >> mousing and inspecting to find out if worked each time. > > You may hook notifications-notify to org-capture-after-finalize-hook to > see notification when the capture is successful. had not heard of this. i see that it is part of a pacage called org-notify? it would flash screen discreetly or pop up a box in a corner that would go away soon or some such thing? sounds like it could be reassuring if it is not obtrusive. > >>> - Capture template that fetches X PRIMARY_SELECTION or CLIPBOARD. >> >> with a capture template that has percents for th3ese or so? > > Yes. From org-capture-templates docstring: > > %x Content of the X clipboard. > >> btw on occasion i wnt to capture from emacs using mouse only, but not >> all modes have mouse context menu. > > What about menu bar entry? with my font size menu bar woud not be desirable. for mouse activation which is whati wouldneed it would need to be rclick. but thats mode specific so it sounds like a rather troublesome task to make it work in all the poaces i'd want it to work. > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > -- The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com