From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cJWzMkErWF+DBAAA0tVLHw (envelope-from ) for ; Wed, 09 Sep 2020 01:09:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GHh4LkErWF8DEQAAB5/wlQ (envelope-from ) for ; Wed, 09 Sep 2020 01:09:21 +0000 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 1AC2C940365 for ; Wed, 9 Sep 2020 01:09:20 +0000 (UTC) Received: from localhost ([::1]:38956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFobv-0001dY-O1 for larch@yhetil.org; Tue, 08 Sep 2020 21:09:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFobc-0001dS-M3 for emacs-orgmode@gnu.org; Tue, 08 Sep 2020 21:09:00 -0400 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]:37229) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFoba-00080K-VW for emacs-orgmode@gnu.org; Tue, 08 Sep 2020 21:09:00 -0400 Received: by mail-pj1-x1030.google.com with SMTP id kk9so483851pjb.2 for ; Tue, 08 Sep 2020 18:08:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=bO6lz1Z397fxd5SaoLodENwmjFA1OUPQ+uvp+WFO/5o=; b=SSHNKMp9taM6GZLzadtjKUHyJg6yfC/6TKYUYBvx79ejHEGzPzP6Pz3bkX5u0xPFG7 jPsPk7yzudi4F3PgxyQgfGbwZ/kbG0qD/Tj5yUIaHmsOpz1dTweA0LU3vGO7uExnyZmP DxqAyIfyNrjmJBRFJUdN8GAGNPq55SANQpZ3Oz6eFVnUU4t3wH+Y93oK7WETpaoaE0Ey IpTx7dTrRKPqGx8f7y9RbswBjr5dIQK7qhHwz76PIupNV3yEFMOUOf/2rb81b9+O6uu6 /UReq1w9/nqkJ7e38cjQCEB4hDNPuQnUEtkZ4NzK/frtk3V+djLbLaOAPjuJJCysNCge W5VA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=bO6lz1Z397fxd5SaoLodENwmjFA1OUPQ+uvp+WFO/5o=; b=bP3fmrXRffB8rxQjb+Fqy+pzw8RtAuzGOEcJQprr6EmHvRTbPKwNE+CmWUkQJ5lw/o j3kioyqiPo491eQ5MRwOw/8EpA/q2n2aHRXoc6c6F6F+kU2FovFQuSeyvNxWM1CNDiAH QHhYI+zQZD0psK25CweZgrdpWsmuWa5LXYHpXCVVb630/mOW9GdFBah5SIpwj2HNXgJG J9ijAdvsnze8JvgM+HQ/nC2TkK+Tt5bRJ2t1o09AADh1SXiAC2xBIwS0AGk3SEOkK5sX QtT75qbUL9FPx6MHTlSVJ3JIkM3uVR1zoOInOjW3KzniSQpbE8Nuk+cNQalmF351L3jz 3lmA== X-Gm-Message-State: AOAM533KITSuRWE6ys84Reu0NpVBAHkuyDZcbWCrSEECdcWjEGIKdQB/ x1v9ELKBB0DpPCbuvNuuEfY= X-Google-Smtp-Source: ABdhPJyM2n2D/34e+xQPM/MQ2Ai+CdwxDqew7EypEOcuGAjpYxqNYIGLioe8AjqQieMkzHw+gqvzWQ== X-Received: by 2002:a17:90b:b0b:: with SMTP id bf11mr1344424pjb.227.1599613737375; Tue, 08 Sep 2020 18:08:57 -0700 (PDT) Received: from localhost ([104.250.131.79]) by smtp.gmail.com with ESMTPSA id i1sm604278pfk.21.2020.09.08.18.08.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2020 18:08:56 -0700 (PDT) From: Ihor Radchenko To: Samuel Wales , emacs-orgmode@gnu.org Subject: Re: idea for capture anywhere in x In-Reply-To: References: Date: Wed, 09 Sep 2020 09:07:59 +0800 Message-ID: <87lfhjkb9s.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1030.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=SSHNKMp9; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.21 X-TUID: 2bzmY8uv6krC > is something like this possible? It's very easy. Below is a part of my capture (bash) script for qutebrowser: emacsclient "org-protocol://capture?template=$TEMPLATE&url=$URL&title=$TITLE&body=$SELECTED_TEXT&html=$QUTE_HTML&qutebrowser-fifo=$QUTE_FIFO" Best, Ihor Samuel Wales writes: > dunno if this is sensible, but istr you can capture using emacsclient? > > i really like hte org capture extension in firefox and want it for > everything in x [which means emacs itself using mouse and what little > else i run]. > > my idea was, to emacsclient to call org protocol to a defined capture > template just like the firefox extension. this would be alled from > the wm menu. > > is something like this possible? > > -- > The Kafka Pandemic > > Please learn what misopathy is. > https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html