emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode@gnu.org
Subject: Re: Introducing Org-transclusion
Date: Fri, 05 Nov 2021 21:15:14 +0100	[thread overview]
Message-ID: <87wnlmpdf1.fsf@mat.ucm.es> (raw)
In-Reply-To: <87o86yl82f.fsf@nobiot.com>

[-- Attachment #1: Type: text/plain, Size: 11056 bytes --]

>>> "NO" == Noboru Ota <me@nobiot.com> writes:

> Uwe Brauer <oub@mat.ucm.es> writes:
>> If I include the content of another org file (say Russell) into my
>> main.org file
>> 
>> 1. I can export main.org to say latex and that latex file includes
>> the corresponding content of Russell.
>> 2. It is a one way bridge, I cannot modify the content of Russell in
>> main.org, right?

> You can.  Put your point on the read-only copied text content in
> main.org (transcluded text) and press "e" to call the
> "org-transclusion-live-sync-start" command.  The transcluded text and
> source will get an overlay, which lets you edit and sync the changed
> content real-time. This works both ways.


Ok I tried that out, both files are indeed org file (I thought that is
the most natural way anyhow)

I finished the editing with C-c C-c
but received a error message that confused me
,----
| 
| Warning (emacs): org-element--cache: Unregistered buffer modifications detected. Resetting.
| If this warning appears regularly, please report it to Org mode mailing list (M-x org-submit-bug-report).
| The buffer is: mytransclusion.org
|  Current command: org-transclusion-mode
|  Backtrace:
| "  backtrace-to-string(nil)
|   org-element--cache-sync(#<buffer mytransclusion.org> 14)
|   org-element-at-point()
|   org-transclusion-keyword-string-to-plist()
|   org-transclusion-add-all()
|   org-transclusion-mode(toggle)
|   funcall-interactively(org-transclusion-mode toggle)
|   call-interactively(org-transclusion-mode nil nil)
|   command-execute(org-transclusion-mode)
| " Disable showing Disable logging
| Warning (emacs): org-element--cache: Unregistered buffer modifications detected. Resetting.
| If this warning appears regularly, please report it to Org mode mailing list (M-x org-submit-bug-report).
| The buffer is: mytransclusion.org
|  Current command: org-transclusion-add
|  Backtrace:
| "  backtrace-to-string(nil)
|   org-element--cache-sync(#<buffer mytransclusion.org> 32)
|   org-element-at-point()
|   org-transclusion-check-add()
|   org-transclusion-add()
|   funcall-interactively(org-transclusion-add)
|   call-interactively(org-transclusion-add nil nil)
|   command-execute(org-transclusion-add)
| " Disable showing Disable logging
| Warning (emacs): org-element--cache: Unregistered buffer modifications detected. Resetting.
| If this warning appears regularly, please report it to Org mode mailing list (M-x org-submit-bug-report).
| The buffer is: mytransclusion.org
|  Current command: kill-this-buffer
|  Backtrace:
| "  backtrace-to-string(nil)\12  org-element--cache-sync(#<buffer mytransclusion.org> 91)\12  org-element-at-point(91)\12  org-element--cache-persist-before-write(org-element--cache #<buffer mytransclusion.org>)\12  run-hook-with-args-until-success(org-element--cache-persist-before-write org-element--cache #<buffer mytransclusion.org>)\12  #f(compiled-function (v) #<bytecode -0x1255c0fe8f3c6b1a>)(org-element--cache)\12  #f(compiled-function (elt) #<bytecode -0x5112befcede9fba>)(org-element--cache)\12  mapc(#f(compiled-function (elt) #<bytecode -0x5112befcede9fba>) (org-element--headline-cache org-element--cache))\12  seq-do(#f(compiled-function (elt) #<bytecode -0x5112befcede9fba>) (org-element--headline-cache org-element--cache))\12  seq-find(#f(compiled-function (v) #<bytecode -0x1255c0fe8f3c6b1a>) (org-element--headline-cache org-element--cache))\12  org-persist-write((org-element--headline-cache org-element--cache) #<buffer mytransclusion.org>)\12  org-persist-write-all(#<buffer mytransclusion.org>)\12  org-persist-write-all-buffer()\12  kill-buffer(#<buffer mytransclusion.org>)\12  kill-scratch-buffer()\12  kill-buffer(#<buffer mytransclusion.org>)\12  kill-this-buffer()\12  funcall-interactively(kill-this-buffer)\12  call-interactively(kill-this-buffer nil nil)\12  command-execute(kill-this-buffer)\12" Disable showing Disable logging
| Warning (emacs): org-element--cache: Unregistered buffer modifications detected. Resetting.
| If this warning appears regularly, please report it to Org mode mailing list (M-x org-submit-bug-report).
| The buffer is: mytransclusion.org
|  Current command: org-transclusion-add
|  Backtrace:
| "  backtrace-to-string(nil)
|   org-element--cache-sync(#<buffer mytransclusion.org> 14)
|   org-element-at-point()
|   org-transclusion-check-add()
|   org-transclusion-add()
|   funcall-interactively(org-transclusion-add)
|   call-interactively(org-transclusion-add nil nil)
|   command-execute(org-transclusion-add)
| " Disable showing Disable logging
| Warning (emacs): org-element--cache: Unregistered buffer modifications detected. Resetting.
| If this warning appears regularly, please report it to Org mode mailing list (M-x org-submit-bug-report).
| The buffer is: mytransclusion.org
|  Current command: org-transclusion-mode
|  Backtrace:
| "  backtrace-to-string(nil)
|   org-element--cache-sync(#<buffer mytransclusion.org> 14)
|   org-element-at-point()
|   org-transclusion-keyword-string-to-plist()
|   org-transclusion-add-all()
|   org-transclusion-mode(toggle)
|   funcall-interactively(org-transclusion-mode toggle)
|   call-interactively(org-transclusion-mode nil nil)
|   command-execute(org-transclusion-mode)
| " Disable showing Disable logging
| Warning (emacs): org-element--cache: Unregistered buffer modifications detected. Resetting.
| If this warning appears regularly, please report it to Org mode mailing list (M-x org-submit-bug-report).
| The buffer is: mytransclusion.org
|  Current command: org-transclusion-add
|  Backtrace:
| "  backtrace-to-string(nil)
|   org-element--cache-sync(#<buffer mytransclusion.org> 14)
|   org-element-at-point()
|   org-transclusion-check-add()
|   org-transclusion-add()
|   funcall-interactively(org-transclusion-add)
|   call-interactively(org-transclusion-add nil nil)
|   command-execute(org-transclusion-add)
| " Disable showing Disable logging
| Warning (emacs): org-element--cache: Unregistered buffer modifications detected. Resetting.
| If this warning appears regularly, please report it to Org mode mailing list (M-x org-submit-bug-report).
| The buffer is: mytransclusion.org
|  Current command: org-export-dispatch
|  Backtrace:
| "  backtrace-to-string(nil)\12  org-element--cache-sync(#<buffer mytransclusion.org> 123)\12  org-element-at-point(123)\12  org-element--cache-persist-before-write(org-element--cache #<buffer mytransclusion.org>)\12  run-hook-with-args-until-success(org-element--cache-persist-before-write org-element--cache #<buffer mytransclusion.org>)\12  #f(compiled-function (v) #<bytecode -0x1255c674cf2eab1a>)(org-element--cache)\12  #f(compiled-function (elt) #<bytecode -0x5112befcede9fba>)(org-element--cache)\12  mapc(#f(compiled-function (elt) #<bytecode -0x5112befcede9fba>) (org-element--headline-cache org-element--cache))\12  seq-do(#f(compiled-function (elt) #<bytecode -0x5112befcede9fba>) (org-element--headline-cache org-element--cache))\12  seq-find(#f(compiled-function (v) #<bytecode -0x1255c674cf2eab1a>) (org-element--headline-cache org-element--cache))\12  org-persist-write((org-element--headline-cache org-element--cache) #<buffer mytransclusion.org>)\12  org-persist-write-all(#<buffer mytransclusion.org<2><2>>)\12  org-persist-write-all-buffer()\12  kill-buffer(#<buffer mytransclusion.org<2><2>>)\12  kill-scratch-buffer()\12  kill-buffer(#<buffer mytransclusion.org<2><2>>)\12  #f(compiled-function () #<bytecode -0x1303c4fba882ab30>)()\12  org-babel-exp-process-buffer()\12  org-export-as(latex nil nil nil (:output-file \"mytransclusion.tex\"))\12  org-export-to-file(latex \"mytransclusion.tex\" nil nil nil nil nil)\12  org-latex-export-to-latex(nil nil nil nil)\12  org-export-dispatch(nil)\12  funcall-interactively(org-export-dispatch nil)\12  call-interactively(org-export-dispatch nil nil)\12  command-execute(org-export-dispatch)\12" Disable showing Disable logging
| Warning (emacs): org-element--cache: Unregistered buffer modifications detected. Resetting.
| If this warning appears regularly, please report it to Org mode mailing list (M-x org-submit-bug-report).
| The buffer is: mytransclusion.org
|  Current command: org-transclusion-mode
|  Backtrace:
| "  backtrace-to-string(nil)
|   org-element--cache-sync(#<buffer mytransclusion.org> 14)
|   org-element-at-point()
|   org-transclusion-keyword-string-to-plist()
|   org-transclusion-add-all()
|   org-transclusion-mode(toggle)
|   funcall-interactively(org-transclusion-mode toggle)
|   call-interactively(org-transclusion-mode nil nil)
|   command-execute(org-transclusion-mode)
| " Disable showing Disable logging
| Warning (emacs): org-element--cache: Unregistered buffer modifications detected. Resetting.
| If this warning appears regularly, please report it to Org mode mailing list (M-x org-submit-bug-report).
| The buffer is: mytransclusion.org
|  Current command: org-transclusion-live-sync-start
|  Backtrace:
| "  backtrace-to-string(nil)
|   org-element--cache-sync(#<buffer mytransclusion.org> 14)
|   org-element-at-point()
|   org-transclusion-check-add()
|   org-transclusion-add()
|   org-transclusion-refresh()
|   org-transclusion-live-sync-start()
|   funcall-interactively(org-transclusion-live-sync-start)
|   call-interactively(org-transclusion-live-sync-start nil nil)
|   command-execute(org-transclusion-live-sync-start)
| " Disable showing Disable logging
| Warning (emacs): org-element--cache: Unregistered buffer modifications detected. Resetting.
| If this warning appears regularly, please report it to Org mode mailing list (M-x org-submit-bug-report).
| The buffer is: mytransclusion.org
|  Current command: org-transclusion-live-sync-exit
|  Backtrace:
| "  backtrace-to-string(nil)
|   org-element--cache-sync(#<buffer mytransclusion.org> 14)
|   org-element-at-point()
|   org-transclusion-check-add()
|   org-transclusion-add()
|   org-transclusion-refresh()
|   org-transclusion-live-sync-exit()
|   funcall-interactively(org-transclusion-live-sync-exit)
|   call-interactively(org-transclusion-live-sync-exit nil nil)
|   command-execute(org-transclusion-live-sync-exit)
| " Disable showing Disable logging
| Warning (emacs): org-element--cache: Unregistered buffer modifications detected. Resetting.
| If this warning appears regularly, please report it to Org mode mailing list (M-x org-submit-bug-report).
| The buffer is: mytransclusion.org
|  Current command: save-buffer
|  Backtrace:
| "  backtrace-to-string(nil)
|   org-element--cache-sync(#<buffer mytransclusion.org> 14)
|   org-element-at-point()
|   org-transclusion-check-add()
|   org-transclusion-add()
|   org-transclusion-after-save-buffer()
|   run-hooks(after-save-hook)
|   basic-save-buffer(t)
|   save-buffer(1)
|   funcall-interactively(save-buffer 1)
|   call-interactively(save-buffer nil nil)
|   command-execute(save-buffer)
| " Disable showing Disable logging
`----

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

  reply	other threads:[~2021-11-05 20:20 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
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 [this message]
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=87wnlmpdf1.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=emacs-orgmode@gnu.org \
    --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).