org-mode/lisp
Paul Eggert a4105d0942
Use higher level helpers instead of `encode-time'
* lisp/org-clock.el (org-clock-sum)
(org-clock-update-time-maybe):
Prefer org-time-string-to-seconds to doing it by hand.
* lisp/org-macs.el (org-2ft):
Prefer org-time-string-to-seconds to doing it by hand.
* lisp/org-table.el (org-table-eval-formula):
Prefer org-time-string-to-time to doing it by hand.

Max Nikulin:
A larger patch "Improve Org usage of timestamps" was suggested in
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54764#10

Only cosmetic changes are selected for this patch.
2022-07-17 16:38:51 +08:00
..
Makefile Move link-related core functions out of "org.el" 2019-03-10 18:00:27 +01:00
ob-C.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-R.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-awk.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-calc.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-clojure.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-comint.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-core.el * lisp/ob-core.el: Fix docstring quote usage 2022-07-14 21:34:32 +08:00
ob-css.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-ditaa.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-dot.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-emacs-lisp.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-eshell.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-eval.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-exp.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-forth.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-fortran.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-gnuplot.el ob-gnuplot.el: Make :cache argument work with :var assignments 2022-07-04 21:03:16 +08:00
ob-groovy.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-haskell.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-java.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-js.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-julia.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-latex.el lisp/ob-latex.el: Remove duplicate line. 2022-07-05 17:00:12 +03:00
ob-lilypond.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-lisp.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-lob.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-lua.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-makefile.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-matlab.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-maxima.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-ocaml.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-octave.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-org.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-perl.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-plantuml.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-processing.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-python.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-ref.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-ruby.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-sass.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-scheme.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-screen.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-sed.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ob-shell.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-sql.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-sqlite.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-table.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob-tangle.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ob.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
oc-basic.el oc-basic: Parse @string entries in BiBTeX bibliographies 2022-07-17 16:24:36 +08:00
oc-biblatex.el Merge branch 'bugfix' 2022-03-23 23:38:50 +01:00
oc-bibtex.el Update main-only copyright years 2022-01-01 15:25:06 -05:00
oc-csl.el oc-csl.el: Add support for nocite citations 2022-07-07 18:42:55 +08:00
oc-natbib.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
oc.el org-cite-list-citations: Cache footnote-definition searches 2022-06-16 10:43:29 +08:00
ol-bbdb.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ol-bibtex.el Merge branch 'bugfix' 2022-02-05 19:19:49 +08:00
ol-docview.el ol-docview: Throw an error when trying to open non-existing file 2022-07-11 13:00:05 +08:00
ol-doi.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ol-eshell.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ol-eww.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ol-gnus.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ol-info.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ol-irc.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ol-man.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ol-mhe.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ol-rmail.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ol-w3m.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ol.el Use unknown DST instead of standard time in timestamps 2022-07-17 16:38:50 +08:00
org-agenda.el org-agenda: Make sure that clock report header has trailing newline 2022-07-11 13:01:50 +08:00
org-archive.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-attach-git.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
org-attach.el org: Add setting for remote file download policy 2022-07-16 17:46:01 +08:00
org-capture.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-clock.el Use higher level helpers instead of `encode-time' 2022-07-17 16:38:51 +08:00
org-colview.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-compat.el Delete some Emacs 24 compat code 2022-07-02 12:10:00 +08:00
org-crypt.el Rename old function call to use org-fold 2022-04-25 19:39:53 +08:00
org-ctags.el Remove XEmacs and ancient Emacs compat code 2022-06-18 15:43:30 +08:00
org-cycle.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-datetree.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-duration.el Use `set-default-toplevel-value' in `defcustom' setters 2022-06-14 21:54:45 +08:00
org-element.el org-element: Do not try to sync element cache in the middle of a change 2022-07-09 12:08:49 +08:00
org-entities.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-faces.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-feed.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-fold-core.el org-fold: Make sure that changes do not leave partially folded headings 2022-07-12 21:51:40 +08:00
org-fold.el org-fold: Make sure that changes do not leave partially folded headings 2022-07-12 21:51:40 +08:00
org-footnote.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-goto.el Delete some Emacs 24 compat code 2022-07-02 12:10:00 +08:00
org-habit.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-id.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-indent.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-inlinetask.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-keys.el org-keys: Do not rely on deprecated boolean value of `window-system' 2022-06-25 16:05:16 +08:00
org-lint.el org-lint: don't complain about #+include URL 2022-06-12 18:02:25 +08:00
org-list.el org-list-struct-apply-struct: Do not rely on `match-data' after edits 2022-07-11 19:13:07 +08:00
org-macro.el Fix function declarations 2022-06-16 12:35:52 +08:00
org-macs.el Use higher level helpers instead of `encode-time' 2022-07-17 16:38:51 +08:00
org-mobile.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-mouse.el Remove XEmacs and ancient Emacs compat code 2022-06-18 15:43:30 +08:00
org-num.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
org-pcomplete.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-persist.el org: Add setting for remote file download policy 2022-07-16 17:46:01 +08:00
org-plot.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-protocol.el Remove XEmacs and ancient Emacs compat code 2022-06-18 15:43:30 +08:00
org-refile.el ; * lisp/org-refile.el (org-refile-targets): Fix typo. 2022-07-17 16:36:14 +08:00
org-src.el org-src.el: Add plain to org-src-window-setup customization 2022-07-09 12:04:07 +08:00
org-table.el Use higher level helpers instead of `encode-time' 2022-07-17 16:38:51 +08:00
org-tempo.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-timer.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org.el Use unknown DST instead of standard time in timestamps 2022-07-17 16:38:50 +08:00
ox-ascii.el Fix native-comp warnings 2022-06-16 13:19:10 +08:00
ox-beamer.el ox-latex: Replace `org-latex-listings' 2022-05-13 00:43:17 +08:00
ox-html.el Delete some Emacs 24 compat code 2022-07-02 12:10:00 +08:00
ox-icalendar.el Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
ox-koma-letter.el ox-koma-letter: Collapse space in copyright line 2022-01-01 17:47:00 -05:00
ox-latex.el ; Fix typos 2022-07-01 17:42:52 +08:00
ox-man.el Update copyright year to 2022 2022-01-01 15:17:08 -05:00
ox-md.el Merge branch 'bugfix' 2022-01-01 15:21:37 -05:00
ox-odt.el Delete some Emacs 24 compat code 2022-07-02 12:10:00 +08:00
ox-org.el Delete some Emacs 24 compat code 2022-07-02 12:10:00 +08:00
ox-publish.el Escape single left quotes in docstrings 2022-06-16 20:51:02 +08:00
ox-texinfo.el ; Fix typos 2022-07-01 17:42:52 +08:00
ox.el Delete some Emacs 24 compat code 2022-07-02 12:10:00 +08:00