>>> "NO" == Noboru Ota writes: > Uwe Brauer 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(# 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(# 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(# 91)\12 org-element-at-point(91)\12 org-element--cache-persist-before-write(org-element--cache #)\12 run-hook-with-args-until-success(org-element--cache-persist-before-write org-element--cache #)\12 #f(compiled-function (v) #)(org-element--cache)\12 #f(compiled-function (elt) #)(org-element--cache)\12 mapc(#f(compiled-function (elt) #) (org-element--headline-cache org-element--cache))\12 seq-do(#f(compiled-function (elt) #) (org-element--headline-cache org-element--cache))\12 seq-find(#f(compiled-function (v) #) (org-element--headline-cache org-element--cache))\12 org-persist-write((org-element--headline-cache org-element--cache) #)\12 org-persist-write-all(#)\12 org-persist-write-all-buffer()\12 kill-buffer(#)\12 kill-scratch-buffer()\12 kill-buffer(#)\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(# 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(# 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(# 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(# 123)\12 org-element-at-point(123)\12 org-element--cache-persist-before-write(org-element--cache #)\12 run-hook-with-args-until-success(org-element--cache-persist-before-write org-element--cache #)\12 #f(compiled-function (v) #)(org-element--cache)\12 #f(compiled-function (elt) #)(org-element--cache)\12 mapc(#f(compiled-function (elt) #) (org-element--headline-cache org-element--cache))\12 seq-do(#f(compiled-function (elt) #) (org-element--headline-cache org-element--cache))\12 seq-find(#f(compiled-function (v) #) (org-element--headline-cache org-element--cache))\12 org-persist-write((org-element--headline-cache org-element--cache) #)\12 org-persist-write-all(#<2>>)\12 org-persist-write-all-buffer()\12 kill-buffer(#<2>>)\12 kill-scratch-buffer()\12 kill-buffer(#<2>>)\12 #f(compiled-function () #)()\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(# 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(# 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(# 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(# 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 `----