From: Jean Louis <bugs@gnu.support>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: Ypo <ypuntot@gmail.com>, Org-mode <emacs-orgmode@gnu.org>
Subject: Re: idea for capture anywhere in x
Date: Wed, 12 Oct 2022 19:55:27 +0300 [thread overview]
Message-ID: <Y0bxf0HivWiYQbvv@protected.localdomain> (raw)
In-Reply-To: <87bkqhw9vh.fsf@localhost>
* Ihor Radchenko <yantar92@gmail.com> [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/
next prev parent reply other threads:[~2022-10-12 17:06 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-09 20:15 idea for capture anywhere in x Ypo
2022-10-12 9:34 ` Ihor Radchenko
2022-10-12 10:43 ` Ypo
2022-10-12 11:37 ` Ihor Radchenko
2022-10-12 16:55 ` Jean Louis [this message]
2022-10-12 23:14 ` Ihor Radchenko
2022-10-13 11:16 ` Jean Louis
2022-10-12 14:22 ` Juan Manuel Macías
[not found] <mailman.51.1599580808.12104.emacs-orgmode@gnu.org>
2020-09-08 23:15 ` No Wayman
2020-09-13 20:29 ` Bastien
-- strict thread matches above, loose matches on Subject: below --
2020-09-08 4:22 Samuel Wales
2020-09-08 5:01 ` Tim Cross
2020-09-08 5:05 ` Samuel Wales
2020-09-08 5:21 ` Tim Cross
2020-09-08 7:18 ` Maxim Nikulin
2020-09-08 8:03 ` Diego Zamboni
2020-09-08 16:08 ` Maxim Nikulin
2020-09-08 5:39 ` Maxim Nikulin
2020-09-08 22:40 ` Samuel Wales
2020-09-09 4:52 ` Maxim Nikulin
2020-09-10 14:23 ` Maxim Nikulin
2020-09-12 8:48 ` Nick Econopouly
2022-06-10 2:35 ` Samuel Wales
2022-06-10 9:59 ` Charles Philip Chan
2022-06-11 4:11 ` Ihor Radchenko
2022-06-13 7:46 ` Max Nikulin
2022-06-13 9:10 ` Michal Politowski
2022-06-13 10:04 ` Max Nikulin
2022-06-13 14:02 ` Michal Politowski
2022-10-12 1:09 ` Samuel Wales
2022-10-09 14:47 ` Jean Louis
2022-10-09 16:40 ` Max Nikulin
2022-10-09 17:08 ` Jean Louis
2022-10-10 17:16 ` Max Nikulin
2022-10-10 22:06 ` Jean Louis
2022-10-11 9:11 ` Juan Manuel Macías
2022-10-12 1:09 ` Samuel Wales
2022-10-15 3:40 ` Max Nikulin
2022-10-26 4:40 ` Samuel Wales
2022-10-26 4:58 ` Ihor Radchenko
2022-10-26 5:05 ` Samuel Wales
2022-10-12 17:16 ` Max Nikulin
2022-10-12 20:06 ` Jean Louis
2020-09-09 8:40 ` Russell Adams
2020-09-09 21:11 ` Samuel Wales
2020-09-09 1:07 ` Ihor Radchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y0bxf0HivWiYQbvv@protected.localdomain \
--to=bugs@gnu.support \
--cc=emacs-orgmode@gnu.org \
--cc=yantar92@gmail.com \
--cc=ypuntot@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).