aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* src/comp.c: Compile float_blocks as constants.scratch/comp-static-dataVibhav Pant2023-06-071-6/+12
| | | | | | | | * src/comp.c (push_float_block): Declare float_block globals as consts. (float_block_new_block): Bitcast const float_block to their unqualified type, to avoid libgccjit type errors.
* Merge branch 'master' into scratch/comp-static-dataVibhav Pant2023-06-06742-13879/+147878
|\
| * Improve tree-sitter tests on embaMichael Albinus2023-06-053-2/+23
| | | | | | | | | | | | | | | | | | | | * test/infra/Dockerfile.emba (emacs-tree-sitter): Install further grammars. * test/infra/Makefile.in (subdir_template): Special handling of src. (TREE-SITTER-FILES): Add treesit-tests.el. * test/infra/test-jobs.yml: Regenerate.
| * Fix bug with point-adjustment after M-x COMMANDEli Zaretskii2023-06-051-0/+4
| | | | | | | | | | | | | | * src/keyboard.c (command_loop_1): Preserve 'last_point_position' across command execution, to avoid bugs in 'adjust_point_for_property' if the command invokes 'recursive-edit'. Reported by Mats Lidell <matsl@gnu.org>.
| * Adapt emba integrationMichael Albinus2023-06-052-13/+6
| | | | | | | | | | | | | | | | | | * test/infra/Dockerfile.emba (emacs-tree-sitter): Use "/root/.emacs.d/tree-sitter" instead of "/usr/local/lib/tree-sitter". * test/infra/gitlab-ci.yml (.job-template): Run "/bin/bash -xvc". (test-eglot): Revert last change, it doesn't work yet. (test-tree-sitter): Set TEST_HOME instead of LD_LIBRARY_PATH.
| * * subr-x (eval-command-interactive-spec): New function.Sean Whitton2023-06-043-0/+14
| |
| * Better internal-make-closure optimisationMattias Engdegård2023-06-041-10/+4
| | | | | | | | | | | | * lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Optimise closed-over values in closure creation like any other, which can lead to stack variables being eliminated.
| * * lisp/emacs-lisp/comp-cstr.el (cl-macs): Require it.Andrea Corallo2023-06-041-0/+1
| |
| * * lisp/emacs-lisp/comp.el (comp-function-type-spec): Improve.Andrea Corallo2023-06-041-3/+5
| |
| * ; Minor doc copyedits in comp.elEli Zaretskii2023-06-041-11/+10
| | | | | | | | | | | | * lisp/emacs-lisp/comp.el (comp-known-type-specifiers): Fix commentary. (comp-function-type-spec): Doc fix.
| * ; * lisp/emacs-lisp/comp.el (comp-funciton-type-spec): typoMattias Engdegård2023-06-042-2/+2
| |
| * Print know function types in C-h fAndrea Corallo2023-06-042-8/+32
| | | | | | | | | | | | | | * lisp/emacs-lisp/comp.el (comp-known-type-specifiers): Improve comment. (comp-funciton-type-spec): New function. * lisp/help-fns.el (help-fns--signature): Update to make use of `comp-funciton-type-spec'.
| * * Have `comp-cstr-to-type-spec' handle comp-cstr-f as wellAndrea Corallo2023-06-041-2/+16
| | | | | | | | | | | | * lisp/emacs-lisp/comp-cstr.el (comp--simple-cstr-to-type-spec): New function. (comp-cstr-to-type-spec): Make use of.
| * * lisp/emacs-lisp/comp.el (comp-known-type-specifiers): Fix line lengthsAndrea Corallo2023-06-041-11/+33
| |
| * * lisp/emacs-lisp/comp.el: Improve 85cb075b1bd.Andrea Corallo2023-06-041-1/+1
| |
| * * lisp/emacs-lisp/comp.el (comp-known-type-specifiers): Tweak framep.Andrea Corallo2023-06-041-1/+1
| |
| * Adapt emba integrationMichael Albinus2023-06-032-3/+10
| | | | | | | | | | | | | | * test/infra/Dockerfile.emba (emacs-eglot, emacs-tree-sitter): Don't install gawk. * test/infra/gitlab-ci.yml (test-eglot): Add company and yasnippet.
| * * admin/unidata/emoji-zwj.awk: Avoid sprint buffer overflowMattias Engdegård2023-06-031-1/+1
| | | | | | | | | | | | | | Some AWK implementations have a fixed buffer for sprintf; for mawk the default size is 8192 bytes. Hoist a string concatenation from a sprintf call to avoid running into that limit. See discussion at https://lists.gnu.org/archive/html/emacs-devel/2023-06/msg00090.html .
| * Merge from origin/emacs-29Eli Zaretskii2023-06-0323-363/+465
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ede3535051a ; Fix last change 8ec786349e1 Fix apostrophe handling in rust-ts-mode and go-ts-mode (B... 0eba9cf6511 * test/infra/Dockerfile.emba (emacs-base): Install also g... 4897c98b6c4 Fix 'python-util-clone-local-variables' 6b2c8dc9050 Revert "Enhance Python font-lock to support multilines" 348e4504c6d Fix typo in calc.texi 03663b8798a Update to Transient v0.4.1 dc7acb1aafe Avoid errors in 'delete-forward-char' deleting static com... 2f94f6de9d6 Make VS-15 and VS-16 compositions work correctly 753f8aa1f14 Fix project-name for vc-aware backend in non-file buffers 17c7915ab94 ; Fix 'package-install-upgrade-built-in' check for packag... e252ce26eab Add type_predicate 'is' as keyword in typescript-ts-mode ... 0a354d65784 Fix infloop in info-look.el 83b22139e4c Fix several todo-mode.el item editing bugs (bug#63811) ed4cd3eddf7 dockerfile-ts-mode: Prevent empty categories in imenu (Bu... 2e20e318da2 Brush up doc strings and terminology in plstore.el 372bc1278c2 Add internal documentation on plstore.el 23a14e7b902 Add compact_constructor_declaration font-locking to java-... 500abc4dc37 * lisp/tmm.el (tmm-completion-delete-prompt): Add more ch... afc1f329356 Allow to disable the DWIMish behavior of 'x' in package menu 08104c01504 Allow dired to invoke secondary browser a3063f0bc87 Add a binding for enriched-toggle-markup d8ba28fa394 Fix order of tmm-menubar when 'tmm-mid-prompt' is nil # Conflicts: # etc/NEWS
| | * ; Fix last changeEli Zaretskii2023-06-031-2/+4
| | | | | | | | | | | | | | | * lisp/progmodes/rust-ts-mode.el (rust-ts-mode--syntax-propertize): Doc fix. (Bug#63708)
| | * Fix apostrophe handling in rust-ts-mode and go-ts-mode (Bug#63708)Йордан Миладинов2023-06-032-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/rust-ts-mode.el (rust-ts-mode--syntax-propertize): Treat apostrophes as strings if used to define character literals. Treat LT and GT as pairs if used to define type parameters (formerly they were treated as pairs only for type arguments). * lisp/progmodes/go-ts-mode.el (go-ts-mode--syntax-table): Treat apostrophes as strings if used to define rune literals. Copyright-paperwork-exempt: yes
| | * * test/infra/Dockerfile.emba (emacs-base): Install also gawk.Michael Albinus2023-06-031-1/+1
| | |
| | * Fix 'python-util-clone-local-variables'Eli Zaretskii2023-06-031-1/+2
| | | | | | | | | | | | | | | | | | * lisp/progmodes/python.el (python-util-clone-local-variables): Avoid signaling an error when a local variable is unbound. Patch by Ernesto Alfonso <erjoalgo@gmail.com>. (Bug#63818)
| | * Revert "Enhance Python font-lock to support multilines"kobarity2023-06-032-178/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 4915ca5dd4245a909c046e6691e8d4a1919890c8. We have found that there are performance issues when editing a large file. The issue can be reproduced as follows: 1. emacs -Q 2. Open large Python file (e.g. turtle.py in Python) 3. Near the top of the buffer, enter open paren and some characters. The above commit extends the region to be font-locked using `python-nav-end-of-statement'. However, if there are unbalanced parens, it may move point to the end of the buffer. This causes almost the entire buffer to be font-locked, which is not acceptable for large files.
| | * Fix typo in calc.texiEli Zaretskii2023-06-031-1/+1
| | | | | | | | | | | | | | | * doc/misc/calc.texi (Programming Tutorial): Fix a typo. Suggested by Vladimir Nikishkin <lockywolf@gmail.com>.
| | * Update to Transient v0.4.1Jonas Bernoulli2023-06-022-9/+16
| | |
| | * Avoid errors in 'delete-forward-char' deleting static compositionsEli Zaretskii2023-06-021-1/+2
| | | | | | | | | | | | | | | * lisp/simple.el (delete-forward-char): Fix recognition of static compositions. (Bug#63837)
| | * Make VS-15 and VS-16 compositions work correctlyRobert Pluim2023-06-022-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a conflict between forward matching and backward matching composition rules involving the same codepoint, which can cause the backward matching ones not to be invoked. Ensure that VS-15 (U+FE0E) and VS-16 (U+FE0F) are composed by forward matching rules instead in order to avoid this issue. * admin/unidata/emoji-zwj.awk: Add rules for CHAR+VS-15 and CHAR+VS-16. * lisp/composite.el: remove backward matching rule for VS-15. (Bug#63731)
| | * Fix project-name for vc-aware backend in non-file buffersDmitry Gutov2023-06-021-2/+2
| | | | | | | | | | | | | | | | | | * lisp/progmodes/project.el (project-name): Make sure project-vc-name is picked up from dir-locals in all non-file-visiting buffers too (mentioned in bug#63469).
| | * ; Fix 'package-install-upgrade-built-in' check for package menuPhilip Kaludercic2023-05-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (package-menu--find-upgrades): Use correct check to verify if a built-in packages in the package menu can be upgraded or not. This change improves upon a faulty assumption from ba2c76fa2bc3aabfda7d1d09cc5148f3f9d8e08e. (Bug#63587)
| | * Add type_predicate 'is' as keyword in typescript-ts-mode (bug#63810)Theodor Thornhill2023-05-311-1/+1
| | | | | | | | | | | | | | | * lisp/progmodes/typescript-ts-mode.el (typescript-ts-mode--keywords): New keyword 'is'.
| | * Fix infloop in info-look.elEli Zaretskii2023-05-311-1/+5
| | | | | | | | | | | | | | | * lisp/info-look.el (info-lookup-guess-gdb-script-symbol): Fix infloop when there are no completions. (Bug#63808)
| | * Fix several todo-mode.el item editing bugs (bug#63811)Stephen Berman2023-05-311-130/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/calendar/todo-mode.el (todo-insert-item--basic): With insertion type 'here', ensure item is inserted on the todo-mode line where the command was invoked. (todo-edit-item--cat, todo-edit-item--pos): New variables. (todo-edit-item--text): Restrict the scope of nil-valued buffer-read-only to the functions that change buffer text. If user moved point while editing a single-line todo item or a done item comment, or while inserting a done item comment, restore point, and for comments, make sure the done items section is displayed. For multiline items, set the new variables so todo-edit-quit can use them. (todo-edit-quit): Use the values of the new variables to restore point in the todo-mode buffer if it had been moved while editing. (todo-edit-item--header): Avoid clobbering match data when editing a todo item header.
| | * dockerfile-ts-mode: Prevent empty categories in imenu (Bug#63759)Randy Taylor2023-05-311-2/+3
| | | | | | | | | | | | | | | * lisp/progmodes/dockerfile-ts-mode.el (dockerfile-ts-mode--imenu): Don't include empty categories.
| | * Brush up doc strings and terminology in plstore.elJens Schmidt2023-05-311-18/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/plstore.el (plstore-encoded, plstore-passphrase-callback-function) (plstore--init-from-buffer, plstore-revert, plstore-close) (plstore--merge-secret, plstore--decrypt, plstore--match, plstore-find) (plstore-get, plstore-put, plstore-delete, plstore--insert-buffer) (plstore-save, plstore--encode, plstore--decode) (plstore--write-contents-functions, plstore-mode-decoded) (plstore-mode): Brush up doc strings and documentation in general. Fix terminology, in particular spurious occurences of all uppercase "PLSTORE". (Bug#63627)
| | * Add internal documentation on plstore.elJens Schmidt2023-05-311-2/+131
| | | | | | | | | | | | | | | * lisp/plstore.el: Add internal documentation and some words of warning in the user documentation. (Bug#63627)
| | * Add compact_constructor_declaration font-locking to java-ts-modeTheodor Thornhill2023-05-301-0/+3
| | | | | | | | | | | | | | | * lisp/progmodes/java-ts-mode.el (java-ts-mode--font-lock-settings): New pattern.
| | * * lisp/tmm.el (tmm-completion-delete-prompt): Add more checks (bug#63754).Juri Linkov2023-05-291-1/+2
| | | | | | | | | | | | | | | | | | In case when 'completions-header-format' is nil, the first 'mouse-face' property is at the beginning of the buffer. So first use 'get-text-property' at point-min.
| | * Allow to disable the DWIMish behavior of 'x' in package menuEli Zaretskii2023-05-292-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (package-menu-use-current-if-no-marks): New defcustom. (package-menu-execute): Use it. (Bug#62563) * etc/NEWS: Announce the new option.
| | * Allow dired to invoke secondary browserRobert Pluim2023-05-292-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'browse-url-of-dired-file' always invokes the primary browser, but sometimes it's handy to call a different browser, which is why 'browse-url-secondary-browser-function' exists. * lisp/net/browse-url.el (browse-url-of-dired-file): Call 'browse-url-secondary-browser-function' when invoked with a prefix argument. * etc/NEWS: Announce the change.
| | * Add a binding for enriched-toggle-markupRobert Pluim2023-05-292-1/+2
| | | | | | | | | | | | | | | | | | * lisp/textmodes/enriched.el (enriched-mode-map): Bind 'enriched-toggle-markup' to 'M-o m'. * etc/NEWS: Announce the change.
| | * Fix order of tmm-menubar when 'tmm-mid-prompt' is nilEli Zaretskii2023-05-291-3/+5
| | | | | | | | | | | | | | | | | | * lisp/tmm.el (tmm-prompt): Reverse 'tmm-km-list' when 'tmm-mid-prompt' is nil, to present the menu in the correct order. Suggested by Thiago Melo <tmdmelo@gmail.com>.
| * | ; Merge from origin/emacs-29Eli Zaretskii2023-06-030-0/+0
| |\ \ | | |/ | | | | | | | | | | | | The following commit was skipped: 53dc7bec830 Fix regression when saving tramp-default-proxies-alist (D...
| | * Fix regression when saving tramp-default-proxies-alist (Do not merge)Michael Albinus2023-05-291-19/+23
| | | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-add-hops): Suppress `signal-hook-function'. Save `tramp-default-proxies-alist' only when changed.
| * | Merge from origin/emacs-29Eli Zaretskii2023-06-036-30/+794
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | 3f441525679 Save the tree-sitter grammar recipe when installing a gra... c0c7b947baf Add instructions and test file for VS-15/VS-16 3be33aff963 A better fix for "Fix cancellation of Wdired" 756244c6963 ; * lisp/minibuffer.el (completions-header-format): Doc fix. 5d844e129ad Fix tmm-menubar when 'tmm-completion-prompt' is nil # Conflicts: # lisp/treesit.el
| | * Save the tree-sitter grammar recipe when installing a grammarYuan Fu2023-05-281-18/+24
| | | | | | | | | | | | | | | | | | | | | Raised in bug#63750, but not the main subject of it. * lisp/treesit.el (treesit-install-language-grammar): Save the recipe to treesit-language-source-alist when installation is successful.
| | * Add instructions and test file for VS-15/VS-16Robert Pluim2023-05-282-1/+739
| | | | | | | | | | | | | | | | | | * admin/notes/unicode: Add instructions for emoji-variation-sequences.txt * admin/unidata/emoji-variation-sequences.txt: New file, imported from Unicode 15.
| | * A better fix for "Fix cancellation of Wdired"Michael Heerdegen2023-05-281-3/+2
| | | | | | | | | | | | | | | | | | * lisp/wdired.el (wdired-abort-changes): Call `dired-build-subdir-alist' instead of `dired-revert'. (Bug#63676)
| | * ; * lisp/minibuffer.el (completions-header-format): Doc fix.Eli Zaretskii2023-05-271-5/+8
| | |
| | * Fix tmm-menubar when 'tmm-completion-prompt' is nilEli Zaretskii2023-05-271-3/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/tmm.el (tmm-prompt): Handle nil value of 'tmm-mid-prompt'. (tmm-completion-delete-prompt): Don't rely on the exact text of the completion heading line, as it is now a customizable format string, and can be nil, meaning no heading line is inserted at all. Instead, search for the first character of the menu based on text properties used for it. (Bug#63754)