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 IAHyAAn0RmPZdgAAbAwnHQ (envelope-from ) for ; Wed, 12 Oct 2022 19:06:17 +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 oIUQAQn0RmPclgAAauVa8A (envelope-from ) for ; Wed, 12 Oct 2022 19:06:17 +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 E117F2FB9D for ; Wed, 12 Oct 2022 19:06:06 +0200 (CEST) Received: from localhost ([::1]:41430 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oifBE-0006ej-TH for larch@yhetil.org; Wed, 12 Oct 2022 13:06:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47944) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oif9w-0006cH-ME for emacs-orgmode@gnu.org; Wed, 12 Oct 2022 13:04:44 -0400 Received: from stw1.rcdrun.com ([217.170.207.13]:39695) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oif9o-0006Ig-0O for emacs-orgmode@gnu.org; Wed, 12 Oct 2022 13:04:44 -0400 Received: from localhost ([::ffff:197.239.5.209]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000BBD14.000000006346F39F.000058DC; Wed, 12 Oct 2022 10:04:30 -0700 Date: Wed, 12 Oct 2022 19:55:27 +0300 From: Jean Louis To: Ihor Radchenko Cc: Ypo , Org-mode Subject: Re: idea for capture anywhere in x Message-ID: Mail-Followup-To: Ihor Radchenko , Ypo , Org-mode References: <8735btidvh.fsf@localhost> <86876850-b1cd-e495-60c7-b091dbebdd9e@gmail.com> <87bkqhw9vh.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <87bkqhw9vh.fsf@localhost> User-Agent: Mutt/2.2.7+37 (a90f69b) (2022-09-02) Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com 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, RCVD_IN_SBL=0.141, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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=1665594367; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=VUfy6QhxFOVaB/qIpV3hbseC875LST4ec+1II7/lQmA=; b=FOVXWYUL/Q10SoZoZxlEqoWAeQPLgVQ3lH+jtwdJVx3T9Je4Zw7+wV0e7gJC1lfahlV2mb KdvO12N/6dR6HVaocw1WN+W244UajkngOZ/MMRr6bz9rOf5crS1cGGhtJlQOUhQ4MH5a0Q DTccqOB4HgPDT3jGyj7h4gKhMd+h4vSzEg+wnRrl40ExT2H33gbJcqazM9XXXYy+x0PqQ2 aUVM1NKG8ZxedBA2UMs95tVJ67dE/+rMkWv4QVF1L2BMT9RS0MjdXHb8NPe/x3euq0DIk4 rssr4Zou8lHOY3C9wDbeHyyCxd+tYpUEBCdV+Nbq9ROD4IS+zCTrQ2vzbR0RWQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665594367; a=rsa-sha256; cv=none; b=RDnY1yQNv01REz41mrhzyz2ajCrt5OJwgjQv7apuqi4iLOgNNwNOAIn3k//y6RMe66jhEa NdSBoS92FWKjc32Dhz+lROFPhdEDEA7UQSPdcFPr6PS6ECjkFkbpKB8GZjb+Zj1/+VI099 DyB7Jxo6+AGIXSimOP/gNMEmHACQROWQcyS54YAyGYPDn2LVdH90wGAIeLUL6fLTcjtbLj vHNO+xeyMrA5fjOPAHpBu3OX/J36syjpKrXBi0alhXqOQOIGWKU3kYYw0bZHHQ0MvArsOL hpBD6lwi8rTVxrADI9UkNMzmtDIBedvmk+OUVS4QCHKG3pgsrKpXZRtgkHipyw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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: -0.90 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: E117F2FB9D X-Spam-Score: -0.90 X-Migadu-Scanner: scn1.migadu.com X-TUID: MDMoDGipfvDB * Ihor Radchenko [2022-10-12 14:37]: > I was mostly answering about X website to eww website part. org-protocol > is a way to run arbitrary Elisp when Emacs is called with an arbitrary > data (not necessarily file). Sounds sensational, while it is not. According to (info "(org) Protocols") it says that data has to conform to specific URL specification. It is a way to standardize input to Org, rather then to general Emacs and it was meant to be used from browsers. Then the Emacs Lisp is run according to settings in Emacs which have to match the Org Protocol URLs, right? Even though it was made rather for browser, it may be used in many ways with or without browser. Though: Emacs has in any case the capability to accept information in various ways and then run we could say really arbitrary Emacs lisp, as the command line options allow it. How data is sent from external programs may be decided, coded, prepared by such programs. The freedom shall not be forgotten. How I see it, people may think that Org Protocol is the only way to add information to Emacs. Neither it is not the only way to add Org information or notes to Org or any other type of the file. As Org headings begin with stars, one can easily concatenate various information from various sources and convert it to Org file. Let us say from places.sqlite where Firefox and derivate browsers' bookmarks are held, with one liner it may be converted to Org headings. It is not as sophisticated. sqlite3 places.sqlite "select '** ' || title || char(10) || char(10) || title || ': ' || url || char(10) || char(10) FROM 'moz_places';" It will give the output like: ** Libervia Libervia: https://salut-a-toi.org/presentation#demo ** Libervia Libervia: https://www.libervia.org/ ** Libervia register new account Libervia register new account: https://www.libervia.org/register?redirect_url=%2F ** flatpak invalid compressed data at DuckDuckGo flatpak invalid compressed data at DuckDuckGo: https://html.duckduckgo.com/html/?q=flatpak+invalid+compressed+data -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/