From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id eGAbG38JkGX1tgAAkFu2QA (envelope-from ) for ; Sat, 30 Dec 2023 13:13:51 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id yPO+Fn8JkGUtTAEAe85BDQ (envelope-from ) for ; Sat, 30 Dec 2023 13:13:51 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=cCXhSIBr; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703938431; 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=rICg6v6lgpOhH1kmWjOlPgiwS5pao76v3YELVpI6RTk=; b=Oy1QBuknlC9PsApJTpPOgVEtFTNgmM8ZIrqI9mzpYCv9iH856PW0QEj4jfbw9q/KbR7pUQ sT+C2eg9Zimmgm/d18zgmJL/mS1XsolJIuU4JzlNJtz7A4q7Bd0y0LVtL90dVqPNRspJ9C gXW2YftAR58i/vH1zhy+EQ7cmzCiRTxTMB1LiuJG9HOHI+OCmpnCrEEvoPHqqhJvoiNxQa HMeu7HPcmXVpuj+ohPJglHG3tPR5bPgGH0l8r55jQaqyy/1ZNmB1PdheB1I7Rl6tImPEi6 aPDZIt6OaCn5OzyvMKki7sVWtyQI1htBeIOW7MoLF9nO7Yccwl8IvpI4qwgMeQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703938431; a=rsa-sha256; cv=none; b=ctmSJVHY2qoWj30jLrusiznqAmG1ScpjAiWbPjAUQe2Cwye1sKG6gz52/x7cNVdJWI0R3f eXIHnQmVa4QmeacEunsS+3o5GoebblAaUMVs+LAsNfH6m9UhmAh8TElNErqChDDRNNe6Cy ISyJtcWcKnScYwW9xPrNkMS+tEqxXZgePWUwinNVqb/DEajI6hSk1ooRvKq2DKgcdPXsXw Pr2j9v9/xaELRTYZSaL+NmoasouqthBUF8Dm5axl9kyAyzXhrJ1Bo1PyTCwHXedu5dGGr+ JIS9D6teEVihSHVq7DtPoKSsHQNrMTZgl49WtKDEX8V9R9aCvVgCiS6us6/9pQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=cCXhSIBr; 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"; dmarc=pass (policy=none) header.from=posteo.net 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 BA08D1760C for ; Sat, 30 Dec 2023 13:13:50 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rJYCg-00069L-7Y; Sat, 30 Dec 2023 07:12:34 -0500 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 1rJYCf-00068u-30 for emacs-orgmode@gnu.org; Sat, 30 Dec 2023 07:12:33 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rJYCb-0006Ao-NT for emacs-orgmode@gnu.org; Sat, 30 Dec 2023 07:12:32 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 6999F240029 for ; Sat, 30 Dec 2023 13:12:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1703938347; bh=IlcNfI93YBONPWZ5RE8Cx+jZp5f6xxZoC0CMMoJ+vzI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=cCXhSIBrZbGCof261wg5xHcho1CBIZntCKqwrie3TGc9gMVgxP8KxdX1E9hs3UOYH KZ1GNO21dn0WuGAQP7XaQTF4wBnabpxSeX7BCvSFIikNs3k/Wf+BTTnJ3qBoLX5AIH Vzx1xXTSv9EpFkvZFQUZuAXrxfixP397FB17GYjxWcnY3GlpFpoj36F41pxXt8+7ZQ O3xcGPLPsxgwy2IsBzeyNh50DDAqmX0pZNck0Qw0b8JOzHPiJy1gXQ8+8Fz8pnRWUI Onmd1TSLGpNEyL4qdPWJnagqH68qSs6s0pRdMyed1pAwZL3QeNUZrQtAAaRKHTR+Rz AcJCX6khd/jjw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4T2Lj633W2z6tsb; Sat, 30 Dec 2023 13:12:25 +0100 (CET) From: Ihor Radchenko To: rms@gnu.org, Bastien Cc: Hanno Perrey , emacs-devel@gnu.org, emacs-orgmode@gnu.org Subject: [DISCUSSION] Possible inclusion of org-capture.el into Emacs core (was: [ELPA] New package: jami-bot and org-jami-bot) In-Reply-To: References: <875y0i7e43.fsf@hoowl.se> Date: Sat, 30 Dec 2023 12:15:35 +0000 Message-ID: <87bka7c2e0.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.90 X-Spam-Score: -7.90 X-Migadu-Queue-Id: BA08D1760C X-Migadu-Scanner: mx11.migadu.com X-TUID: prV/oN1L6Nxy Richard Stallman writes: > Dependence of various features on Org mode causes problems in two ways: > > * It makes those features hard to use for those that don't use Org mode. > > * It adds the need to learn Org mode to the need to learn Emacs itself. > > Therefore, new features which make sense indepdently of Org mode > should be usable without Org mode. This reminds me of "Keep Org mode submodules in Emacs, please!" request: https://list.orgmode.org/E1kIPh1-0001Lu-Rg@fencepost.gnu.org/ Similar to jami-bot providing a dbus interface for Jami to interact with Emacs, Org mode has org-protocol.el providing command line and URL handler interface that is nearly independent of Org mode itself in its core function: ;; Usage: ;; ------ ;; ;; 1.) Add this to your init file (.emacs probably): ;; ;; (require 'org-protocol) ;; ;; 3.) Ensure emacs-server is up and running. ;; 4.) Try this from the command line (adjust the URL as needed): ;; ;; $ emacsclient \ ;; "org-protocol://store-link?url=http:%2F%2Flocalhost%2Findex.html&title=The%20title" ;; ;; 5.) Optionally add custom sub-protocols and handlers: ;; ;; (setq org-protocol-protocol-alist ;; '(("my-protocol" ;; :protocol "my-protocol" ;; :function my-protocol-handler-function))) ;; ;; A "sub-protocol" will be found in URLs like this: ;; ;; org-protocol://sub-protocol?key=val&key2=val2 ;; ;; If it works, you can now setup other applications for using this feature. With org-protocol, one can also make Emacs receive data from browser and perform any action defined by custom handler function - all fully configurable and not necessarily related to Org mode. 17.16.3 The open-source protocol ... The open-source handler is designed to help with editing local sources when reading a document.. To that effect, you can use a bookmark with the following location: javascript:location.href='org-protocol://open-source?&url='+ encodeURIComponent(location.href) -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at