From: indieterminacy <indieterminacy@libre.brussels>
To: "Juan Manuel Macías" <maciaschain@posteo.net>
Cc: orgmode <emacs-orgmode@gnu.org>
Subject: Re: Org and Hyperbole
Date: Mon, 20 Jun 2022 18:24:47 +0200 [thread overview]
Message-ID: <df6e1edc479283f7d543495aef1b2103@libre.brussels> (raw)
In-Reply-To: <875ykvbffg.fsf@posteo.net>
Hi Juan,
On 20-06-2022 16:03, Juan Manuel Macías wrote:
> Hi,
>
> I've been intrigued with GNU Hyperbole for a while. I'm reading the
> documentation and trying it out a bit. It seems that its button system
> is very powerful. But Org links are also powerful (and exportable), and
> can be extended outside of Org docs. It seems that hyperbole offers
> some
> cool stuff that Org also has. And other things that are not in Org. I
> find some parts a bit confusing. I wonder if anyone is using hyperbole
> with Org and can put here some minimal workflow example where both
> complement each other in some way. Just in case I'm missing something
> useful...
>
I recommend Hyperbole, though I must confess Ive been using Orgmode a
lot less since Ive been focusing on the format GemText.
I should recommend the use of the function defil, for people who like
regexes and want to operate differing contexts (to launch via the ACTION
operator). Its mid-grade compared to the more simpler approach and the
more complex eLisp approach.
While I have not fully applied this technique to my workflow, you can
see some /stub/ experimentations that are used to provide different
function calls based upon where the cursor is in the context of a
specific annotation (namely my annotation approach, Qiuy).
https://git.sr.ht/~indieterminacy/5q50jq_oq_configuring_emacs/tree/master/item/cqc_mqm_interfacing_blooms.el
The logic for the example includes:
<function-call> <function-name> <opening-regex> <closing-regex>
<cursor-regex> <result-from-context> <options>
As you see below, these things build through to build multiple cursor
based contexts.
```
(defil qiuy-1q10hqh_1 "^" "q10hqh.*" "1" "{M-: (print \"context_1 1q\")
RET}" t t)
(defil qiuy-1q10hqh_2 "^1" "10hqh.*" "q" "{M-: (print \"context_2
[1-6]q\") RET}" t t)
(defil qiuy-1q10hqh_3 "^1q" "0hqh.*" "1" "{M-: (print \"context_3
1q10\") RET}" t t)
(defil qiuy-1q10hqh_4 "^1q1" "hqh.*" "0" "{M-: (isearch-forward-symbol
\"q10\") RET}" t t)
(defil qiuy-1q10hqh_5 "^1q10" "qh.*" "h" "{M-: (rg-project \"hqh\"
\".*\") RET}" t t)
(defil qiuy-1q10hqh_6 "^1q10h" "h.*" "q" "{M-: (print \"context_6
1q10hqh\") RET}" t t)
(defil qiuy-1q10hqh_7_\s "^1q10hqh" "$" "\s(.*)" "{M-: (print
\"context_7_\s 1q10hqh \\&\") RET}" t t)
(defil qiuy-1q10hqh_7_\t "^1q10hqh" "$" "\t(.*)" "{M-: (print
\"context_7_\t 1q10hqh \\&\") RET}" t t)
(defil qiuy-1q10hqh_7_- "^1q10hqh" "$" "-(.*)" "{M-: (print
\"context_7_- 1q10hqh \\&\") RET}" t t)
(defil qiuy-1q10hqh_7__ "^1q10hqh" "$" "_(.*)" "{M-: (print
\"context_7__ 1q10hqh \\&\") RET}" t t)
```
Documentation for the function defil can be found here:
https://www.gnu.org/software/hyperbole/man/hyperbole.html#Implicit-Button-Link-Types
The Hyperbole ML is quiet but friendly and informative.
Having examined Hyperbole more broadly, I do wonder if there was more of
a policy to treat Orgmode as more of a parrallel concern.
Today, there is clearly a proactive effort to align and encourage cross
usage.
To hear that somebody as accomplished as yourself is dabbling with
Hyperbole pleases me no end.
It may be worth you visiting one of my knowledge repos here:
https://git.sr.ht/~indieterminacy/3q50cqc_oq_interfaces_emacs
As well as (over time) checking on on these search parameters for my
username:
https://git.sr.ht/~indieterminacy/?search=hyperbole
https://git.sr.ht/~indieterminacy/?search=koutliner
Of note, I should mention my own project, Icebreaker - which has been
augmenting the GemText format with terse syntaxes and formats -
including Hyperboles Koutliner format (which if I understand may be able
to include orgmode tables in its blocks with the new version - I could
be wrong here).
Here is a WIP parser written in TXR - for parsing Koutliner blocks (with
or without my Qiuy annotations) and expressing it as a datalisp:
https://git.sr.ht/~indieterminacy/1q20hqh_oqo_parsing_glean
I shall be tightening it up soon, including integrating it with a WIP
GemText parser (its terser atm but missing a little):
https://git.sr.ht/~indieterminacy/1q20hqh_kq_parsing_gemtext
An NLNet funded project, I am going to later be exporting some of this
information into simple Orgmode syntax as a subset of one of the
deliverables. An earlier protyping is covered here in a more recent
Fosdem talk:
https://fosdem.org/2022/schedule/event/minimalsyntaxes/
Im happy to answer any more questions with regards to this in this
thread or elsewhere.
It may be worth highlighting a matrix room my Icebreaker project runs to
reduce clutter from other MLs.
The members there are friendly, knowledgable and use Orgmode for a range
of tasks:
https://matrix.to/#/#xq_icebreaker:matrix.org
You are a clear and concise writer and coder. I would love to hear the
outcomes from this exploration.
If I recall you are an emacspeak user - which I seem to think has been
praised for its integration with Hyperbole so that should be more than
enough justification to really get into it.
Kind regards,
--
Jonathan McHugh
indieterminacy@libre.brussels
next prev parent reply other threads:[~2022-06-20 16:26 UTC|newest]
Thread overview: 118+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-20 14:03 Org and Hyperbole Juan Manuel Macías
2022-06-20 15:26 ` Russell Adams
2022-06-20 16:57 ` Eduardo Ochs
2022-06-20 23:28 ` Juan Manuel Macías
2022-06-20 23:37 ` Tim Cross
2022-09-27 13:06 ` Jean Louis
2022-09-27 15:08 ` Russell Adams
2022-10-08 17:26 ` Robert Weiner
2022-09-27 13:18 ` Jean Louis
2022-06-22 15:13 ` Russell Adams
2022-06-22 17:36 ` Bill Burdick
2022-06-22 18:05 ` David Masterson
2022-06-22 19:03 ` Bill Burdick
2022-06-23 3:46 ` David Masterson
2022-06-20 15:56 ` Uwe Brauer
2022-06-20 16:09 ` Bill Burdick
2022-06-20 16:24 ` indieterminacy [this message]
2022-06-22 14:48 ` Juan Manuel Macías
2022-09-27 13:26 ` Jean Louis
2022-06-21 3:08 ` David Masterson
2022-06-22 10:37 ` Juan Manuel Macías
2022-06-22 14:35 ` Bill Burdick
2022-06-22 19:23 ` David Masterson
2022-06-22 19:26 ` Bill Burdick
2022-06-22 19:55 ` Bill Burdick
2022-06-23 18:48 ` Eduardo Ochs
2022-06-22 19:17 ` David Masterson
2022-06-23 1:12 ` Samuel Wales
2022-06-23 4:04 ` David Masterson
2022-06-23 5:22 ` indieterminacy
2022-06-23 15:38 ` Samuel Banya
2022-06-23 23:30 ` Samuel Wales
2022-06-23 23:36 ` Samuel Wales
2022-06-24 5:50 ` indieterminacy
2022-09-27 13:33 ` Jean Louis
2022-10-07 20:34 ` Jean Louis
-- strict thread matches above, loose matches on Subject: below --
2022-06-22 19:57 linux_hpc_akr
2022-06-23 6:47 ` Bill Burdick
2022-06-23 6:53 ` Bill Burdick
2022-06-24 1:45 Robert Weiner
2022-06-24 1:56 ` Robert Weiner
2022-06-24 4:32 ` Samuel Wales
2022-06-24 5:34 ` Robert Weiner
2022-06-24 10:55 ` indieterminacy
2022-06-24 12:51 ` Robert Weiner
2022-10-08 20:26 ` Robert Weiner
2022-10-10 4:02 ` indieterminacy
2022-09-27 13:59 ` Jean Louis
2022-10-04 6:10 ` Robert Weiner
2022-10-04 18:05 ` David Masterson
2022-10-07 19:52 ` Jean Louis
2022-10-08 21:05 ` Robert Weiner
2022-10-09 9:54 ` Jean Louis
2022-10-10 16:44 ` David Masterson
2022-10-10 23:04 ` Jean Louis
2022-10-11 0:21 ` David Masterson
2022-10-07 22:57 ` Jean Louis
2022-10-10 16:50 ` David Masterson
2022-10-10 23:07 ` Jean Louis
2022-10-08 20:53 ` Robert Weiner
2022-10-09 11:16 ` Jean Louis
2022-10-10 16:52 ` David Masterson
2022-10-07 22:18 ` Jean Louis
2022-09-27 13:52 ` Jean Louis
2022-06-24 2:13 ` Eduardo Ochs
2022-06-24 2:20 ` Robert Weiner
2022-06-24 2:14 ` Robert Weiner
2022-06-24 6:29 ` Tim Cross
2022-06-24 12:44 ` Robert Weiner
2022-06-24 13:52 ` Juan Manuel Macías
2022-06-24 22:06 ` Robert Weiner
2022-06-25 14:32 ` Juan Manuel Macías
2022-06-25 20:35 ` Robert Weiner
2022-10-08 20:34 ` Robert Weiner
2022-10-08 21:43 ` Juan Manuel Macías
2022-06-24 17:57 ` João Pedro
2022-06-25 1:32 ` Robert Weiner
2022-07-02 4:41 ` Samuel Wales
2022-07-02 4:49 ` Ihor Radchenko
2022-07-02 4:57 ` Samuel Wales
2022-07-02 5:12 ` Ihor Radchenko
2022-07-02 21:38 ` Samuel Wales
2022-07-07 12:18 ` Max Brieiev
2022-07-07 12:27 ` Ihor Radchenko
2022-07-16 23:16 ` Robert Weiner
2022-07-16 23:17 ` Robert Weiner
2022-06-25 19:07 ` David Masterson
2022-06-25 20:49 ` Robert Weiner
2022-06-25 21:18 ` David Masterson
2022-10-08 19:44 ` Robert Weiner
2022-09-27 14:06 ` Jean Louis
2022-10-04 6:11 ` Robert Weiner
2022-10-07 22:04 ` Jean Louis
2022-06-26 6:37 ` Siva Swaminathan
2022-06-26 7:24 ` tomas
2022-06-26 20:03 ` David Masterson
2022-06-26 20:27 ` indieterminacy
2022-06-26 20:51 ` Robert Weiner
2022-06-27 23:16 ` David Masterson
2022-06-26 20:27 ` Robert Weiner
2022-10-08 19:52 ` Robert Weiner
2022-07-04 10:43 ` Fraga, Eric
2022-07-04 11:01 ` Ihor Radchenko
2022-07-04 11:08 ` Fraga, Eric
2022-07-04 11:09 ` Tim Cross
2022-07-04 14:20 ` Fraga, Eric
2022-07-04 16:56 ` Robert Weiner
2022-07-06 16:58 ` Fraga, Eric
2022-07-07 2:33 ` Robert Weiner
2022-07-07 10:46 ` Fraga, Eric
2022-10-08 20:01 ` Robert Weiner
2022-10-04 6:46 Payas Relekar
2022-10-07 22:44 ` Jean Louis
2022-10-08 0:45 ` Hendursaga
2022-10-08 1:05 ` Jean Louis
2022-10-08 17:04 ` Robert Weiner
2022-10-08 20:48 ` Robert Weiner
2022-10-09 9:12 Payas Relekar
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=df6e1edc479283f7d543495aef1b2103@libre.brussels \
--to=indieterminacy@libre.brussels \
--cc=emacs-orgmode@gnu.org \
--cc=maciaschain@posteo.net \
/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).