summaryrefslogtreecommitdiff
path: root/lisp/org/ol.el
Commit message (Collapse)AuthorAgeFilesLines
* org-link-expand-abbrev: Do not evaluate arbitrary unsafe Elisp codeIhor Radchenko2024-06-221-11/+29
| | | | | | | | * lisp/org/ol.el (org-link-expand-abbrev): Refuse expanding %(...) link abbrevs that specify unsafe function. Instead, display a warning, and do not expand the abbrev. Clear all the text properties from the returned link, to avoid any potential vulnerabilities caused by properties that may contain arbitrary Elisp.
* Revert "Update to Org 9.6.19"Eli Zaretskii2024-02-171-1/+4
| | | | | This reverts commit 07a392f445eb21c5e4681027eee9d981300a4309. It was installed by mistake.
* Update to Org 9.6.19Kyle Meyer2024-02-171-4/+1
|
* ; Add 2024 to copyright yearsPo Lu2024-01-021-1/+1
|
* ; Add 2023 to copyright years.Eli Zaretskii2023-01-011-1/+1
|
* Update to Org 9.6-31-g954a95Kyle Meyer2022-12-101-3/+3
|
* ; Fix typosStefan Kangas2022-11-301-1/+1
|
* Update to Org 9.6-3-ga4d38eKyle Meyer2022-11-291-74/+148
|
* ; * lisp/*.el: Fix typos in docstringsJuanma Barranquero2022-11-171-1/+1
| | | | | | | | | | * lisp/gnus/nnrss.el (nnrss-use-local, nnrss-fetch, nnrss-find-el): * lisp/leim/quail/japanese.el ("japanese"): * lisp/org/ol.el (org-link-search-must-match-exact-headline): * lisp/org/org-faces.el (org-column): * lisp/progmodes/eglot.el (eglot--stay-out-of-p) (eglot-workspace-configuration, eglot--read-execute-code-action): * lisp/vc/vc.el (vc-clone): Fix typos in docstrings.
* Make point-at-eol and point-at-bol obsoleteStefan Kangas2022-08-231-1/+1
| | | | | | | * lisp/subr.el (point-at-eol, point-at-bol): Make XEmacs compat aliases obsolete in favor of `pos-bol'/'line-beginning-position' or 'pos-eol'/'line-end-position'. Update callers. Ref: https://lists.gnu.org/r/emacs-devel/2022-08/msg00853.html
* ; * lisp/org/ol.el (org-link--decode-compound): `lsh` -> `ash`Mattias Engdegård2022-07-201-1/+1
|
* Merge from origin/emacs-28Stefan Kangas2022-07-171-1/+1
|\ | | | | | | | | f5218385c0 Fix obsoletion of nntp-authinfo-file 10b6919870 ; Fix typos
| * ; Fix typosStefan Kangas2022-07-161-1/+1
| |
* | Drop support for the dead third-party w3 packageStefan Kangas2022-07-091-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The w3 package was removed from GNU ELPA in 2020 as it doesn't run on a recent Emacs, and development had stopped over a decade before that. If anyone wants to revive the w3 package, they should look this all over, but it doesn't make sense for us to maintain this support code. Ref: https://debbugs.gnu.org/25395 * lisp/net/browse-url.el (browse-url-w3): Make obsolete. (browse-url--browser-defcustom-type) (browse-url-default-browser): * lisp/ffap.el (ffap-url-at-point, ffap-file-at-point): * lisp/net/newst-plainview.el (newsticker--buffer-do-insert-text): * lisp/net/newst-reader.el (newsticker-html-renderer) (newsticker-show-news): * lisp/net/newst-treeview.el (newsticker--treeview-render-text): * lisp/org/ol.el (org-store-link): * lisp/url/url.el (url-retrieve): Remove w3 support code and related documentation and comments. (Bug#56435) * test/lisp/net/browse-url-tests.el (browse-url-tests-browser-kind): Adjust test for above changes. * etc/TODO: Remove TODO to install W3. * doc/misc/org.org (Handling Links): Don't mention W3. * lisp/msb.el (msb--few-menus, msb--very-many-menus): Check for eww-mode instead of w3-mode.
* | Port Org encode-time usage back to Emacs 25Paul Eggert2022-04-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/org/ol.el (org-store-link): * lisp/org/org-clock.el (org-clock-sum) (org-clock-update-time-maybe): * lisp/org/org-colview.el (org-colview-construct-allowed-dates): * lisp/org/org-macro.el (org-macro--vc-modified-time): * lisp/org/org-macs.el (org-2ft, org-matcher-time): * lisp/org/org-table.el (org-table-eval-formula): * lisp/org/org.el (org-read-date, org-display-custom-time) (org-time-string-to-time, org-timestamp-change): Don’t assume Emacs 27 encode-time, since standalone Org still works with Emacs 25 and it’s easier if we minimize differences from standalone Org. Problem reported by Max Nikulin (Bug#54731). This reverts much of 2021-12-16T17:40:21Z!eggert@cs.ucla.edu.
* | Merge from origin/emacs-28Stefan Kangas2022-02-281-1/+1
|\| | | | | | | | | | | e77fc8262a Update to Org 9.5.2-22-g33543d 9bce4b67f1 ; * lisp/help.el (with-help-window): Doc fix. (Bug#54170) 558b03a958 Add explicit '--no-heading' for ripgrep
| * Update to Org 9.5.2-22-g33543dKyle Meyer2022-02-281-1/+1
| |
* | Merge from origin/emacs-28Eli Zaretskii2022-01-011-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 836be7a112 ; * etc/refcards/ru-refcard.tex: Update Copyright year. 86cbc6ee4a * lisp/net/tramp-sh.el: Adapt copyright year ebe8772f65 ; Minor fixes related to copyright years 23c1ee6989 ; * test/manual/etags/ETAGS.good_N: Adjust to copyright ye... 8d3fc7ec89 * src/xfaces.c (face_for_font): Make 'hash' be uintptr_t. 19dcb237b5 ; Add 2022 to copyright years. # Conflicts: # etc/NEWS # etc/refcards/ru-refcard.tex # lib/cdefs.h # lisp/erc/erc-dcc.el # lisp/erc/erc-imenu.el # lisp/erc/erc-replace.el # lisp/image-dired.el # lisp/progmodes/xref.el # m4/alloca.m4 # m4/byteswap.m4 # m4/errno_h.m4 # m4/getopt.m4 # m4/gnulib-common.m4 # m4/inttypes.m4 # m4/stddef_h.m4 # m4/stdint.m4 # m4/sys_socket_h.m4
| * ; Add 2022 to copyright years.Eli Zaretskii2022-01-011-1/+1
| |
* | encode-time simplificationsPaul Eggert2021-12-161-1/+1
|/ | | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-search.el (gnus-search-query-parse-date): * lisp/net/soap-client.el (soap-decode-date-time): * lisp/net/tramp-adb.el (tramp-adb-ls-output-time-less-p): * lisp/org/ol.el (org-store-link): * lisp/org/org-clock.el (org-clock-sum) (org-clock-update-time-maybe): * lisp/org/org-colview.el (org-colview-construct-allowed-dates): * lisp/org/org-macro.el (org-macro--vc-modified-time): * lisp/org/org-macs.el (org-2ft, org-matcher-time): * lisp/org/org-table.el (org-table-eval-formula): * lisp/org/org.el (org-read-date, org-display-custom-time) (org-time-string-to-time, org-timestamp-change): Prefer (encode-time L) to (apply #'encode-time L) where either will do. * lisp/gnus/gnus-search.el (gnus-search-imap-handle-date): * lisp/org/org-clock.el (org-clocktable-steps): Prefer (encode-time S M ...) to (apply #'encode-time (list S M ...)).
* Remove bogus ":safe nil" custom propertiesGlenn Morris2021-10-021-12/+6
| | | | | | | | | | | | | | * lisp/org/oc.el (org-cite-activate-processor) (org-cite-export-processors, org-cite-follow-processor) (org-cite-insert-processor): * lisp/org/ol.el (org-link-parameters, org-link-frame-setup) (org-link-shell-confirm-function) (org-link-shell-skip-confirm-regexp) (org-link-elisp-confirm-function) (org-link-elisp-skip-confirm-regexp): * lisp/org/org-num.el (org-num-format-function): Remove bogus ":safe nil" that do nothing but propagate a misunderstanding of the safe-local-variable property.
* Update to Org 9.5Kyle Meyer2021-09-291-63/+91
|
* ; More minor docfixes found by checkdocStefan Kangas2021-09-141-1/+1
|
* ; Fix typos in doc stringsMattias Engdegård2021-03-121-1/+1
|
* * lisp/org/: Delete some always-nil variablesStefan Monnier2021-03-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/org/ob-lilypond.el (org-babel-lilypond-compile-lilyfile): Remove always-nil variable `arg-2`. * lisp/org/ol-gnus.el (org-gnus-store-link): Remove always-nil variables `newsgroup` and `xarchive`. * lisp/org/ol.el (org-store-link): Remove always-nil variable `description`. * lisp/org/org-clock.el (org-clock-special-range): Remove always-nil variables `m1` and `m`. * lisp/org/org-crypt.el (org--matcher-tags-todo-only): Declare var. * lisp/org/org-protocol.el (org-protocol-open-source): Remove always-nil variable `result`. * lisp/org/ox-odt.el (org-odt-format-label): Remove always-nil variable `short-caption`. (org-odt-link--inline-formula): Remove always-nil variables `width` and `height`. * lisp/org/ox.el (org-export--missing-definitions): Remove always-nil variable `seen`.
* Avoid recommending GoogleStefan Kangas2021-01-281-4/+4
| | | | | | | | | | | * doc/misc/org.texi (Link Abbreviations): * lisp/net/webjump.el (webjump-sample-sites): * lisp/org/ol.el (org-link-shell-confirm-function) (org-link-elisp-confirm-function): * lisp/org/org.el (org-highlight-links): * lisp/wdired.el: Avoid recommending Google. squash! Avoid recommending Google
* Update copyright year to 2021Paul Eggert2021-01-011-1/+1
| | | | Run "TZ=UTC0 admin/update-copyright".
* Update to Org 9.4.2Bastien Guerry2020-12-131-0/+2
| | | | Mostly fixing compiler warnings.
* Update to Org 9.4.1Bastien Guerry2020-12-131-193/+302
|
* Update copyright year to 2020Paul Eggert2020-01-011-1/+1
| | | | Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
* ; Fix copyright years and license notices for recent org filesGlenn Morris2019-12-031-4/+6
|
* Update Org to 9.3Bastien2019-12-031-0/+1907