aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/org (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ; Add 2026 to copyright years.Sean Whitton2026-01-01127-127/+127
|
* December 2025 spelling fixesPaul Eggert2025-12-267-39/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of the fixes are to continue to use American rather than British spelling. * doc/misc/modus-themes.org (my-modus-themes-engraved-faces): Fix misspelled ‘:foreground’s. * etc/themes/modus-themes.el (modus-themes-faces): Fix misspelled ‘modus-themes-bold’. * lisp/emacs-lisp/rx.el (rx--normalize-char-pattern): Rename from rx--normalise-char-pattern. (rx--optimize-or-args): Rename from rx--optimise-or-args. * lisp/frame.el (frame--special-parameters): Fix misspelled "right-divider-width". * lisp/net/tramp.el (tramp-fingerprint-prompt-regexp): Use American spelling “centered”, to match current libfprintf. * lisp/org/org-fold-core.el (org-fold-core--optimize-for-huge-buffers): Rename from org-fold-core--optimise-for-huge-buffers. (org-fold-core-update-optimization): Rename from org-fold-core-update-optimisation, leaving an alias behind. (org-fold-core-remove-optimization): Rename from org-fold-core-remove-optimisation, leaving an alias behind. * lisp/org/org.el (org-advertized-archive-subtree): This alias is now obsolete. * lisp/play/zone.el (zone-ignored-buffers): Fix misspelling of ‘zone--buffer-encrypted-p’. * lisp/progmodes/csharp-mode.el (csharp-ts-mode-faces): Fix misspelling of ‘csharp’ group. * lisp/vc/vc.el (vc-clonable-backends-custom-type): Rename from vc-cloneable-backends-custom-type, leaving an alias behind. * test/lisp/emacs-lisp/bytecomp-tests.el: (bytecomp-tests--warn-arity-non-compiled-callee): Rename from bytecomp-tests--warn-arity-noncompiled-callee. (bytecomp-test-defface-spec): Reword a deliberate misspelling of “default” that is so common I don’t want it to pollute the spelling dictionary. * test/lisp/emacs-lisp/package-vc-tests.el: (package-vc-tests-preserve-artifacts): Rename from package-vc-tests-preserve-artifacts. * test/lisp/eshell/em-prompt-tests.el: (em-prompt-test/forward-backward-paragraph-1): Reword a deliberate misspelling of “goodbye” that is so common I don’t want it to pollute the spelling dictionary.
* (electric-indent-functions-without-reindent): Pare downStefan Monnier2025-09-231-2/+3
| | | | | | | | | | * lisp/electric.el (electric-indent-functions-without-reindent): Remove obsolete entries: Haskell modes, python-mode, and coffer-mode already disable electric reindentation on their side, so we don't need those entries any more. * lisp/org/org.el (org-mode): Don't rely on `electric-indent-functions-without-reindent'.
* Fix org-habit bug related to string mutationMattias Engdegård2025-08-291-10/+14
| | | | | | | | | | | * lisp/org/org-habit.el (org-habit-build-graph): Rewrite without using string mutation (using vectors instead), fixing a bug where org-habit-completed-glyph and org-habit-today-glyph wouldn't display properly if in the U+0080..00FF range, discovered by the more restricted string mutation. Reported by Daniel Mendler in https://lists.gnu.org/archive/html/emacs-orgmode/2025-08/msg00224.html
* Initialize native-tab-width in cases where there is no language modeMark A. Hershberger2025-08-091-1/+2
| | | | | | org-src-font-lock-fontify-block creates an uninitialized native-tab-width variable and then, when there is no language set on a block, ends up using it. This triggers an error.
* org-persist.el: Silence fewer warnings and fix found warningStefan Monnier2025-07-131-35/+32
| | | | | | | | | | * lisp/org/org-persist.el: Minor cleanup. (org-persist-directory, org-persist-remote-files) (org-persist-default-expiry): Remove redundant `:group` arg. (org-persist-collection-let): Document lack of hygiene. Remove `with-no-warnings`. (org-persist--find-index): Reindent, and simplify initialization of `r`. (org-persist-associated-files:generic): Move before first use.
* Org: Use new `replace-region-contents`scratch/replace-region-contentsStefan Monnier2025-03-292-19/+20
| | | | | | * lisp/org/org-compat.el (org-replace-buffer-contents): Delete function. (org-replace-region-contents): New function. * lisp/org/org-src.el (org-edit-src-save, org-edit-src-exit): Use it.
* Fix capitalization ELisp -> ElispSean Whitton2025-03-123-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (libgccjit_not_found_err) (libgccjit_dev_not_found_err): * doc/emacs/buffers.texi (List Buffers): * doc/lispref/elisp.texi (Tree-sitter C API): * doc/lispref/functions.texi (What Is a Function): * doc/lispref/parsing.texi (Parsing Program Source) (Tree-sitter C API): * doc/misc/gnus.texi (The Gnus Registry): * etc/DEBUG: * etc/NEWS: * etc/NEWS.25: * etc/NEWS.26: * etc/NEWS.28: * etc/NEWS.30: * etc/TODO: * lib-src/emacsclient.c (print_help_and_exit): * lisp/auth-source.el (auth-source-search): * lisp/cedet/semantic/bovine/el.el (emacs-lisp-mode): * lisp/cedet/semantic/wisent/comp.el (wisent-automaton-lisp-form): * lisp/cedet/srecode/el.el (srecode-semantic-apply-tag-to-dict): * lisp/editorconfig.el (editorconfig-get-local-variables-functions): * lisp/emacs-lisp/bindat.el (bindat-type): * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand): * lisp/emacs-lisp/cconv.el (cconv-make-interpreted-closure): * lisp/emacs-lisp/cl-macs.el (cl--labels-convert): * lisp/emacs-lisp/lisp-mode.el (lisp-fdefs) (lisp-fill-paragraphs-as-doc-string): * lisp/emacs-lisp/macroexp.el (macroexp--fgrep): * lisp/emacs-lisp/oclosure.el (cconv--interactive-helper): * lisp/emacs-lisp/re-builder.el: * lisp/erc/erc-button.el (erc-emacswiki-lisp-url): * lisp/help-fns.el (help-fns--describe-function-or-command-prompt): * lisp/menu-bar.el (menu-bar-search-documentation-menu): * lisp/net/tramp-message.el (tramp-debug-font-lock-keywords): * lisp/org/org-capture.el (org-capture): * lisp/org/org.el (org-category, org-todo): * lisp/org/ox.el (org-export-async-start): * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): * lisp/progmodes/peg.el (peg-translate-exp): * lisp/progmodes/ruby-ts-mode.el: * lisp/woman.el (woman-mode, woman-parse-numeric-arg): * src/chartab.c (map_char_table_for_charset): * src/fns.c (extract_data_from_object): * src/frame.c (do_switch_frame): * src/keyboard.c (make_lispy_event): * test/lisp/emacs-lisp/cl-macs-tests.el (cl-&key-arguments): * test/lisp/emacs-lisp/shortdoc-tests.el (shortdoc-help-fns-examples-function-test): * test/manual/etags/c-src/emacs/src/keyboard.c (make_lispy_event): Fix capitalization ELisp -> Elisp.
* Correct (debug body) edebug specsMichael Heerdegen2025-03-081-1/+1
| | | | | | | | | This fixes Bug#69865. * lisp/org/ob-exp.el (org-babel-exp--at-source): * test/lisp/dired-tests.el (dired-test-with-temp-dirs): * test/lisp/emacs-lisp/package-tests.el (with-fake-help-buffer): Fix broken edebug specs (debug body) -> (debug (body)).
* Remove Emacs 23 compat code from ox-publish.elStefan Kangas2025-02-281-1/+1
| | | | | * lisp/org/ox-publish.el (org-publish-timestamp-filename): Remove Emacs 23 compat code.
* Address FIXME in org-element-createStefan Kangas2025-02-171-4/+4
| | | | * lisp/org/org-element-ast.el (org-element-create): Address FIXME.
* Prefer cl-evenp/cl-oddp in some placesStefan Kangas2025-02-176-10/+10
| | | | | | | | | | | | | | * lisp/erc/erc.el (erc-format-message): * lisp/obsolete/thumbs.el (thumbs-emboss-image): * lisp/org/org-capture.el (org-capture-escaped-%): * lisp/org/org-element-ast.el (org-element-create): * lisp/org/org-macro.el (org-macro-extract-arguments): * lisp/org/org-persist.el (org-persist--get-collection): * lisp/org/ox-odt.el (org-odt-get-table-cell-styles): * lisp/org/ox.el (org-export--dispatch-ui): * lisp/progmodes/cperl-mode.el (cperl-forward-re) (cperl-find-pods-heres): Prefer 'cl-evenp/'cl-oddp' to free-coding them in some files that already depend on cl-lib in run-time.
* Avoid cl-caaar etc. compatibility macros in OrgStefan Kangas2025-02-124-5/+5
| | | | | | | | | * lisp/org/ob-core.el (org-babel-process-params): * lisp/org/org-agenda.el (org-agenda-span-to-ndays): * lisp/org/org-capture.el (org-capture-set-target-location): * lisp/org/org.el (org-set-effort): Don't use cl-caaar, cl-caadr, etc. compatibility macros in Org. We don't need to use them, since Org requires Emacs 26.1.
* Delete redundant lambdas around unary functionsStefan Kangas2025-02-114-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is not just stylistic, but also slightly faster. These are all regular defuns, of course, as this won't work with macros and defsubsts. * lisp/calc/calc-nlfit.el (math-nlfit-fit-curve) (calc-fit-hubbert-linear-curve): * lisp/calendar/cal-tex.el (cal-tex-latexify-list): * lisp/calendar/todo-mode.el (todo-sort): * lisp/cedet/semantic/ctxt.el (semantic-ctxt-end-of-symbol-default) (semantic-ctxt-current-symbol-default): * lisp/cedet/semantic/symref.el (semantic-symref-result-get-files): * lisp/cedet/semantic/texi.el (semantic-texi-command-completion-list): * lisp/descr-text.el (describe-char): * lisp/emacs-lisp/eieio-datadebug.el (data-debug-add-specialized-thing): * lisp/emacs-lisp/rmc.el (read-multiple-choice--short-answers): * lisp/eshell/em-pred.el (eshell-modifier-alist): * lisp/gnus/gnus-cache.el (gnus-cache-articles-in-group): * lisp/gnus/gnus-dired.el (gnus-dired-attach): * lisp/help-mode.el (help-package-def): * lisp/ibuf-ext.el (ibuffer-mark-modified-buffers): * lisp/image/image-dired.el: * lisp/international/quail.el (quail-keyseq-translate) (quail-get-translations): * lisp/isearch.el (isearch-pre-command-hook) (search-within-boundaries): * lisp/mail/supercite.el (sc-ask): * lisp/mh-e/mh-e.el (mh-variant-set): * lisp/net/rcirc.el (rcirc-nick-channels, rcirc-channel-nicks): (rcirc-browse-url): * lisp/obsolete/thumbs.el (thumbs-cleanup-thumbsdir): * lisp/org/org-agenda.el (org-agenda-filter-completion-function): * lisp/org/org-table.el (org-table-eval-formula): * lisp/org/org.el (org-set-regexps-and-options): * lisp/org/ox.el (org-export--get-inbuffer-options): * lisp/ses.el (ses-range): * lisp/textmodes/emacs-news-mode.el (emacs-news--buttonize): * lisp/textmodes/ispell.el (ispell-begin-tex-skip-regexp): * lisp/vc/vc-cvs.el (vc-cvs-stay-local-p): * lisp/window.el (window--state-get-1): * test/lisp/emacs-lisp/shortdoc-tests.el (shortdoc-all-groups-work): Delete redundant lambdas around unary functions. (Bug#66816)
* Prefer defface's ':slant italic' to obsolete alias ':italic t'Stefan Kangas2025-01-211-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * etc/themes/manoj-dark-theme.el (manoj-dark): * etc/themes/modus-themes.el (modus-themes-faces): * etc/themes/manoj-dark-theme.el (manoj-dark): * etc/themes/modus-themes.el (modus-themes-faces): * lisp/emacs-lisp/eieio-custom.el (eieio-custom-slot-tag-face): * lisp/gnus/gnus-art.el (gnus-emphasis-italic) (gnus-emphasis-underline-italic, gnus-emphasis-bold-italic) (gnus-emphasis-underline-bold-italic, gnus-signature) (gnus-header-from, gnus-header-subject, gnus-header-newsgroups) (gnus-header-content): * lisp/gnus/gnus-cite.el (gnus-cite-attribution, gnus-cite-1) (gnus-cite-2, gnus-cite-3, gnus-cite-4, gnus-cite-5, gnus-cite-6) (gnus-cite-7, gnus-cite-8, gnus-cite-9, gnus-cite-10, gnus-cite-11): * lisp/gnus/gnus-srvr.el (gnus-server-cloud-host) (gnus-server-closed): * lisp/gnus/gnus.el (gnus-group-mail-1-empty) (gnus-group-mail-2-empty, gnus-summary-low-ticked) (gnus-summary-low-ancient, gnus-summary-low-undownloaded) (gnus-summary-low-unread, gnus-summary-low-read): * lisp/gnus/message.el (message-header-to) (message-header-newsgroups, message-header-other): * lisp/gnus/mm-decode.el (mm-command-output): * lisp/mh-e/mh-e.el (mh-face-data, mh-folder-body): * lisp/net/dictionary.el (dictionary-word-entry-face): * lisp/org/org-faces.el (org-formula, org-agenda-date-today) (org-scheduled, org-scheduled-today): * lisp/proced.el (proced-interruptible-sleep-status-code): * lisp/progmodes/prolog.el (prolog-font-lock-keywords): * lisp/progmodes/verilog-mode.el (verilog-font-lock-translate-off-face) (verilog-font-lock-p1800-face, verilog-font-lock-ams-face) (verilog-font-lock-grouping-keywords-face): * lisp/progmodes/vhdl-mode.el (vhdl-font-lock-attribute-face) (vhdl-font-lock-enumvalue-face, vhdl-font-lock-function-face) (vhdl-font-lock-directive-face): * lisp/transient.el (transient-inapt-suffix): * lisp/vc/ediff-init.el (ediff-even-diff-A, ediff-even-diff-B) (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A) (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor): Prefer defface attribute ':slant italic' to its obsolete alias ':italic t'. See also Bug#73552.
* Prefer defface's ':weight bold' to obsolete alias ':bold t'Stefan Kangas2025-01-211-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * etc/themes/adwaita-theme.el (adwaita): * etc/themes/manoj-dark-theme.el (manoj-dark): * etc/themes/modus-themes.el (modus-themes-faces): * lisp/gnus/gnus-srvr.el (gnus-server-agent, gnus-server-cloud) (gnus-server-opened, gnus-server-denied, gnus-server-offline): * lisp/gnus/gnus.el (gnus-group-news-1, gnus-group-news-2) (gnus-group-news-3, gnus-group-news-4, gnus-group-news-5) (gnus-group-news-6, gnus-group-news-low, gnus-group-mail-1) (gnus-group-mail-2, gnus-group-mail-3, gnus-group-mail-low-empty) (gnus-group-mail-low, gnus-summary-high-ticked) (gnus-summary-high-ancient, gnus-summary-high-undownloaded) (gnus-summary-high-unread, gnus-summary-high-read): * lisp/gnus/message.el (message-header-to, message-header-cc) (message-header-subject, message-header-newsgroups) (message-header-other, message-header-name, message-header-xheader) (message-separator, message-cited-text-1, message-cited-text-2) (message-cited-text-3, message-cited-text-4, message-mml) (message-signature-separator): * lisp/mh-e/mh-e.el (mh-face-data, mh-folder-cur-msg-number) (mh-speedbar-folder-with-unseen-messages) (mh-speedbar-selected-folder-with-unseen-messages): * lisp/net/dictionary.el (dictionary-button-face): * lisp/org/org-faces.el (org-drawer, org-tag, org-list-dt, org-todo) (org-done, org-headline-todo, org-formula, org-agenda-structure) (org-scheduled, org-scheduled-today, org-scheduled-previously) (org-upcoming-deadline): * lisp/proced.el (proced-uninterruptible-sleep-status-code) (proced-executable, proced-cpu, proced-user, proced-time-colon): * lisp/progmodes/erts-mode.el (erts-mode-specification-name) (erts-mode-specification-value): * lisp/progmodes/prolog.el (prolog-font-lock-keywords): * lisp/progmodes/verilog-mode.el (verilog-font-lock-p1800-face) (verilog-font-lock-ams-face) (verilog-font-lock-grouping-keywords-face): * lisp/progmodes/vhdl-mode.el (vhdl-font-lock-prompt-face) (vhdl-font-lock-attribute-face, vhdl-font-lock-enumvalue-face) (vhdl-font-lock-function-face, vhdl-font-lock-directive-face) (vhdl-font-lock-reserved-words-face): Prefer defface attribute ':weight bold' to its obsolete alias ':bold t'. See also Bug#73552.
* ; Fix warnings in a tty-only build on MS-WindowsEli Zaretskii2025-01-051-0/+2
| | | | | | | | | | | | | * lisp/org/org.el (dnd-open-local-file): * lisp/dired.el (tool-bar--image-expression): * lisp/term/android-win.el (x-handle-args): Declare. * lisp/w32-fns.el (w32-system-shells): (w32-allow-system-shell): * lisp/net/shr.el (image-scaling-factor): * lisp/net/eww.el (image-scaling-factor): * lisp/image.el (image-scaling-factor): Defvar. (image-recompute-map-p): Move to before the first use. Reported by Angelo Graziosi <angelo.g0@libero.it>.
* Update copyright year to 2025Paul Eggert2025-01-01127-127/+127
| | | | Run "TZ=UTC0 admin/update-copyright".
* Merge from origin/emacs-30Eli Zaretskii2024-12-281-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2ba6387d1d6 ; Fix inaccuracy in ELisp Reference manual 8ac6a178804 ; * etc/PROBLEMS: Mention problems with XPM support in GD... 624322d5f6a Add missing fontification matches for elixir-ts-mode 5bafb11b400 ; Fix copyright year 186ea407326 Don't start docstrings with "This function" or similar cb8ce2e68bb Enable indent-tabs-mode in obj-c-mode 54f35137096 Fix comment indent in 'lua-ts-mode' and old grammar 8b95549e908 * admin/nt/dist-build/build-dep-zips.py: (deps src) handl... 8064b2a6798 Document undocumented completion commands c29b798537e ; etc/w32-feature.el (harfbuzz): improve test 0e43e35f96e * admin/nt/dist-build/emacs.nsi: (Uninstall) delete only ... b83cd8a8fb0 ; * etc/tutorials/TUTORIAL.ko: Fix the beginning. 41caccc488b ; * etc/publicsuffix.txt: Update from upstream. e6fb18406ee ; Fix refcards 14e791f9ba2 ; Update acknowledgments for Emacs 30 861b7864fc4 ; Fix node name in emacs-lisp-intro.texi 77243ba5be8 ; Update version tags of defcustoms fe2ac33bae8 ;* doc/misc/efaq.texi (New in Emacs 30): Mention 'trusted... 8fb884f0dc0 ; * etc/NEWS: Fix wording. e281355a5e8 Improve D-Bus and Tramp manual # Conflicts: # doc/emacs/emacs.texi # etc/NEWS # lisp/erc/erc-log.el # lisp/eshell/esh-mode.el # lisp/which-key.el
| * Don't start docstrings with "This function" or similarStefan Kangas2024-12-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/calculator.el (calculator-add-operators): * lisp/erc/erc-backend.el (erc-server-ping-handler): * lisp/erc/erc-log.el (erc-generate-log-file-name-with-date): (erc-generate-log-file-name-short): * lisp/erc/erc-track.el (erc-track-shorten-function): * lisp/eshell/em-smart.el (eshell-where-to-jump): * lisp/eshell/esh-mode.el (eshell-begin-on-new-line): * lisp/gnus/gnus-art.el (gnus-prompt-before-saving): * lisp/mail/supercite.el (sc-cite-region-limit): * lisp/net/nsm.el (network-security-protocol-checks): * lisp/org/org-element.el (org-element--cache-avoid-synchronous-headline-re-parsing): * lisp/progmodes/hideif.el (hif-merge-ifdef-region): * lisp/progmodes/modula2.el (m2-indent): * lisp/progmodes/xscheme.el (xscheme-running-p): (xscheme-control-g-disabled-p): * lisp/tab-bar.el (tab-bar--event-to-item): * lisp/which-key.el (which-key--hide-popup): Don't start docstrings with "This function" or "This variable".
* | Merge from origin/emacs-30Eli Zaretskii2024-12-211-1/+3
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8f8da2d7854 ; * ChangeLog.4: Update. 49adcf30b01 ; * etc/AUTHORS: Update. 1381c6f9591 * Update authors.el 5c0f3f5826e ; * etc/NEWS: Mark unmarked entries. 8a0c9c234f1 Document 'trusted-content c6ce11b2a48 Mention network-interface-list in network-interface-info ... a7905145f70 ; * lisp/emacs-lisp/re-builder.el (reb-change-syntax): Fi... cde22c02011 Move NEWS items from unreleased 28.3 to released 29.1 5686bb5b428 Improve browse-url-android-share docstring 92041e15f4a Minor doc fix for url-handler-regexp 9fd96e2ab95 Improve reb-change-syntax docstring b9dc337ea74 * lisp/files.el (trusted-content-p): Make `:all` work in ... 4b685bc4fcd ; * src/process.c (Fnetwork_interface_list): Fix typo. c14c4895719 ; * lisp/net/nsm.el (nsm-trust-local-network): Fix typo. 10f976300d0 ; Add some tree-sitter thing content to the manual 55303a6bc0a * lisp/org/ox-texinfo.el (org-texinfo-template): Fix Info... 8b6c6cffd1f trusted-content: Adjust the last patch based on prelimina... 69b16e5c638 ; * etc/NEWS: Fix typos. 5c6dbc65f36 ; * doc/lispref/frames.texi (Multiple Terminals): Add ind... 856a58e2827 Update documentation of 'etags' regexps some more 4c68846223b Update documentation of 'etags' regexps b5158bd1914 elisp-mode.el: Disable Flymake byte-compile backend in un... # Conflicts: # doc/man/etags.1 # etc/NEWS # lisp/org/ox-texinfo.el
| * * lisp/org/ox-texinfo.el (org-texinfo-template): Fix Info format (bug#74844)Stefan Monnier2024-12-151-2/+2
| |
* | Make font-lock face variables obsoleteStefan Kangas2024-12-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using these variables as "another mechanism for changing face appearance" never really worked, since mode authors were free to use the face instead of the variable (i.e. quoting the symbol). This means that when users customized the variables, it would change its appearance only in some cases, which is a rather surprising interface. Indeed, it turns out that some modes have not always been consistent, and mixed using the variable and the face, increasing the confusion even further. Thus, the only thing users could rely on to always work was to leave the variables at their default value, and to customize the face. We now recommend customizing the face, and are obsoleting these variables. This will lead to some minor code-churn, but it is believed that it will be ultimately worth it. To fix existing Lisp code, you should typically only need to quote the symbol, as this commit shows. It might be the case that we will have to keep the obsolete variables, that have been with us since Emacs 19, around for a longer time-period than normal, to allow package authors to adapt. * lisp/font-lock.el (font-lock-comment-face) (font-lock-comment-delimiter-face, font-lock-string-face) (font-lock-doc-face, font-lock-doc-markup-face, font-lock-keyword-face) (font-lock-builtin-face, font-lock-function-name-face) (font-lock-variable-name-face, font-lock-type-face) (font-lock-constant-face, font-lock-warning-face) (font-lock-negation-char-face, font-lock-preprocessor-face): Make face variables obsolete in favor of customizing the faces directly instead. (Bug#71469) * doc/lispref/modes.texi (Faces for Font Lock): Don't document above obsolete variables. * lisp/cedet/data-debug.el (data-debug-insert-hash-table) (data-debug-insert-widget-properties, data-debug-insert-string) (data-debug-insert-number): * lisp/emacs-lisp/lisp-mode.el (elisp--font-lock-backslash) (lisp-font-lock-syntactic-face-function): * lisp/emacs-lisp/package.el (describe-package-1): * lisp/generic-x.el (rc-generic-mode, rul-generic-mode): * lisp/org/org-table.el (org-table-edit-formulas): * lisp/progmodes/cc-fonts.el (c-font-lock-invalid-single-quotes) (c-maybe-font-lock-wrong-style-comments, c-font-lock-declarators) (c-font-lock-c++-lambda-captures, c-font-lock-c++-modules): * lisp/progmodes/cperl-mode.el (cperl-find-sub-attrs) (cperl-look-at-leading-count, cperl-process-here-doc) (cperl-find-pods-heres): * lisp/progmodes/gdb-mi.el (gdb-init-1, gdb-update, gdb-running) (gdb-starting, gdb-stopped, gdb-internals) (gdb-breakpoints--add-breakpoint-row, gdb-locals-handler-custom) (gdb-registers-handler-custom, gdb-get-source-file): * lisp/progmodes/js.el (js--font-lock-keywords-1) (js--font-lock-keywords-2, js-font-lock-syntactic-face-function): * lisp/progmodes/lua-ts-mode.el (lua-ts--comment-font-lock): * lisp/progmodes/meta-mode.el (meta-indent-in-string-p): * lisp/progmodes/prolog.el (prolog-font-lock-keywords): * lisp/progmodes/python.el (python-font-lock-syntactic-face-function): * lisp/progmodes/ruby-ts-mode.el (ruby-ts--comment-font-lock): * lisp/progmodes/sh-script.el (sh-font-lock-syntactic-face-function): * lisp/textmodes/tex-mode.el (doctex-font-lock-syntactic-face-function): * test/lisp/faces-tests.el (faces--test-color-at-point): * test/lisp/progmodes/cperl-mode-tests.el (cperl-test-extra-delimiters) (cperl-test-bug-47112, cperl-test-bug-65834, cperl-test-bug-66145) (cperl-test-bug-66161, cperl-test-bug-69604): * test/lisp/progmodes/python-tests.el (python-ts-mode-compound-keywords-face) (python-ts-mode-named-assignment-face-1) (python-ts-mode-assignment-face-2, python-ts-mode-nested-types-face-1) (python-ts-mode-union-types-face-1, python-ts-mode-union-types-face-2) (python-ts-mode-types-face-1, python-ts-mode-types-face-2) (python-ts-mode-types-face-3, python-ts-mode-isinstance-type-face-1) (python-ts-mode-isinstance-type-face-2) (python-ts-mode-isinstance-type-face-3) (python-ts-mode-superclass-type-face, python-ts-mode-class-patterns-face) (python-ts-mode-dotted-decorator-face-1) (python-ts-mode-dotted-decorator-face-2) (python-ts-mode-builtin-call-face) (python-ts-mode-interpolation-nested-string) (python-ts-mode-level-fontification-wo-interpolation) (python-ts-mode-disabled-string-interpolation) (python-ts-mode-interpolation-doc-string): * test/lisp/progmodes/ruby-mode-tests.el (ruby-heredoc-font-lock, ruby-heredoc-highlights-interpolations) (ruby-exit!-font-lock, ruby-regexp-interpolation-is-highlighted) (ruby-recognize-symbols-starting-with-at-character) (ruby-hash-character-not-interpolation) (ruby-interpolation-suppresses-quotes-inside) (ruby-interpolation-suppresses-one-double-quote) (ruby-interpolation-inside-percent-literal) (ruby-interpolation-inside-percent-literal-with-paren) (ruby-interpolation-inside-another-interpolation) (ruby-interpolation-inside-double-quoted-percent-literals) (ruby-no-interpolation-in-single-quoted-literals): Don't use above obsolete variables. * lisp/progmodes/cc-fonts.el (font-lock-constant-face): Don't declare now-unused variable.
* | * lisp/org/ox-texinfo.el (org-texinfo-template): Fix direntry formatStefan Monnier2024-12-131-3/+1
| | | | | | | | | | Apparently I was confused and `* FILE. DESCRIPTION` is not a valid format, so always use the longer form.
* | Don't use obsolete filter-buffer-substring-functions in OrgStefan Kangas2024-12-132-24/+6
| | | | | | | | | | | | | | | | | | This patch was also installed in Org mode, here: https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=b9637ef142 * lisp/org/org-agenda.el (org-agenda-mode): * lisp/org/org-indent.el (org-indent-mode): Don't use obsolete filter-buffer-substring-functions.
* | Remove obsolete 'display-comint-buffer-action' (bug#74361)Juri Linkov2024-12-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/window.el (display-comint-buffer-action): (display-tex-shell-buffer-action): Remove obsolete defcustoms. * lisp/cmuscheme.el (run-scheme, switch-to-scheme): * lisp/shell.el (shell): * lisp/eshell/eshell.el (eshell): * lisp/progmodes/inf-lisp.el (inferior-lisp): * lisp/progmodes/project.el (project-shell, project-eshell): * lisp/progmodes/sh-script.el (sh-show-shell): Replace 'display-comint-buffer-action' with a list of 'display-buffer--same-window-action' and '(category . comint)'. * lisp/org/ol-eshell.el (org-eshell-open): Add '(category . comint)'. * lisp/textmodes/tex-mode.el (tex-display-shell) (tex-recenter-output-buffer): Replace 'display-tex-shell-buffer-action' with a list of 'display-buffer-in-previous-window' and '(category . tex-shell)'.
* | lisp/org: Backport org-mode.git fix for if-let/when-let obsolescenceSean Whitton2024-10-2721-42/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backporting this acked by Org maintainer Ihor Radchenko. * lisp/org/ob-R.el (org-babel-R-associate-session): * lisp/org/ob-clojure.el (ob-clojure-nbb-command) (ob-clojure-cli-command): * lisp/org/ob-core.el (org-babel-execute-src-block): * lisp/org/ob-exp.el (org-babel-exp-code): * lisp/org/ob-julia.el (org-babel-julia-associate-session): * lisp/org/ob-python.el (org-babel-python--python-util-comint-end-of-output-p): * lisp/org/ol.el (org-insert-link): * lisp/org/org-attach.el (org-attach): * lisp/org/org-clock.el (org-clock-select-task): * lisp/org/org-compat.el (fboundp): * lisp/org/org-element-ast.el (org-element-property-raw) (org-element-put-property, org-element-copy): * lisp/org/org-element.el (org-element-timestamp-interpreter) (org-element--cache-key): * lisp/org/org-goto.el (org-goto-location): * lisp/org/org-lint.el (org-lint-suspicious-language-in-src-block) (org-lint-export-option-keywords): * lisp/org/org-macs.el (org-mks): * lisp/org/org-persist.el: (org-persist-write:elisp): * lisp/org/org-table.el (org-table-fedit-finish): * lisp/org/org.el (org-entry-get-with-inheritance): * lisp/org/ox-html.el (org-html--reference) (org-html--build-mathjax-config, org-html-example-block): * lisp/org/ox-latex.el (org-latex-table-row): * lisp/org/ox.el (org-export--prune-tree) (org-export--blindly-expand-include): Replace use of if-let and when-let, obsolete in Emacs 31.0.50.
* | Merge from origin/emacs-30Eli Zaretskii2024-09-074-6/+10
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b420e149b1e Fix a typo in ediff-init.el e1304e9b1bb Fix 'chart-space-usage' on MS-Windows 04c44405bf6 Fix alignment and documentation of vtable.el 4d6fadb8d21 ; * lisp/which-key.el: Fix ':package-version' (bug#73072). 54071b9cef2 ; Improve doc strings of 'tab-bar-mode' and 'tab-line-mode' 87a8b12a0c4 Fix test failure in erc-networks-tests dad0935cfcb ; * doc/emacs/building.texi (Lisp Libraries): Update (bug... e4dc6711b02 Fix :hook in 'use-package' c1cd036d27a ; * doc/lispref/modes.texi (Mode Line Data): Fox wording. ae2463796f2 ; Caveats about using :eval in 'mode-line-format' 4047072c7d8 Update FSF's address 24f12bdd77e Support the new option in ruby-ts-mode too 6c15b7710d4 Add new option ruby-bracketed-args-indent 7799ef43354 Fix Rmail base64 and qp decoding of MIME payloads 0def396fa8f Update to Org 9.7.11 8c044bd9726 ; Fix recent changes in documentation e0d8879bcd5 * test/lisp/emacs-lisp/tabulated-list-tests.el: Add missi... 4ff4b78f922 ; Small doc fixes da980ad838e ; Reword some "allows Xing" 2ca7d5649c6 ; More accurate text about how `equal` compares various o... # Conflicts: # etc/NEWS
| * Update to Org 9.7.11Kyle Meyer2024-09-014-6/+10
| |
* | Merge from savannah/emacs-30Po Lu2024-08-205-5/+8
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | 3419e7ea522 Correct Android failure to open an old CJK font 45ae4de0e7c * lisp/help-fns.el (help-definition-prefixes): Don't dele... fc7581ae2ee ; Fix documentation of secure-hash functions 21be5cadaf1 ; * lisp/subr.el (sha1): Fix typo in docstring. 8715619d485 ; * etc/NEWS: Fix wording of last change. 023d387a7bd Update to Org 9.7.10 b54e8b3741b ; * etc/NEWS: Announce 'shr-fill-text'. acfd91bc0c7 ; * lisp/emacs-lisp/compat.el: Fix header style. 55337dc36a2 * test/infra/gitlab-ci.yml (.tree-sitter-template): Adapt... d8e9eb73c2b Bump use-package version for Emacs 30.1 4d9d3fec1b9 * Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump. 502285e84aa ; * admin/make-tarball.txt: Some clarifications.
| * Update to Org 9.7.10Kyle Meyer2024-08-185-5/+8
| |
* | Merge from origin/emacs-30Eli Zaretskii2024-07-277-10/+13
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 88e1ec22f27 Update to Org 9.7.9 1ae2f004473 Fix edge-case with 'which-key-dont-use-unicode' setter 68a5f1f7d18 NS: prevent makeKeyWindow warnings (bug#69525) 59a895ec499 ; * .gitignore: Add lisp/eshell/esh-groups.el. 5c08cd4e7c3 ; * doc/emacs/cmdargs.texi (Initial Options): Fix last ch... 309d0a71864 Add PROBLEMS entry for bug#72303 87389f9ff90 ; Improve documentation of 'line-prefix' and 'wrap-prefix'. 268a2d10fc9 Improve documentation of '--init-directory' command-line ... c27055a938a ; cperl-mode.el: Fix fontification of flip-flop (Bug#72296) fcd4e4c895d ; * admin/MAINTAINERS: Add myself for maintaining some ar... fdc133e97f6 Fix bug in server.el introduced by 0d7d835902df af527051cd3 ; * admin/MAINTAINERS: Remove Nicolas Petton. 7170282a59a lisp/minibuffer.el (completion--sifn-requote): Fix bug#72176 68906f184cb * admin/notes/spelling: Update note. 9eea6be5abf Don't produce invalid XML with multi-line commenting style b97786d9f6e ; * etc/NEWS: Entry for 'gnus-summary-limit-to-age' (bug#... a7996615663 Standardize possessive apostrophe usage in manuals, docs,... 67faaead754 Don't refer to obsolete finder group "wp" # Conflicts: # etc/NEWS
| * Update to Org 9.7.9Kyle Meyer2024-07-262-5/+8
| |
| * Standardize possessive apostrophe usage in manuals, docs, and commentsStefan Kangas2024-07-255-5/+5
| | | | | | | | | | See the note in admin/notes/documentation. Ref: https://lists.gnu.org/r/emacs-devel/2012-02/msg00649.html
* | Merge from savannah/emacs-30Po Lu2024-07-242-12/+13
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1ee8579eb7d Fix bug#72255 05629d3af0a Delete redundant "a.k.a." in use-package.texi c7609464f70 Document (use-package 'emacs) declarations de9f9add138 Improve 'emacs-news-view-mode' menus and bindings 7588e1f8a9f ; * src/xdisp.c (Fformat_mode_line): Doc fix. 2074e94c3b1 Fix disappearing bar cursor on Hebrew text (bug#72230) 1aaadc8aec5 Fix DocView with DVI files c1382257aa8 ; Fix typo in use-package.texi caf7426f0ca FIx spurious fontification of variable in Java Mode 9b426e15abd Correctly typeset nil and t in texinfo f050b9c5033 Fix Tramp IPv6 handling in tests 46b192c04b1 Update to Org 9.7.8-5-gfdf0e0 87f41b937bc Fix Ftreesit_parser_create
| * Update to Org 9.7.8-5-gfdf0e0Kyle Meyer2024-07-212-12/+13
| |
* | Merge from origin/emacs-30Stefan Monnier2024-07-195-7/+6
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a478423d19f * lisp/progmodes/peg.el (peg-syntax-classes): Typo (bug#7... 951fb93956d * lisp/transient.el (static-if): Remove duplicated defini... 0218fb21437 Adapt file-remote-p doc 34c1094e607 ; Fix typo in etc/ORG-NEWS (Bug#72186) 5916b172bdc * etc/TODO: Delete item about merging Magit. a6cab228d4d ; Fix typos 41dc28244f2 * doc/man/emacs.1.in: Add "No warranty" notice. b2ac3435867 ; * doc/man/emacs.1.in: Improve wording. 110b3d08d73 Improve emacs man page description of --user flag 4911f08912a Checkdoc fixes in allout-widgets.el 109b592d77b Checkdoc fixes in subr.el 46436720787 Checkdoc fixes in touch-screen.el 9889774c62e Checkdoc fixes in treesit.el # Conflicts: # etc/NEWS
| * ; Fix typosStefan Kangas2024-07-185-7/+6
| |
* | Merge from savannah/emacs-30Po Lu2024-07-155-16/+25
|\ \ | |/ | | | | | | | | | | 5ec73eca57c Update to Org 9.7.7-2-gf308d3 33ba72f52fd Fix decoding 'display' properties with SVG images in Enri... 174a0b7642b * configure.ac (D8): Fix typo. c56e837a10e ; * src/android.c (setEmacsParams): Delete unused variable.
| * Update to Org 9.7.7-2-gf308d3Kyle Meyer2024-07-145-16/+25
| |
* | Merge from savannah/emacs-30Po Lu2024-07-0828-54/+62
|\ \ | |/ | | | | | | | | | | | | | | f4c0459ed3e Fix Tramp parser 47c79b62dd0 Checkdoc fixes in progmodes 6757f8e67d3 Checkdoc fixes in Org Mode 9fcee3c1d1e Clarify `checkdoc-max-keyref-before-warn` docstring b249f022f12 * lisp/files.el (insert-directory): Quote switches in wil... 8911d53ce5d Fix uses of 'dired-omit-mode' (bug#71905)
| * Checkdoc fixes in Org ModeStefan Kangas2024-07-0728-54/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/org/ob-core.el: * lisp/org/ob-exp.el: * lisp/org/ob-lob.el: * lisp/org/ob-plantuml.el (org-babel-execute:plantuml): * lisp/org/ob-python.el (org-babel-python--command) (org-babel-python-initiate-session-by-key) (org-babel-python-initiate-session): * lisp/org/ob-scheme.el (org-babel-scheme-make-session-name): * lisp/org/ob-tangle.el (org-babel-find-file-noselect-refresh) (org-babel-interpret-file-mode): * lisp/org/ob.el: * lisp/org/org-agenda.el (org-agenda-mouse-1-follows-link) (org-agenda-start-with-archives-mode) (org-agenda-previous-line): * lisp/org/org-clock.el (org-clock-save, org-clock-load): * lisp/org/org-element-ast.el (org-element-type-p): * lisp/org/org-faces.el (org-cycle-level-faces): * lisp/org/org-fold-core.el (org-fold-core--isearch-overlays): * lisp/org/org-fold.el (org-fold--extend-changed-region): * lisp/org/org-goto.el: * lisp/org/org-habit.el (org-habit-show-all-today): * lisp/org/org-inlinetask.el (org-inlinetask-in-task-p): * lisp/org/org-macs.el (org-current-text-column): * lisp/org/org-mobile.el (org-mobile-check-setup): * lisp/org/org-mouse.el (org-mouse-bolp): * lisp/org/org-refile.el (org-refile): * lisp/org/org-src.el (org-src-do-key-sequence-at-code-block): * lisp/org/org-table.el (orgtbl-after-send-table-hook) (orgtbl-self-insert-command, orgtbl-to-orgtbl): * lisp/org/org.el (org-read-date-popup-calendar, org-finish-function) (org-occur-parameters, org-self-insert-command, org-ctrl-c-ctrl-c-hook) (org-ctrl-c-ctrl-c-final-hook, org-submit-bug-report) (org--single-lines-list-is-paragraph): * lisp/org/ox-icalendar.el (org-icalendar--vtodo): * lisp/org/ox-latex.el (org-latex-generate-engraved-preamble): (org-latex-src--engrave-code): * lisp/org/ox-publish.el (org-publish-project-alist): * lisp/org/ox.el (org-export-data): Various checkdoc fixes.
* | Remove redundant `require`sStefan Kangas2024-07-042-2/+0
|/ | | | | | | | | | * lisp/gnus/canlock.el (sha1): * lisp/international/utf7.el (base64): * lisp/net/hmac-md5.el (md5): * lisp/org/ob-processing.el (sha1): * lisp/org/org-feed.el (sha1): * test/lisp/net/rfc2104-tests.el (sha1, md5): Don't require features that are built-in, and always provided.
* ; Fix typos in symbolsStefan Kangas2024-06-293-3/+3
|
* Update to Org 9.7.5-9-ga091caKyle Meyer2024-06-2711-26/+33
|
* ; Fix typosStefan Kangas2024-06-233-3/+3
|
* Merge from origin/emacs-29Stefan Kangas2024-06-221-11/+29
|\ | | | | | | | | | | | | 9a02fce714c Update files for Emacs 29.4 d96c54d3883 * admin/authors.el: Update for Emacs 29.4 fd207432e50 * etc/NEWS: Update for Emacs 29.4 c645e1d8205 org-link-expand-abbrev: Do not evaluate arbitrary unsafe ...
| * 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.
* | * lisp/org/ob-lua.el: Minor doc fixes.Stefan Kangas2024-06-181-9/+11
| |
* | ; Fix typosStefan Kangas2024-06-164-4/+4
| |