org-mode/lisp
Bastien 9f0af69dd2 Skip archived headings when tangling and exporting
* lisp/org.el (org-in-archived-heading-p): New function.

* lisp/ob-exp.el (org-babel-exp-process-buffer):
* lisp/ob-tangle.el (org-babel-tangle-collect-blocks): Use
`org-in-archived-heading-p' to skip archived headings when tangling
and exporting.

* testing/lisp/test-org.el (test-org/in-archived-heading-p): Add
test for `org-in-archived-heading-p'.

Reported-by: flare <gabrielxaviersmith@gmail.com>
See https://orgmode.org/list/877dt9ey2c.fsf@gmail.com/
2020-09-07 06:51:06 +02:00
..
Makefile Move link-related core functions out of "org.el" 2019-03-10 18:00:27 +01:00
ob-C.el Merge branch 'maint' 2020-09-04 12:12:37 +02:00
ob-J.el ob-J.el: Add a maintainer 2020-09-05 08:06:01 +02:00
ob-R.el lisp/ob-R.el: Don't throw an error when result cannot be parsed 2020-05-24 16:08:52 +02:00
ob-abc.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-asymptote.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-awk.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-calc.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-clojure.el ob-clojure.el: More minor refinements 2020-02-17 02:38:02 +01:00
ob-comint.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-coq.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-core.el ob-core.el: Fix `org-babel--string-to-number' 2020-09-06 22:41:21 +02:00
ob-css.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-ditaa.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-dot.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-ebnf.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-emacs-lisp.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-eshell.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-eval.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-exp.el Skip archived headings when tangling and exporting 2020-09-07 06:51:06 +02:00
ob-forth.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-fortran.el Backport commit 770f76f05 from Emacs 2020-03-15 22:51:31 -04:00
ob-gnuplot.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-groovy.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-haskell.el ob-haskell: Introduce :compile header argument 2020-05-25 09:17:14 +02:00
ob-hledger.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-io.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-java.el Merge branch 'maint' 2020-09-06 11:50:36 +02:00
ob-js.el Merge branch 'maint' 2020-05-22 16:08:33 +02:00
ob-latex.el Merge branch 'maint' 2020-05-10 14:54:36 +02:00
ob-ledger.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-lilypond.el Various minor fixes 2020-02-18 23:24:09 +01:00
ob-lisp.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-lob.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-lua.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-makefile.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-matlab.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-maxima.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-mscgen.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-ocaml.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-octave.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-org.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-perl.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-picolisp.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-plantuml.el ob-plantuml: Add support for plantuml executable 2020-09-04 12:36:58 +02:00
ob-processing.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-python.el ob-python: Improve robustness of session evaluation 2020-09-06 18:15:04 -07:00
ob-ref.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-ruby.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-sass.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-scheme.el ob-scheme.el: Add support for `geiser-scheme-implementation' 2020-06-08 10:46:08 +02:00
ob-screen.el ob-screen: Quote session name before passing to string-match 2020-07-15 23:28:00 -04:00
ob-sed.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-shell.el ob-shell.el: Fix previous commit 2020-09-06 22:35:28 +02:00
ob-shen.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-sql.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-sqlite.el Merge branch 'maint' 2020-09-06 11:59:31 +02:00
ob-stan.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-table.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ob-tangle.el Skip archived headings when tangling and exporting 2020-09-07 06:51:06 +02:00
ob-vala.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ol-bbdb.el lisp/ol-bbdb.el: Tiny formatting enhancements 2020-05-23 10:32:43 +02:00
ol-bibtex.el Merge branch 'maint' 2020-06-05 10:40:14 +02:00
ol-docview.el Move custom links to new tooling 2020-02-19 18:42:50 +01:00
ol-eshell.el Move custom links to new tooling 2020-02-19 18:42:50 +01:00
ol-eww.el Move custom links to new tooling 2020-02-19 18:42:50 +01:00
ol-gnus.el Move custom links to new tooling 2020-02-19 18:42:50 +01:00
ol-info.el Move custom links to new tooling 2020-02-19 18:42:50 +01:00
ol-irc.el Move custom links to new tooling 2020-02-19 18:42:50 +01:00
ol-mhe.el Move custom links to new tooling 2020-02-19 18:42:50 +01:00
ol-rmail.el Move custom links to new tooling 2020-02-19 18:42:50 +01:00
ol-w3m.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ol.el ol.el: Fix store and insert link in indirect buffer 2020-09-04 17:59:21 +02:00
org-agenda.el Merge branch 'maint' 2020-09-05 10:35:40 +02:00
org-archive.el Merge branch 'maint' 2020-04-12 01:44:21 -04:00
org-attach-git.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-attach.el Merge branch 'maint' 2020-07-08 00:12:06 -04:00
org-capture.el Merge branch 'maint' 2020-09-05 11:14:32 +02:00
org-clock.el Merge branch 'maint' into master 2020-08-23 22:39:44 -04:00
org-colview.el Merge branch 'maint' 2020-05-12 22:47:05 -04:00
org-compat.el Merge branch 'maint' 2020-08-10 20:38:18 -04:00
org-crypt.el fixup! Merge branch 'maint' 2020-09-06 10:05:43 +02:00
org-ctags.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-datetree.el Merge branch 'maint' 2020-01-01 13:39:26 -05:00
org-duration.el Add `generated-autoload-file' buffer local variable 2020-02-18 23:37:24 +01:00
org-element.el org-element: Update docstring 2020-06-13 17:32:07 +02:00
org-entities.el entities: rename section with eth and thorn to "Icelandic" 2020-07-05 23:51:40 +02:00
org-faces.el Merge branch 'maint' 2020-08-10 20:38:18 -04:00
org-feed.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-footnote.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-goto.el Merge branch 'maint' 2020-09-05 09:41:42 +02:00
org-habit.el habit: Fix of the fix of color for very first done of a habit 2020-07-04 12:44:13 +02:00
org-id.el id: Fix error about `agenda-archives' 2020-07-14 19:07:14 +02:00
org-indent.el org-indent.el: Deprecate `org-hide-leading-stars-before-indent-mode' 2020-02-20 15:17:21 +01:00
org-inlinetask.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-install.el
org-keys.el Bind `org-force-cycle-archived' to C-c C-TAB 2020-06-01 14:39:28 +02:00
org-lint.el lint: Silence byte-compiler 2020-07-02 19:36:34 +02:00
org-list.el list: Fix item insertion when split point is near blanks 2020-08-16 11:42:53 +02:00
org-macro.el macro: Small refactoring. 2020-04-26 22:57:47 +02:00
org-macs.el org-macs.el: Silence byte-compiler under 'make single' 2020-07-15 23:37:21 -04:00
org-mobile.el Fix org menu initialization 2020-02-07 16:26:31 +01:00
org-mouse.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
org-num.el org-num: Fix bug in check for commented headlines 2020-08-27 11:29:12 +02:00
org-pcomplete.el Silence byte-compiler 2020-06-03 16:52:20 +02:00
org-plot.el table: Allow collapsing header into single line 2020-06-28 23:02:26 +02:00
org-protocol.el org-protocol: Allow slashes after sub-protocol 2020-05-22 17:54:41 +02:00
org-refile.el Fix loading issues related to org-refile.el move 2020-04-26 01:29:33 -04:00
org-src.el src: Do not undo edit buffers back to empty state 2020-07-02 19:30:14 +02:00
org-table.el Merge branch 'maint' 2020-09-05 15:20:06 +02:00
org-tempo.el org-tempo.el: Fix bug 2020-02-03 18:22:55 +01:00
org-timer.el org-timer.el: Remove useless `or' conditional 2020-03-02 15:55:45 +01:00
org.el Skip archived headings when tangling and exporting 2020-09-07 06:51:06 +02:00
ox-ascii.el Do not leak "attachment" links 2020-02-22 14:22:49 +01:00
ox-beamer.el Extend export tooling in link parameters 2020-02-19 18:41:37 +01:00
ox-html.el Use `org-preview-latex-image-directory' instead of hardcoding 2020-09-05 10:41:36 +02:00
ox-icalendar.el Tiny formatting fixes 2020-02-18 22:57:37 +01:00
ox-latex.el ox-latex: Fix links to files with name matching an image type 2020-08-16 12:01:20 +02:00
ox-man.el Do not leak "attachment" links 2020-02-22 14:22:49 +01:00
ox-md.el ox-md: Fix docstring. 2020-06-28 08:44:11 +02:00
ox-odt.el Use `org-preview-latex-image-directory' instead of hardcoding 2020-09-05 10:41:36 +02:00
ox-org.el Extend export tooling in link parameters 2020-02-19 18:41:37 +01:00
ox-publish.el publish: Fix site-map file name 2020-04-18 18:22:28 +02:00
ox-texinfo.el Merge branch 'maint' 2020-06-08 20:28:03 -04:00
ox.el ox: Add Romanian smart quotes 2020-07-13 18:17:37 +02:00