emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Noboru Ota <me@nobiot.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Introducing Org-transclusion
Date: Sat, 30 Oct 2021 21:59:13 +0800	[thread overview]
Message-ID: <87h7cysjf2.fsf@localhost> (raw)
In-Reply-To: <87fssispc2.fsf@nobiot.com>

Noboru Ota <me@nobiot.com> writes:

> This is my first post to Org mailing list.

Welcome ;)

> Is this type of add-on packages worth considering for inclusion into
> Org?  I am asking this question without knowing the practice of how
> these things are considered in this mailing list; apologies if I am
> missing the context.  The feedback I have received includes requests for
> me to put this discussion forward in this mailing list, so some people
> find it useful if Org-transclusion were part of Org.

You have my +100500 to have this package as part of Org :D

The package may allow several interesting things in Org:

1.  An alternative way to structure headings
    Currently, we have a rigid headline structures in Org and
    alternative tag-based approaches like Org Roam. Headline
    transclusion will allow same subtree under several headings (aka
    file system symlinks).

2. A much faster tangle system. If we can directly transclude and sync
   contents of source blocks with actual programming language buffer,
   C-c ' can trivially support flycheck-mode and provide a more
   IDE-like experience while still benefiting from literate programming
   style.

3. Visible #+INCLUDE directives. I recall multiple requests to be able
   to see the INCLUDEd files right inside source Org buffer.

4. Dynamic Org files like agenda views, but made of transcuded
   headlines. Such files can be kept in Org mode with all its features.

Transculation has been requested many times by different users. Some
relevant links:
- https://emacs.stackexchange.com/questions/51814/embed-org-task-list-from-other-subtree
- https://www.reddit.com/r/emacs/comments/dz5xeb/is_there_a_way_to_include_an_org_file_in_another/
- https://www.reddit.com/r/emacs/comments/flxqei/cloningmirroring_a_region_to_some_other_location/fl22ele/
- https://lists.gnu.org/archive/html/emacs-devel/2020-04/msg00141.html
- https://emacs.stackexchange.com/questions/57608/split-code-across-multiple-src-blocks
- https://lists.gnu.org/archive/html/help-gnu-emacs/2020-06/msg00151.html
- https://reddit.com/r/emacs/comments/debean/possible_to_embed_another_org_file_or_entry_in_an/]]

Other attempted implementations:
- https://github.com/legalnonsense/org-clones
- https://github.com/magnars/multifiles.el
- https://github.com/vspinu/lentic
- https://github.com/whacked/transclusion-minor-mode

Best,
Ihor


  parent reply	other threads:[~2021-10-30 13:59 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-30 11:51 Noboru Ota
2021-10-30 12:31 ` Juan Manuel Macías
2021-11-01  9:17   ` Noboru Ota
2021-10-30 13:59 ` Ihor Radchenko [this message]
2021-11-01  9:11   ` Noboru Ota
2021-11-01 13:24     ` Ihor Radchenko
2021-11-06 10:43       ` Noboru Ota
2021-11-08 15:07         ` Ihor Radchenko
2021-11-10 21:09           ` Noboru Ota
2021-11-14  8:22             ` Ihor Radchenko
2021-11-14  9:35               ` Ihor Radchenko
2021-11-01 20:07     ` Thomas Paulsen
2021-11-01 21:01       ` Noboru Ota
2021-11-02  5:17     ` Timothy
2021-11-05 19:53       ` Noboru Ota
2021-11-05 21:56         ` Tim Cross
2021-11-05 23:20           ` Timothy
2021-11-06 10:14             ` Noboru Ota
2021-11-06 10:22               ` Tim Cross
2021-11-06 11:49                 ` Noboru Ota
2021-11-05 17:11 ` Uwe Brauer
2021-11-05 19:24   ` Noboru Ota
2021-11-05 20:15     ` Uwe Brauer
2021-11-05 23:02       ` Noboru Ota
2021-11-06 14:01         ` Uwe Brauer
2021-11-06 14:25         ` Ihor Radchenko
2021-11-06 14:54           ` Noboru Ota
2021-11-06 15:49             ` Uwe Brauer
2021-11-07  7:34               ` Ihor Radchenko
2021-11-07  8:07                 ` Uwe Brauer
2021-11-07  8:30                   ` Ihor Radchenko
2021-11-07 13:25                     ` Uwe Brauer
2021-11-07 13:41                       ` Ihor Radchenko
2021-11-07 13:56                         ` Uwe Brauer
2021-11-05 19:59   ` Noboru Ota
2021-11-05 20:13     ` Uwe Brauer

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=87h7cysjf2.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=me@nobiot.com \
    --subject='Re: Introducing Org-transclusion' \
    /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

Code repositories for project(s) associated with this 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).