emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: TRS-80 <lists.trs-80@isnotmyreal.name>
To: emacs-orgmode@gnu.org
Subject: ol-plo.el --- Orgmode Link type for navigating Ordered Plain Lists
Date: Tue, 12 Jan 2021 15:21:54 -0500	[thread overview]
Message-ID: <55473cf050e1b3f3c716f3c43bc5bce0@isnotmyreal.name> (raw)

Hello *,

I just banged out a bit of Elisp implementing a new Orgmode link type
for navigating Ordered (i.e., numbered/lettered) Plain Lists.[0]

As I tend to use Plain Lists extensively when taking notes, this is
something I (personally) have been wanting for some time.  But maybe
others might also find it useful.

Here is a teaser, copied from my (working title) ol-plo.el file:

#+begin_src emacs-lisp
   ;;; Commentary

   ;; Implements an Orgmode link type for nagivagting to other
   ;; locations within the same Ordered (numbered) Plain List in
   ;; Orgmode.
   ;; The link type is "plo:" for Plain List, Ordered (see Plain
   ;; List section of Orgmode manual).
   ;; Example: Following Orgmode link at position [Y] like
   ;; [[plo:1.2.1.][Description]] would move point from [Y] to [X]
   ;; below:
   ;; * Heading
   ;; 1. Section
   ;;    1. Subheading
   ;;    2. Another subheading
   ;;       1. [X]Link to
   ;; 2. Another Section
   ;;       1. Link from [Y]

If there is any interest, I could post it up somewhere.  In which case,
more questions arise:

1. Where should this live?
    a. In Orgmode itself?
    b. In contrib?
    c. As an outside package?

Hence my thought to first float the idea on the mailing list.

I am also unsure I even like "plo:", maybe it should be "opl:" (for
Ordered Plain List)?  Or even something else?

Discuss!  :)


[0] https://orgmode.org/manual/Plain-Lists.html

             reply	other threads:[~2021-01-12 20:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-12 20:21 TRS-80 [this message]
2021-01-12 20:33 ` ol-plo.el --- Orgmode Link type for navigating Ordered Plain Lists Daniele Nicolodi
2021-01-12 21:17   ` TRS-80
2021-01-12 22:29     ` Samuel Wales
2021-01-13  8:42       ` Eric S Fraga

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:

  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=55473cf050e1b3f3c716f3c43bc5bce0@isnotmyreal.name \
    --to=lists.trs-80@isnotmyreal.name \
    --cc=emacs-orgmode@gnu.org \


* 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


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).