* Analyze tangled files
@ 2020-03-04 3:17 Ag Ibragimov
2020-03-04 7:36 ` Fraga, Eric
0 siblings, 1 reply; 2+ messages in thread
From: Ag Ibragimov @ 2020-03-04 3:17 UTC (permalink / raw)
To: emacs-orgmode
Is there a way to compare all tangled files with the content of an Org document and see a diff?
I hope I'm explaining it right. Basically, I want for every source block in my Org document to find corresponding tangled file and compare it with all the source blocks that tangle into that file. Is that possible?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Analyze tangled files
2020-03-04 3:17 Analyze tangled files Ag Ibragimov
@ 2020-03-04 7:36 ` Fraga, Eric
0 siblings, 0 replies; 2+ messages in thread
From: Fraga, Eric @ 2020-03-04 7:36 UTC (permalink / raw)
To: Ag Ibragimov; +Cc: emacs-orgmode@gnu.org
On Tuesday, 3 Mar 2020 at 19:17, Ag Ibragimov wrote:
> Is there a way to compare all tangled files with the content of an Org
> document and see a diff?
Not as far as I am aware of. However, you can "untangle" source files
back into the org file so you could do a diff on the org file with a
previous version (especially easy if using version control).
See info manual: (org) Extracting Source Code
Take particular note of the :comments argument for the src blocks.
Caveat: untangling has sometimes mangled my original org file. See
version control above!
HTH.
--
: Eric S Fraga via Emacs 28.0.50, Org release_9.3.6-354-g9d5880
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-04 7:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-04 3:17 Analyze tangled files Ag Ibragimov
2020-03-04 7:36 ` Fraga, Eric
Code repositories for project(s) associated with this public 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).