org-mode/lisp
Yann Esposito (yogsototh) da62654cb1 ox-html.el: Use CUSTOM_ID for outline-container-* div id
* lisp/ox-html.el (org-html-headline): When CUSTOM_ID is set, use it
to set the outline-container-* <div> id.

TINYCHANGE

When exporting HTML the exporter generate ids for references.
Unfortunately those id are not stable in the sense that exporting
twice generate two different set of ids.

Using CUSTOM_ID one could already use have fixed anchors in the
generated HTML. So for example we could share URL with
...index.html#my-section-id and it will be the same URL even if we
export the HTML again.

Unfortunately, this CUSTOM_ID is not used for the outline ids.  And
thus if we expose the html in a git repository for example.  Each
export will generate a big diff that "pollute" the diff because it
will show changes for all org items while most of them could still be
unchanged.

With this PR, HTML export will use CUSTOM_ID for both the headers id
and the org outline ids. For Items without CUSTOM_ID the behavior will
stay identical as before.
2020-02-12 19:00:42 +01:00
..
Makefile Move link-related core functions out of "org.el" 2019-03-10 18:00:27 +01:00
ob-C.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-J.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-R.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-abc.el Merge branch 'maint' 2020-01-01 13:39:26 -05:00
ob-asymptote.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-awk.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-calc.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-clojure.el ob-clojure.el: Fix let binding expansion and comments removal 2020-02-12 11:24:07 +01:00
ob-comint.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-coq.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-core.el Merge branch 'maint' 2020-02-11 14:40:17 +01:00
ob-css.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-ditaa.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-dot.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-ebnf.el Merge branch 'maint' 2020-01-01 13:39:26 -05:00
ob-emacs-lisp.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-eshell.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-eval.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-exp.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-forth.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-fortran.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-gnuplot.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-groovy.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-haskell.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-hledger.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-io.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-java.el Merge branch 'maint' 2020-01-01 13:39:26 -05:00
ob-js.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-latex.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-ledger.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-lilypond.el lisp/ob-lilypond.el: Fix initialization bug 2020-02-11 08:51:30 +01:00
ob-lisp.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-lob.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-lua.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-makefile.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-matlab.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-maxima.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-mscgen.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-ocaml.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-octave.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-org.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-perl.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-picolisp.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-plantuml.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-processing.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-python.el ob-python: Remove unused variable 2020-02-04 06:53:58 -08:00
ob-ref.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-ruby.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-sass.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-scheme.el ob-scheme.el: Fix interpreter output sometimes being nil 2020-02-11 12:19:34 +01:00
ob-screen.el ob-screen.el: Silence compiler warning 2020-01-30 18:29:26 +01:00
ob-sed.el Merge branch 'maint' 2020-01-01 13:39:26 -05:00
ob-shell.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-shen.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-sql.el Allow postgres as an alias for postgresql 2020-02-12 09:03:44 +01:00
ob-sqlite.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-stan.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-table.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ob-tangle.el Update copyright year to 2020 2020-01-01 13:38:46 -05: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 Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ol-bibtex.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ol-docview.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ol-eshell.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ol-eww.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ol-gnus.el ol-gnus.el: Remove references to Gmane 2020-02-12 09:57:43 +01:00
ol-info.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ol-irc.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ol-mhe.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ol-rmail.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ol-w3m.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ol.el Refactor attachment path expansion 2020-02-06 22:09:18 +01:00
org-agenda.el Factor out org-scroll and use it in ox.el, org-agenda/attach.el 2020-02-11 01:04:28 +01:00
org-archive.el New option `org-archive-subtree-save-file-p' 2020-01-31 10:42:40 +01:00
org-attach-git.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-attach.el Fix previous commit 2020-02-12 09:36:04 +01:00
org-capture.el org-capture.el: Conditionally throw an error on missing annotation 2020-02-11 14:45:19 +01:00
org-clock.el Allow a new value for `org-adapt-indentation' 2020-02-09 17:30:42 +01:00
org-colview.el org-colview: Fix org-agenda-columns-active 2020-01-27 23:39:25 +01:00
org-compat.el Fix build 2020-01-03 11:07:28 +01:00
org-crypt.el Update copyright year to 2020 2020-01-01 13:38:46 -05: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 org-duration: Read and write duration in compact form 2020-01-04 18:39:05 +01:00
org-element.el Merge branch 'maint' 2020-02-12 09:16:49 +01:00
org-entities.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-faces.el org-faces.el: Add foreground color to org-table-header face 2020-02-08 07:25:29 +01: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 Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-habit.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-id.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-indent.el Allow a new value for `org-adapt-indentation' 2020-02-09 17:30:42 +01:00
org-inlinetask.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-install.el org-install.el: Do not warn users. 2013-01-22 14:08:39 +01:00
org-keys.el Add `org-toggle-radio-button' and related minor mode 2020-02-11 23:55:53 +01:00
org-lint.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-list.el Small code enhancement 2020-02-12 08:40:46 +01:00
org-macro.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-macs.el Factor out org-scroll and use it in ox.el, org-agenda/attach.el 2020-02-11 01:04:28 +01:00
org-mobile.el Fix org menu initialization 2020-02-07 16:26:31 +01:00
org-mouse.el Rename `org-x-priority' functions and variables to `org-priority-x' 2020-01-30 14:56:38 +01:00
org-num.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-pcomplete.el Rename `org-x-priority' functions and variables to `org-priority-x' 2020-01-30 14:56:38 +01:00
org-plot.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-protocol.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org-refile.el Fix org menu initialization 2020-02-07 16:26:31 +01:00
org-src.el Merge branch 'maint' 2020-02-03 18:24:35 +01:00
org-table.el org-table.el: Don't run table header mode with a timer 2020-02-11 21:42:54 +01:00
org-tempo.el org-tempo.el: Fix bug 2020-02-03 18:22:55 +01:00
org-timer.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
org.el Merge branch 'maint' 2020-02-12 17:56:43 +01:00
ox-ascii.el Refactor attachment path expansion 2020-02-06 22:09:18 +01:00
ox-beamer.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ox-html.el ox-html.el: Use CUSTOM_ID for outline-container-* div id 2020-02-12 19:00:42 +01:00
ox-icalendar.el Rename `org-x-priority' functions and variables to `org-priority-x' 2020-01-30 14:56:38 +01:00
ox-latex.el Merge branch 'maint' 2020-02-11 12:28:40 +01:00
ox-man.el Refactor attachment path expansion 2020-02-06 22:09:18 +01:00
ox-md.el Refactor attachment path expansion 2020-02-06 22:09:18 +01:00
ox-odt.el Refactor attachment path expansion 2020-02-06 22:09:18 +01:00
ox-org.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ox-publish.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
ox-texinfo.el Refactor attachment path expansion 2020-02-06 22:09:18 +01:00
ox.el Fix 2508dfa6 2020-02-12 11:54:49 +01:00