* [ELPA] New package: org-real
@ 2021-10-05 19:46 Tyler Grinn
2021-10-05 20:08 ` Tyler Grinn
0 siblings, 1 reply; 3+ messages in thread
From: Tyler Grinn @ 2021-10-05 19:46 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 1845 bytes --]
I would like to propose that org-real be added to ELPA.
Org real allows you to keep track of real things as org-mode links. A
real link looks like this: real://mouth/nose?rel=below . Following a
real link pops up a boxy.el diagram which shows where the thing is. The
command org-real-world will combine all real links in the current buffer
and display it as a boxy.el diagram.
You can use it to map a physical filing system to your org-mode workflow
or sprinkle real links throughout an existing org file to create a
alternate hierarchy to navigate with org-real-world.
https://gitlab.com/tygrdev/org-real
I have some implementation questions for anyone willing to take a look.
https://gitlab.com/tygrdev/org-real/-/blob/19711cb1362f8fb21ee6ab1d4f71dfc2adc4c798/org-real.el#L464-496
In order to support editing existing real links with the org-real custom
completion mechanism, I temporarily advise read-string, during the
org-insert-link process, to look out for real links.
In that same section, I shadow org-link-make-description-function in
order to suggest a description if both the existing description and
org-link-make-description-function are unset.
I call org-real-apply after inserting a link to check that the new link
does not conflict with any other real link in the buffer, if it is real.
https://gitlab.com/tygrdev/org-real/-/blob/19711cb1362f8fb21ee6ab1d4f71dfc2adc4c798/org-real.el#L561-580
The function org-link-make-string is not available in Emacs 26, so I've
copied the implementation from Emacs 27 for backwards compatibility.
https://gitlab.com/tygrdev/org-real/-/blob/19711cb1362f8fb21ee6ab1d4f71dfc2adc4c798/org-real.el#L641-656
I've copied the args construction from ispell-start-process.
I assume copying existing Emacs code is OK, I just wanted to be sure and
see if I needed any attribution.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Add org-real to elpa-packages --]
[-- Type: text/x-diff, Size: 513 bytes --]
diff --git a/elpa-packages b/elpa-packages
index 480f7dd2a8..280f48650b 100644
--- a/elpa-packages
+++ b/elpa-packages
@@ -288,6 +288,9 @@
:shell-command "make autoloads info; mv doc/org.info org.info; mv doc/orgguide.info orgguide.info"
:doc ("org.info" "orgguide.info")
:auto-sync t)
+ ("org-real"
+ :url "https://gitlab.com/tygrdev/org-real"
+ :auto-sync t)
("org-translate" :url nil)
("orgalist" :url nil)
("org-edna" :url "bzr::https://bzr.savannah.gnu.org/r/org-edna-el") ;URL?
[-- Attachment #3: Type: text/plain, Size: 15 bytes --]
Best,
Tyler
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [ELPA] New package: org-real
2021-10-05 19:46 [ELPA] New package: org-real Tyler Grinn
@ 2021-10-05 20:08 ` Tyler Grinn
2021-10-06 6:56 ` tomas
0 siblings, 1 reply; 3+ messages in thread
From: Tyler Grinn @ 2021-10-05 20:08 UTC (permalink / raw)
To: emacs-devel
Tyler Grinn <tylergrinn@gmail.com> writes:
> real://mouth/nose?rel=below
I'm being told the nose is actually above the mouth. I should've already
known this as I am a human just like all of you.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ELPA] New package: org-real
2021-10-05 20:08 ` Tyler Grinn
@ 2021-10-06 6:56 ` tomas
0 siblings, 0 replies; 3+ messages in thread
From: tomas @ 2021-10-06 6:56 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 398 bytes --]
On Tue, Oct 05, 2021 at 04:08:51PM -0400, Tyler Grinn wrote:
> Tyler Grinn <tylergrinn@gmail.com> writes:
>
> > real://mouth/nose?rel=below
>
> I'm being told the nose is actually above the mouth. I should've already
> known this as I am a human just like all of you.
I was just assuming you're from Down Under and that I was seeing
what my locale is showing to me ;-P
Cheers
- t
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-10-06 6:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-05 19:46 [ELPA] New package: org-real Tyler Grinn
2021-10-05 20:08 ` Tyler Grinn
2021-10-06 6:56 ` tomas
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.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).