emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Introducing Org-transclusion


From: Uwe Brauer
Subject: Re: Introducing Org-transclusion
Date: Fri, 05 Nov 2021 21:15:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>>> "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: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]