org-mode/lisp
Max Nikulin 08a8c9e678
org-attach.el: ID to path functions may return nil
* lisp/org-attach.el (org-attach-dir-from-id): Ignore nil values
returned by entries from `org-attach-id-to-path-function-list'.
(org-attach-dir-get-create): Signal an error suggesting customization
of `org-attach-id-to-path-function-list' if all ID-to-path functions
return nil.
(org-attach-id-to-path-function-list): Add to the docstring examples
how to handle unusual IDs.
(org-attach-id-uuid-folder-format, org-attach-id-ts-folder-format):
Return nil if ID is too short.
(org-attach-id-fallback-folder-format): New function that may be added
as the last element of `org-attach-id-path-function-list' to handle
unexpectedly short IDs.
* etc/ORG-NEWS: Advertise the change.

Earlier an obscure error like 'org-attach-id-ts-folder-format: Args out
of range: "ftt", 0, 6' was signalled in the case of unexpectedly short
ID.

Reported-by: Janek F <xerusx@pm.me>
Link: https://list.orgmode.org/KC8PcypJapBpJQtJxM0kX5N7Z0THL2Lq6EQjBMzpw1-vgQf72egZ2JOIlTbPYiqAVD4MdSBhrhBZr2Ykf5DN1mocm1ANvvuKKZShlkgzKYM=@pm.me
2022-11-16 09:47:03 +08:00
..
Makefile Move link-related core functions out of "org.el" 2019-03-10 18:00:27 +01:00
ob-C.el ob-C: do not swallow double quotes on raw output 2022-09-27 16:20:57 +02:00
ob-R.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-awk.el Begin messages about executing code blocks with a capital letter 2022-10-07 13:51:35 +08:00
ob-calc.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-clojure.el Add missing :package-version tags in changed `defcustom' 2022-11-13 15:29:15 +08:00
ob-comint.el org-babel-comint-with-output: Handle output without trailing newlines 2022-10-23 12:08:37 +08:00
ob-core.el org-babel-read: Obey `org-confirm-babel-evaluate' 2022-11-10 13:52:56 +08:00
ob-css.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-ditaa.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-dot.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-emacs-lisp.el ob-emacs-lisp: Don't print arguments of post-process arguments to stdout 2022-10-07 13:50:21 +08:00
ob-eshell.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-eval.el Silence byte-compiler under 'make single' 2022-11-13 18:01:00 -05:00
ob-exp.el Add missing :package-version tags in changed `defcustom' 2022-11-13 15:29:15 +08:00
ob-forth.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-fortran.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-gnuplot.el org-babel: Fix usage of `org-babel-temporary-directory' 2022-10-09 12:30:00 +08:00
ob-groovy.el Begin messages about executing code blocks with a capital letter 2022-10-07 13:51:35 +08:00
ob-haskell.el lisp/ob-haskell.el: Fix org-babel-script-escape expects a string 2022-11-09 10:34:03 +08:00
ob-java.el org-babel: Refactor temporary directory usage 2022-10-23 11:49:00 +08:00
ob-js.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-julia.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-latex.el Add missing :package-version tags in changed `defcustom' 2022-11-13 15:29:15 +08:00
ob-lilypond.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
ob-lisp.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-lob.el ob-lob: Clean up spacing to pass Emacs's pre-commit check 2022-10-29 15:23:00 -04:00
ob-lua.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-makefile.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-matlab.el Merge branch 'km/from-emacs-master' 2022-10-16 17:43:29 -04:00
ob-maxima.el lisp/ob-maxima.el: correct placement of $ in command string 2022-11-06 10:51:06 +08:00
ob-ocaml.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-octave.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
ob-org.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-perl.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-plantuml.el Merge branch 'km/from-emacs-master' 2022-10-16 17:43:29 -04:00
ob-processing.el org-babel: Fix usage of `org-babel-temporary-directory' 2022-10-09 12:30:00 +08:00
ob-python.el ob-python: Wait for session initialization on slow machines 2022-11-15 11:39:04 +08:00
ob-ref.el org-babel-lob-get-info: Add no-eval argument 2022-10-19 14:55:52 +08:00
ob-ruby.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-sass.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-scheme.el ob-scheme: Use new `geiser' function when available 2022-10-31 14:22:39 +08:00
ob-screen.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-sed.el Begin messages about executing code blocks with a capital letter 2022-10-07 13:51:35 +08:00
ob-shell.el ob-shell: Fix multi-line scripts in sessions 2022-10-22 12:15:51 +08:00
ob-sql.el lisp/ob-sql.el: Add Daniel Kraus as the maintainer 2022-11-03 09:27:36 +01:00
ob-sqlite.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-table.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-tangle.el ob-tangle: Update docstrings 2022-11-10 13:36:01 +08:00
ob.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
oc-basic.el org-cite-basic-export-bibliography: Skip missing bibliography keys 2022-11-06 15:44:44 +08:00
oc-biblatex.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
oc-bibtex.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
oc-csl.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
oc-natbib.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
oc.el org-cite: Fix style completion 2022-10-25 14:25:37 +08:00
ol-bbdb.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ol-bibtex.el Fix Emacs 29 compiler warnings 2022-09-06 20:50:59 +08:00
ol-docview.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ol-doi.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
ol-eshell.el ol-eshell: Make recently ported change compatible with Emacs < 29 2022-10-04 18:38:25 -04:00
ol-eww.el Backport commit cc8b6101f from Emacs 2022-10-04 17:10:50 -04:00
ol-gnus.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ol-info.el ol-info: Use org function instead of subr-x 2022-09-05 14:33:32 +08:00
ol-irc.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
ol-man.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
ol-mhe.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ol-rmail.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ol-w3m.el Backport commit cc8b6101f from Emacs 2022-10-04 17:10:50 -04:00
ol.el Refactor `org-time-stamp-custom-formats' and `org-time-stamp-formats' 2022-11-07 15:05:37 +08:00
org-agenda.el Add missing :package-version tags in changed `defcustom' 2022-11-13 15:29:15 +08:00
org-archive.el Refactor `org-time-stamp-custom-formats' and `org-time-stamp-formats' 2022-11-07 15:05:37 +08:00
org-attach-git.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-attach.el org-attach.el: ID to path functions may return nil 2022-11-16 09:47:03 +08:00
org-capture.el Add missing :package-version tags in changed `defcustom' 2022-11-13 15:29:15 +08:00
org-clock.el org-clock-report: Improve docstring 2022-11-16 09:26:03 +08:00
org-colview.el Refactor `org-time-stamp-custom-formats' and `org-time-stamp-formats' 2022-11-07 15:05:37 +08:00
org-compat.el Refactor `org-time-stamp-custom-formats' and `org-time-stamp-formats' 2022-11-07 15:05:37 +08:00
org-crypt.el org-crypt-key-for-heading: Handle CRYPTKEY nil value 2022-10-14 10:16:47 +08:00
org-ctags.el Merge branch 'km/from-emacs-master' 2022-11-13 17:37:11 -05:00
org-cycle.el org-cycle: Silence byte-compiler under 'make single' 2022-10-29 15:22:58 -04:00
org-datetree.el org-datetree-insert-line: Fix blank line insertion 2022-10-26 15:25:24 +08:00
org-duration.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-element.el Refactor `org-time-stamp-custom-formats' and `org-time-stamp-formats' 2022-11-07 15:05:37 +08:00
org-entities.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-faces.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-feed.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
org-fold-core.el Clean up spacing to pass Emacs's pre-commit check 2022-10-03 17:57:03 -04:00
org-fold.el org-fold-subtree: Hide blank lines at the end as well 2022-11-14 12:22:03 +08:00
org-footnote.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-goto.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-habit.el Backport commit b7e867b84 from Emacs 2022-10-04 17:18:04 -04:00
org-id.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
org-indent.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-inlinetask.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
org-keys.el org.el: Support auto display inline images when cycling 2022-10-26 12:43:07 +08:00
org-lint.el org-lint: Fix #+INCLUDE keyword parsing 2022-11-05 11:31:37 +08:00
org-list.el Silence byte-compiler under 'make single' 2022-11-13 18:01:00 -05:00
org-macro.el Refactor `org-time-stamp-custom-formats' and `org-time-stamp-formats' 2022-11-07 15:05:37 +08:00
org-macs.el org-sting-width: Do no err in dedicated windows 2022-11-05 17:38:37 +08:00
org-mobile.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
org-mouse.el org-mouse: Make recently ported change compatible with Emacs < 29 2022-10-04 18:38:25 -04:00
org-num.el org-num-mode: Clear remaining num overlays before activation 2022-10-20 12:50:41 +08:00
org-pcomplete.el Silence byte-compiler under 'make single' 2022-11-13 18:01:00 -05:00
org-persist.el Add missing :package-version tags in changed `defcustom' 2022-11-13 15:29:15 +08:00
org-plot.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
org-protocol.el Merge branch 'km/from-emacs-master' 2022-11-13 17:37:11 -05:00
org-refile.el Add missing :package-version tags in changed `defcustom' 2022-11-13 15:29:15 +08:00
org-src.el Add missing :package-version tags in changed `defcustom' 2022-11-13 15:29:15 +08:00
org-table.el org-export: Suppress cache persistence in buffer copies during export 2022-10-07 13:15:17 +08:00
org-tempo.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-timer.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org.el Add missing :package-version tags in changed `defcustom' 2022-11-13 15:29:15 +08:00
ox-ascii.el Merge branch 'km/from-emacs-master' 2022-10-29 15:15:03 -04:00
ox-beamer.el ox-latex: Remove unused argument 2022-09-17 18:29:55 +08:00
ox-html.el org-html-htmlize-output-type: Mark safe as buffer-local 2022-11-11 11:31:58 +08:00
ox-icalendar.el ox-icalendar: Create export backend options for deadline/scheduled-summary-prefix defcustoms 2022-11-10 10:38:06 +08:00
ox-koma-letter.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ox-latex.el Add missing :package-version tags in changed `defcustom' 2022-11-13 15:29:15 +08:00
ox-man.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ox-md.el Add missing :package-version tags in changed `defcustom' 2022-11-13 15:29:15 +08:00
ox-odt.el Refactor `org-time-stamp-custom-formats' and `org-time-stamp-formats' 2022-11-07 15:05:37 +08:00
ox-org.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ox-publish.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ox-texinfo.el Add missing :package-version tags in changed `defcustom' 2022-11-13 15:29:15 +08:00
ox.el Refactor `org-time-stamp-custom-formats' and `org-time-stamp-formats' 2022-11-07 15:05:37 +08:00