summaryrefslogtreecommitdiff
path: root/lisp/org
Commit message (Collapse)AuthorAgeFilesLines
* ; Fix typos.Stefan Kangas2022-07-023-3/+3
|
* Merge from origin/emacs-28Stefan Kangas2022-06-272-2/+9
|\ | | | | | | | | | | 48bda83d35 Update to Org 9.5.4-3-g6dc785 c66b90a534 Mention Solaris 10 'make clean' and 'make check' ade34cf821 Mention further crashes on Solaris 10
| * Update to Org 9.5.4-3-g6dc785Kyle Meyer2022-06-262-2/+9
| |
* | org-cite-list-citations: Cache footnote-definition searchesIhor Radchenko2022-06-161-6/+19
| | | | | | | | | | | | | | * lisp/org/oc.el (org-cite-list-citations): Avoid quadratic complexity. Pre-calculate list of all footnote definitions and cache the footnote label search hits. Do not make `org-element-map' accumulate unused result.
* | org-element-map: Avoid repetitive `plist-get' callIhor Radchenko2022-06-161-1/+2
| | | | | | | | | | * lisp/org/org-element.el (org-element-map): Do not call `(plist-get info :ignore-list)' on every iteration.
* | org-export-data: Concatenate strings in temporary buffer for performanceIhor Radchenko2022-06-161-22/+28
| | | | | | | | | | | | * lisp/org/ox.el (org-export-data): Use temporary buffer to collect export data instead of `mapconcat'. Using buffer puts less load on garbage collector.
* | org-export-as: Do not update buffer settings when not modifiedIhor Radchenko2022-06-161-5/+11
| | | | | | | | | | | | | | | | * lisp/org/ox.el (org-export-as): Use `buffer-chars-modified-tick' and avoid extra invocations of `org-set-regexps-and-options' and `org-update-radio-target-regexp' when the buffer is not changed. Also, disable folding checks. Folding is irrelevant inside export buffer.
* | org-export-resolve-id-link: Pre-cache all the ids in the parse treeIhor Radchenko2022-06-161-9/+21
| | | | | | | | | | * lisp/org/ox.el (org-export-resolve-id-link): Pre-cache all the ids in the parse tree for faster lookup.
* | org-export-resolve-fuzyy-link: Pre-cache all possible search cellsIhor Radchenko2022-06-161-6/+16
| | | | | | | | | | | | | | * lisp/org/ox.el (org-export-resolve-fuzzy-link): Before matching LINK, pre-process and cache all the non-nil search cells in the parse tree. When matching, use the pre-processed info. Fix the :test function for the cache hash table.
* | org-export-get-footnote-definition: Pre-cache references in parse treeIhor Radchenko2022-06-161-17/+22
| | | | | | | | | | | | * lisp/org/ox.el (org-export-get-footnote-definition): Pre-process parse tree once to filter out all non-footnote elements. This speeds up subsequent footnote definition searches.
* | Merge from origin/emacs-28Stefan Kangas2022-06-053-5/+5
|\| | | | | | | | | | | | | | | | | | | | | | | 1b8719835a Update to Org 9.5.4 92c5faafd7 Clarify documentation of 'string-to-unibyte' 2848512654 ; * lisp/files.el (find-file): Avoid too short lines in do... 672f9f787f Improve keystrokes in doc strings in some find-file functions ef5651cc77 Fix segfaults when starting on 80x26 TTY frames bfa647972f ; Fix doc string of 'delete-selection-repeat-replace-region' a95d46e00f Make it explicit that a couple of _s in lispref are unders... 5c74c25123 Remove from FAQ the MS-Windows info about BDF fonts edb48646f2 Fix Display Property manual example
| * Update to Org 9.5.4Kyle Meyer2022-06-043-5/+5
| |
* | Further audits of single quotes in Lisp doc stringsLars Ingebrigtsen2022-05-242-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/manual/etags/el-src/emacs/lisp/progmodes/etags.el (tags-apropos-additional-actions): * lisp/window.el (delete-window-choose-selected): * lisp/vc/ediff-merg.el (ediff-combination-pattern): * lisp/vc/diff.el (diff-no-select): * lisp/tab-bar.el (tab-bar-new-tab-choice): * lisp/simple.el (next-error-message-highlight): (backward-delete-char-untabify): * lisp/ses.el (ses-jump-cell-name-function): * lisp/org/org.el (org-latex-to-html-convert-command): * lisp/org/org-agenda.el (org-agenda-sorting-strategy): * lisp/net/tramp.el (tramp-default-file-modes): * lisp/net/newst-treeview.el (newsticker-treeview-use-feed-name-from-url-list-in-treeview): * lisp/net/eww.el (eww-auto-rename-buffer): * lisp/mwheel.el (mouse-wheel-scroll-amount): * lisp/mail/rmail.el (rmail-re-abbrevs): * lisp/info.el (Info-history-forward-menu): * lisp/gnus/nnselect.el (nnselect-retrieve-headers-override-function): * lisp/gnus/gnus-start.el (gnus-subscribe-hierarchical-interactive): * lisp/fringe.el (fboundp): * lisp/eshell/esh-var.el (eshell-variable-aliases-list): * lisp/emacs-lisp/checkdoc.el (checkdoc-column-zero-backslash-before-paren): * lisp/dired-aux.el (dired-confirm-shell-command): * lisp/calendar/calendar.el (calendar-time-zone-style): * lisp/ansi-color.el (ansi-color-faces-vector): (ansi-color-names-vector): Audit use of various single quotes in Lisp doc strings.
* | Merge from origin/emacs-28Stefan Kangas2022-05-162-4/+5
|\| | | | | | | | | | | f928330fa8 Update to Org 9.5.3-6-gef41f3 007bf9a34c Hide temporary FUSE files in Tramp 5dbaddc729 ; Fix some typos
| * Update to Org 9.5.3-6-gef41f3Kyle Meyer2022-05-152-4/+5
| |
* | Remove some XEmacs compat code from org-modeStefan Kangas2022-05-141-1/+0
| | | | | | | | | | * lisp/org/org-clock.el (org-clock-select-task): Remove XEmacs compat code.
* | Remove some XEmacs compat code from org-modeStefan Kangas2022-05-134-4/+4
| | | | | | | | | | | | | | | | * lisp/org/ol-eww.el (org-eww-copy-for-org-mode): * lisp/org/ol-w3m.el (org-w3m-copy-for-org-mode): * lisp/org/org-refile.el (org-refile): * lisp/org/org.el (org-change-tag-in-region): Remove XEmacs compat code.
* | Fix handling double-click-time nil or tStefan Kangas2022-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/mouse.el (mouse-double-click-time): New function to always return a number for `double-click-time'. * lisp/emulation/viper-mous.el (viper-multiclick-timeout): * lisp/foldout.el (foldout-mouse-swallow-events): * lisp/help.el (help--read-key-sequence): * lisp/org/org-mouse.el (org-mouse-show-context-menu): Use 'mouse-double-click-time' instead of 'double-click-time'. * src/keyboard.c (syms_of_keyboard): Mention 'mouse-double-click-time' in doc string of 'double-click-time'. * test/lisp/mouse-tests.el (mouse-test-mouse-double-click-time): New test.
* | Pacify byte compiler etc. on org-compat, org-macsPaul Eggert2022-04-282-2/+3
| | | | | | | | | | | | | | | | | | | | | | Byte-compiler problem reported by Lars Ingebrigtsen in: https://lists.gnu.org/r/emacs-devel/2022-04/msg01256.html * lisp/org/org-compat.el (org-at-table.el-p): Now declared in org-table, not org. (org-string-collate-lessp): Define the ersatz org-string-collate-lessp with the same API as the primary form, to pacify check-declare-file when run on org-macs. * lisp/org/org-macs.el (org-time-convert-to-integer): Declare.
* | Merge from origin/emacs-28Eli Zaretskii2022-04-283-25/+25
|\| | | | | | | | | # Conflicts: # lisp/progmodes/xref.el
| * Update to Org 9.5.3-3-gd54104Kyle Meyer2022-04-243-25/+25
| |
* | Use org-time-convert-to-integer instead of by handPaul Eggert2022-04-271-3/+4
| | | | | | | | | | | | * lisp/org/org-macs.el (org-file-newer-than-p): Don’t assume list-format timestamps, by using org-time-convert-to-integer instead of doing it by hand.
* | Further doc string quoting fixesLars Ingebrigtsen2022-04-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/lisp/progmodes/cperl-mode-tests.el (cperl--run-test-cases): * lisp/simple.el (undo-equiv-table): * lisp/shell.el (shell-mode): (shell-mode): * lisp/recentf.el (recentf-mode): * lisp/org/ob-table.el (org-sbe): * lisp/net/eudc.el (eudc-rfc5322-cctext-token): * lisp/mail/ietf-drums-date.el (ietf-drums-date--slot-ranges): * lisp/faces.el (color-luminance-dark-limit): * lisp/erc/erc.el (erc-tls): * lisp/emacs-lisp/pcase.el (pcase-setq): Further quoting fixes in doc strings.
* | Audit quoting the quote character in doc stringsLars Ingebrigtsen2022-04-228-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/src/regex-emacs-tests.el (regex-tests-compare): (regex-tests-compare): (regex-tests-match): * test/lisp/xml-tests.el (xml-parse-tests--qnames): * test/lisp/mh-e/mh-thread-tests.el (mh-thread-tests-before-from): * test/lisp/cedet/srecode-utest-template.el (srecode-utest-map-reset): * test/lisp/calc/calc-tests.el (calc-tests-equal): * lisp/window.el (get-lru-window): (get-mru-window): (get-largest-window): (quit-restore-window): (display-buffer): * lisp/vc/vc-rcs.el (vc-rcs-consult-headers): * lisp/url/url-auth.el (url-digest-auth-build-response): * lisp/tutorial.el (tutorial--find-changed-keys): * lisp/transient.el (transient-suffix-object): * lisp/textmodes/rst.el (rst-insert-list-new-item): * lisp/textmodes/bibtex.el (bibtex-clean-entry): * lisp/tab-bar.el (tab-bar--key-to-number): (toggle-frame-tab-bar): * lisp/ses.el (ses-recalculate-cell): (ses-define-local-printer): (ses-prin1): * lisp/progmodes/xref.el (xref--find-ignores-arguments): * lisp/progmodes/verilog-mode.el (verilog-single-declaration-end): * lisp/progmodes/tcl.el (tcl-mode-hook): * lisp/progmodes/gdb-mi.el (gdb-get-buffer-create): * lisp/progmodes/elisp-mode.el (elisp--xref-make-xref): * lisp/play/dunnet.el (dun-room-objects): * lisp/outline.el (outline--cycle-state): * lisp/org/ox-publish.el (org-publish-find-property): * lisp/org/ox-html.el (org-html--unlabel-latex-environment): * lisp/org/org-table.el (org-table-collapse-header): * lisp/org/org-plot.el (org--plot/prime-factors): * lisp/org/org-agenda.el (org-agenda--mark-blocked-entry): (org-agenda-set-restriction-lock): * lisp/org/ob-lua.el (org-babel-lua-read-string): * lisp/org/ob-julia.el (org-babel-julia-evaluate-external-process): (org-babel-julia-evaluate-session): * lisp/org/ob-core.el (org-babel-default-header-args): * lisp/obsolete/mouse-sel.el (mouse-select): (mouse-select-secondary): * lisp/net/tramp.el (tramp-methods): * lisp/net/eww.el (eww-accept-content-types): * lisp/net/dictionary-connection.el (dictionary-connection-status): * lisp/minibuffer.el (completion-flex--make-flex-pattern): * lisp/mh-e/mh-mime.el (mh-have-file-command): * lisp/mh-e/mh-limit.el (mh-subject-to-sequence): (mh-subject-to-sequence-threaded): (mh-subject-to-sequence-unthreaded): * lisp/mail/feedmail.el (feedmail-queue-buffer-file-name): (feedmail-vm-mail-mode): * lisp/ls-lisp.el (ls-lisp--sanitize-switches): * lisp/keymap.el (key-valid-p): * lisp/international/ccl.el (ccl-compile-branch-blocks): * lisp/image/image-converter.el (image-convert): * lisp/gnus/spam.el (spam-backend-check): * lisp/gnus/nnselect.el (nnselect-generate-artlist): * lisp/gnus/nnmairix.el (nnmairix-widget-other): * lisp/gnus/message.el (message-mailto): * lisp/gnus/gnus-sum.el (gnus-collect-urls-from-article): * lisp/gnus/gnus-search.el (gnus-search-prepare-query): * lisp/frame.el (frame-size-history): * lisp/eshell/esh-var.el (eshell-parse-variable-ref): * lisp/eshell/em-dirs.el (eshell-expand-multiple-dots): * lisp/erc/erc-backend.el (erc-bounds-of-word-at-point): * lisp/emulation/cua-rect.el (cua--rectangle-operation): * lisp/emacs-lisp/text-property-search.el (text-property-search-forward): * lisp/emacs-lisp/package.el (package-desc-suffix): * lisp/emacs-lisp/faceup.el (faceup-test-explain): * lisp/emacs-lisp/comp.el (comp-curr-allocation-class): (comp-alloc-class-to-container): (comp-add-cstrs): (comp-remove-type-hints-func): (batch-byte+native-compile): * lisp/emacs-lisp/cl-macs.el (cl--optimize): * lisp/elec-pair.el (electric-pair--syntax-ppss): * lisp/doc-view.el (doc-view-doc-type): * lisp/cedet/semantic/symref.el (semantic-symref-tool-alist): (semantic-symref-hit-to-tag-via-db): (semantic-symref-hit-to-tag-via-buffer): * lisp/cedet/semantic/lex-spp.el (semantic-lex-spp-get-overlay): * lisp/cedet/semantic/java.el (semantic-java-doc-keywords-map): * lisp/cedet/semantic/find.el (semantic-brute-find-tag-by-function): * lisp/cedet/semantic/db.el (semanticdb-project-predicate-functions): * lisp/cedet/semantic.el (semantic-working-type): * lisp/cedet/ede/files.el (ede-flush-directory-hash): * lisp/calc/calc.el (calc--header-line): * lisp/auth-source.el (auth-source-pick-first-password): (auth-source--decode-octal-string): * etc/themes/modus-themes.el (modus-themes--paren): (modus-themes--agenda-habit): * admin/cus-test.el (cus-test-vars-with-changed-state): Fix quoting in doc strings. In code examples, the ' character is quoted with \\=, and regularize 'foo to `foo', and quote strings like "foo" instead of 'foo'.
* | Merge from origin/emacs-28Paul Eggert2022-04-178-35/+78
|\| | | | | | | 65c04e7115 Update to Org 9.5.2-38-g682ccd
| * Update to Org 9.5.2-38-g682ccdKyle Meyer2022-04-178-35/+78
| |
* | Port Org encode-time usage back to Emacs 25Paul Eggert2022-04-057-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-03-212-2/+2
|\| | | | | | | | | f15922a57c Update to Org 9.5.2-25-gaf6f12 9fcdd5b63f Improve doc strings of read-char-from-minibuffer-insert-* ...
| * Update to Org 9.5.2-25-gaf6f12Kyle Meyer2022-03-202-2/+2
| |
* | Merge from origin/emacs-28Stefan Kangas2022-03-072-16/+10
|\| | | | | | | | | | | 73f28fbde8 Add a comment for previous browse-url-of-dired-file change 9b74e84857 Restore documented Emacs 27.2 behaviour of browse-url-of-d... cd77fd3b85 Update to Org 9.5.2-24-g668205
| * Update to Org 9.5.2-24-g668205Kyle Meyer2022-03-064-21/+16
| |
* | Merge from origin/emacs-28Stefan Kangas2022-02-284-13/+21
|\| | | | | | | | | | | 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-284-13/+21
| |
* | Merge from origin/emacs-28Stefan Kangas2022-02-223-4/+8
|\| | | | | | | | | | | | | | | 666e40a109 Fix 'display-line-numbers-mode' in hide-show buffers 68d134cf0f Don't check whether a deleted window is deletable (Bug#54028) b38223a844 A friendlier error message from image-mode in an empty buffer b7a651ba37 Update to Org 9.5.2-17-gea6b74 3a8c3f7abd ; Don't reference obsolete variables in edebug.el
| * Update to Org 9.5.2-17-gea6b74Kyle Meyer2022-02-203-4/+8
| |
* | Merge from origin/emacs-28Eli Zaretskii2022-02-183-4/+6
|\| | | | | | | | | | | | | | | c8442df ; Separate command and concept index in Transient manual 8aa052c ; Fix Transient manual 5b7752a Fix problem with popd for in remote shell buffers 38f6ea1 Import texi source file for transient manual df34929 Update to Org 9.5.2-15-gc5ceb6
| * Update to Org 9.5.2-15-gc5ceb6Kyle Meyer2022-02-133-4/+6
| |
* | (with-demoted-errors): Warn on missing `format` argStefan Monnier2022-02-042-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `format` arg has been mandatory for a while, but the backward compatibility code that handled the case of a missing `format` arg made it hard to notice when using the old calling convention. * lisp/subr.el (with-demoted-errors): Warn on missing `format` arg. * lisp/emacs-lisp/smie.el (smie-indent--separator-outdent): Don't abuse `with-demoted-errors`. (smie-indent-line, smie-auto-fill): * test/lisp/emacs-lisp/ert-tests.el (ert-test-with-demoted-errors): * lisp/vc/vc-hooks.el (vc-refresh-state): * lisp/vc/vc-annotate.el (vc-annotate-background-mode): * lisp/vc/diff-mode.el (diff-syntax-fontify-hunk): * lisp/textmodes/reftex-toc.el (reftex-re-enlarge): * lisp/progmodes/sh-script.el (sh-smie-sh-rules): * lisp/progmodes/octave.el (inferior-octave-startup): * lisp/pcmpl-gnu.el (pcmpl-gnu-make-all-targets): * lisp/org/org-refile.el (org-refile): * lisp/org/org-capture.el (org-capture-store-last-position): * lisp/nxml/nxml-mode.el (nxml-mode): * lisp/notifications.el (notifications-notify): * lisp/gnus/mm-view.el (mm-display-inline-fontify): * lisp/finder.el (finder-unload-function): * lisp/files.el (safe-local-variable-p, backup-buffer-copy * lisp/autorevert.el (auto-revert-notify-handler): Pass `format` arg to `with-demoted-errors`.
* | Merge from origin/emacs-28Stefan Kangas2022-01-316-10/+10
|\| | | | | | | | | | | 6f282b31ad Update to Org 9.5.2-13-gdd6486 6636231b2c ; * lisp/international/latin1-disp.el: Update commentary. f22e9ba9ac Fix regression in Occur Edit mode
| * Update to Org 9.5.2-13-gdd6486Kyle Meyer2022-01-306-10/+10
| |
* | Merge from origin/emacs-28Stefan Kangas2022-01-165-27/+31
|\| | | | | | | | | e488601849 Update to Org 9.5.2-9-g7ba24c 95640360f0 * lisp/net/dictionary.el (dictionary-context-menu): Use pa...
| * Update to Org 9.5.2-9-g7ba24cKyle Meyer2022-01-155-27/+31
| |
* | Merge from origin/emacs-28Eli Zaretskii2022-01-01121-121/+121
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-01121-121/+121
| |
* | Fix bug#52467 by adding a new custom variable 'display-comint-buffer-action'Sam Steingold2021-12-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/window.el (display-comint-buffer-action): New `defcustom`, defaults to 'display-buffer-same-window' for backward compatibility. * lisp/cmuscheme.el (run-scheme, switch-to-scheme): Pass 'display-comint-buffer-action' to 'pop-to-buffer' instead of using 'pop-to-buffer-same-window'. * lisp/eshell/eshell.el (eshell): Likewise. * lisp/shell.el (shell): Likewise. * lisp/org/ol-eshell.el (org-eshell-open): Likewise. * lisp/progmodes/inf-lisp.el (inferior-lisp): Likewise. * lisp/progmodes/project.el (project-shell, project-eshell): Likewise. * lisp/textmodes/tex-mode.el (tex-display-shell, tex-compile-default) (tex-recenter-output-buffer): Pass 'display-comint-buffer-action' to 'pop-to-buffer'.
* | Merge from origin/emacs-28Stefan Kangas2021-12-274-10/+20
|\| | | | | | | d4e2850b32 Update to Org 9.5.2-3-geb9f34
| * Update to Org 9.5.2-3-geb9f34Kyle Meyer2021-12-264-10/+20
| |
* | ; Minor license statement fixesStefan Kangas2021-12-201-4/+4
| |
* | Merge from origin/emacs-28Stefan Kangas2021-12-195-13/+18
|\| | | | | | | 5f25852e91 Update to Org 9.5.1-31-ga18849
| * Update to Org 9.5.1-31-ga18849Kyle Meyer2021-12-185-13/+18
| |