aboutsummaryrefslogtreecommitdiffstats
path: root/test (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge from origin/emacs-29Stefan Kangas2023-03-021-8/+25
|\ \ | |/ | | | | | | | | | | 59365f92856 * lisp/progmodes/go-ts-mode.el: Use treesit-language-avai... 56cd810b9d1 Don’t signal warning when loading go-ts-mode.el without g... b06d5519664 Fix c-ts-mode empty line indentation (bug#61893) 6b2720778dc Improve tree-sitter's prev-sibling indent anchor
| * Fix c-ts-mode empty line indentation (bug#61893)Yuan Fu2023-03-011-8/+25
| | | | | | | | | | | | | | * lisp/progmodes/c-ts-mode.el (c-ts-mode--indent-styles): Make the "rest sibling" matchers catch the case where NODE is nil, when indenting an empty line. * test/lisp/progmodes/c-ts-mode-resources/indent.erts: New test.
* | Make Tramp file name completion more quietMichael Albinus2023-03-011-2/+6
| | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-sh.el (tramp-perl-file-name-all-completions): Don't print status message. (tramp-sh-handle-file-name-all-completions): Return nil when check fails. (Bug#61890) * test/lisp/net/tramp-tests.el (tramp-test26-file-name-completion-with-perl): (tramp-test26-file-name-completion-with-ls): New tests.
* | Merge from origin/emacs-29Stefan Kangas2023-03-011-0/+5
|\ \ | |/ | | | | | | | | | | | | | | | | 97a83ff31fa Eglot: fix M-x eglot-show-workspace-configuration (bug#61... 48a0804d10d ruby-mode: Fix method call indentation in rhs of multiple... 16d012cf3bd * lisp/net/tramp.el (tramp-remote-path): Improve docstring. b371697cdca Minor change in 'dired--find-possibly-alternative-file' c2b5c6acc58 Implement prefix arg for 'c-ts-mode-toggle-comment-style' eb2ab52fb01 Defaults to zero for image-dired--number-of-thumbnails 5dc163f592a ; Add a doc string for 'ediff-window-display-p' obsolescence
| * ruby-mode: Fix method call indentation in rhs of multiple assignmentDmitry Gutov2023-02-281-0/+5
| | | | | | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-smie-rules): Special-case assignment that follows a comma-separated list (bug#61871). * test/lisp/progmodes/ruby-mode-resources/ruby.rb: Add case.
* | Merge from origin/emacs-29Stefan Kangas2023-02-281-16/+16
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 613de662811 Rename the newly added -ref- faces to -use- f601e9666d8 Eglot: support multiple labels in same inlay hint 4a5eda7ed2a Eglot: don't paint hints outside requested region (bug#61... 11c1aa1eb12 ; * doc/misc/gnus.texi: Fix last change. 44949c292f9 ; Add `nnimap-user' to Gnus manual 6c7078c66f4 ; * lisp/progmodes/c-ts-mode.el (treesit-node-prev-siblin... 3d0a6c9baa6 Eglot: protect against unintended field text motion (bug#... 647e40f4a0c ; And yet another fix to eglot-current-linepos-function's... 9d0f856a167 Fix description of 'desktop-save-mode' aee10ca1cbe Adjust tree-sitter defun navigation (bug#61617) edf5b976869 Simplify c-ts-mode--top-level-label-matcher 0f15286c539 New tree-sitter indent anchor standalone-parent used by c... # Conflicts: # etc/NEWS
| * Adjust tree-sitter defun navigation (bug#61617)Yuan Fu2023-02-271-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this change, when you use a tree-sitter navigation function to move to the next beginning of a thing, it jumps over the immediate next thing and lands you at the beginning of the next-next thing. Eg, when point is at the "|", and we evaluate (treesit--navigate-thing pos 1 'beg), we go from | (thing) (thing) to (thing) |(thing) But some might expect point to go to |(thing) (thing) instead, which makes sense. Also, that's how Emacs expect defun navigation functions to work. The discrepancy in expectation causes bug#61617. In this change I made tree-sitter navigation functions to work as what Emacs expects. And what I described for moving to the next beginning of thing is similarly applicable to moving to the end of previous end of thing. * lisp/treesit.el (treesit-beginning-of-defun) (treesit-end-of-defun): Handle the case where defun-skipper moves point back to where we started, by adding a retry. (treesit--navigate-thing): Add a single condition checking for progress to the condition form responsible for checking whether to skip the next defun. Namely (eq pos (funcall advance next)))). * test/src/treesit-tests.el: (treesit--ert-defun-navigation-nested-master) (treesit--ert-defun-navigation-top-level-master): Change tests to reflect the new expectation.
* | New user option 'grep-use-headings'Augusto Stoffel2023-02-271-0/+14
| | | | | | | | | | | | | | | | | | * lisp/progmodes/grep.el (grep-heading-regexp): New user option. (grep-heading): New face (bug#59888). (grep--heading-format, grep--heading-state, grep--heading-filter): Filter function for grep processes and supporting variables. (grep-use-headings): New user option. (grep-mode): Use the above, if applicable.
* | Warn about `condition-case` without handlersMattias Engdegård2023-02-271-0/+6
| | | | | | | | | | | | | | | | | | | | Omitting handlers from a `condition-case` form makes it useless since no errors are caught. * lisp/emacs-lisp/macroexp.el (macroexp--expand-all): New warning. * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-test--with-suppressed-warnings): Add test case. * etc/NEWS: Announce.
* | Improve delete-consecutive-dups doc precision and add testMattias Engdegård2023-02-271-0/+34
| | | | | | | | | | | | | | | | * lisp/subr.el (delete-consecutive-dups): Document which element of each run is retained (the earliest in the list). This matters because it makes it safe to ignore the return value. * test/lisp/subr-tests.el (subr--delete-dups) (subr--delete-consecutive-dups): Add tests.
* | Merge from origin/emacs-29Stefan Kangas2023-02-273-8/+13
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | 267fc6d00c4 ruby-smie-rules: Fix misindentation of a method call afte... 0fde314f6f6 * lib-src/etags.c (process_file_name): Free malloc'ed var... dde9d149af3 ; Improve documentation of loading *.eln files 7c552be89da ; Another doc fix in eglot.el 75c65fcc98e ; Fix last change a3d15c1f749 ; Fix last change ca79b138d42 Eglot: rename and redocument encoding-related functions (... 3e3e6d71be7 Eglot: support positionEncoding LSP capability (bug#61726) b0e87e930e8 Eglot: use faster strategy for moving to LSP positions (b... 5b174b96834 Fix mule-tests in UTF-8 locales 5256392a7ec Fix 'vertical-motion' when display strings are around 0db88d625a7 ; * src/treesit.c (treesit_predicate_match): Fix typo.
| * ruby-smie-rules: Fix misindentation of a method call after assignmentDmitry Gutov2023-02-271-0/+4
| | | | | | | | | | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-smie-rules): Fix indentation of a method call after assignment with ruby-after-operator-indent=nil (bug#61822). * test/lisp/progmodes/ruby-mode-resources/ruby-after-operator-indent.rb: Add corresponding example.
| * Eglot: rename and redocument encoding-related functions (bug#61726)João Távora2023-02-261-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/eglot.el (eglot-current-column): Obsolete. (eglot-lsp-abiding-column): Obsolete. (eglot-current-column-function): Obsolete. (eglot-current-linepos-function): Rename from eglot-current-column-function. (eglot-utf-8-linepos): Rename from eglot-bytewise-column. (eglot-utf-16-linepos): Rename from eglot-lsp-abiding-column. (eglot-utf-32-linepos): Rename from eglot-current-column. (eglot-move-to-current-column): Obsolete. (eglot-move-to-lsp-abiding-column): Obsolete. (eglot-move-to-column-function): Obsolete. (eglot-move-to-linepos-function): Rename from eglot-move-to-column-function. (eglot-move-to-utf-8-linepos): Rename from eglot-move-to-bytewise-column. (eglot-move-to-utf-16-linepos): Rename from eglot-move-to-lsp-abiding-column. (eglot-move-to-utf-32-linepos): Rename from eglot-move-to-current-column. (eglot--managed-mode): Adjust. (eglot-client-capabilities): Trim whitespace. * test/lisp/progmodes/eglot-tests.el (eglot-test-lsp-abiding-column) (eglot-test-lsp-abiding-column-1): Use new function/variable names.
| * Fix mule-tests in UTF-8 localesEli Zaretskii2023-02-261-3/+4
| | | | | | | | | | * test/lisp/international/mule-tests.el (sgml-html-meta-no-post-less-than-10lines): Fix test condition.
* | Tramp: Do not unlock when connection is brokenMichael Albinus2023-02-261-1/+23
| | | | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-handle-unlock-file): Do not unlock when connection is broken. (Bug#61663) * test/lisp/net/tramp-tests.el (tramp-test39-make-lock-file-name): Extend test.
* | Be more cautious in completing Eshell variable assignmentsJim Porter2023-02-251-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | Previously, Eshell treated cases like the second argument in "tar --directory=dir" as a variable assignment, but that prevented 'pcomplete/tar' from implementing its own completion for that argument (bug#61778). * lisp/eshell/esh-var.el (eshell-complete-variable-assignment): Only handle completion when all initial arguments are variable assignments. * test/lisp/eshell/em-cmpl-tests.el (em-cmpl-test/variable-assign-completion/non-assignment): New test.
* | (bytecomp-warn--ignore): New testStefan Monnier2023-02-251-2/+10
| | | | | | | | | | | | | | Add tests for the interaction of `ignore` with warnings. * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-warn--ignore): New test. (bytecomp--with-warning-test): Really make it a function.
* | bytecomp--with-warning-test: Make it a functionStefan Monnier2023-02-251-6/+7
| | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (bytecomp--with-warning-test): Make it a function.
* | Merge from origin/emacs-29Stefan Kangas2023-02-251-0/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | 5cf50d60041 Check the anchor along with the offset in treesit-indent-... 497018dd5c3 ; Fix typos in docstrings in c-ts-common.el 03072bbdd38 ; Set indent-tabs-mode to nil in c-ts-mode indent preproc... 4a25fa4586c Align to prev sibling for c-ts-mode indentation d25f24fe57b Fix c-ts-common-statement-offset and c-ts-common--node-is c92360c7a3b typescript-ts-mode: Highlight non-shorthand destructuring... a795c51f605 Add more/finer faces for tree-sitter 146bce49321 Avoid crashes in batch mode due to lack of frame face cache 244a73cd729 Add Tramp version integrated in Emacs 28.3 # Conflicts: # etc/NEWS
| * ; Set indent-tabs-mode to nil in c-ts-mode indent preproc testYuan Fu2023-02-241-0/+1
| | | | | | | | | | * test/lisp/progmodes/c-ts-mode-resources/indent-preproc.erts: Set indent-tabs-mode to nil.
* | Tramp cleanupMichael Albinus2023-02-241-187/+192
| | | | | | | | | | | | | | | | * lisp/net/tramp-gvfs.el (tramp-gvfs-parse-device-names): Ignore errors. * test/lisp/net/tramp-tests.el (tramp-test26-file-name-completion) (tramp-test26-interactive-file-name-completion) (tramp-test29-start-file-process, tramp-test30-make-process): Fix tests.
* | Merge branch 'emacs-29'Stefan Monnier2023-02-242-0/+37
|\ \ | |/
| * Restore invisibility of symlink target on exiting wdired-modeStephen Berman2023-02-241-0/+23
| | | | | | | | | | | | | | * lisp/wdired.el (wdired-change-to-dired-mode): Invoke dired-hide-details-update-invisibility-spec (bug#61510). * test/lisp/wdired-tests.el (wdired-test-bug61510): New test.
| * Fix insertion of keyboard macro containing named keysRobert Pluim2023-02-241-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/kmacro.el: Autoload `macro--string-to-vector'. (kmacro-ring-head): Convert `last-kbd-macro' to a vector if it's a string, since `kmacro' uses `key-parse' on it. (kmacro-lambda-form): Remove require for 'macros * test/lisp/kmacro-tests.el (kmacro-tests-name-last-macro-key-parse-syntax): Test that insertion of macros that contain strings that look like named keys works correctly. (Bug#61700)
* | Don't add a space after the trailing slash when completing ~USER in EshellJim Porter2023-02-231-3/+2
| | | | | | | | | | | | | | | | | | | | | | This provides a programmed completion function that works similarly to ~USER completion in 'completion-file-name-table'. * lisp/eshell/em-dirs.el (eshell-complete-user-reference): Throw a programmed completion function. * test/lisp/eshell/em-cmpl-tests.el (em-cmpl-test/user-ref-completion): Update test.
* | Add support for completing quoted variables in Eshell like $'FOO'Jim Porter2023-02-231-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also adds the ability for Pcomplete handlers to set their own exit functions that will get called as appropriate. * lisp/pcomplete.el (pcomplete-default-exit-function): New function. (pcomplete-exit-function): New variable... (pcomplete-completions-at-point): ... let-bind and use it. * lisp/eshell/em-cmpl.el (eshell-complete-parse-arguments): Handle quoted variables. We also build the 'posns' list from right-to-left now. * lisp/eshell/esh-var.el (eshell-envvar-names): Ensure that variable aliases are included in this list. (eshell-complete-variable-reference): Handle quoted variables and set the exit function on the completions. (eshell-variables-list): Simplify. We now add the trailing slash for directories in the exit function inside 'eshell-complete-variable-reference'. * test/lisp/eshell/em-cmpl-tests.el (em-cmpl-test/quoted-variable-ref-completion) (em-cmpl-test/variable-ref-completion/directory): New tests.
* | Merge from origin/emacs-29Stefan Kangas2023-02-232-2/+91
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 94e70ed4261 ; * lisp/emacs-lisp/eldoc.el (eldoc-display-in-echo-area)... 1841299a11d Eglot: implement inlay hints (bug#61412, bug#61066) 28ed0d1840f Eglot: run eglot-managed-mode-hook after LSP didOpen 7ad5d9babed Eglot: restore eldoc-documentation-functions on shutdown 711a775ba76 Eglot: simplify capability-checking code ea7251ad6df Eglot: go back to setting eldoc-documentation-strategy again 6016f1982d3 ; * etc/NEWS: Fix typo again d411b4d1fd3 ; * etc/NEWS (C-x v !): Additional text. a0b67252346 ; * doc/emacs/vc1-xtra.texi (Preparing Patches): Wording ... 43c4dd6f962 ; * doc/emacs/anti.texi (Antinews): Adjust to latest chan... 20c654b6f8f Merge branch 'emacs-29' of git.sv.gnu.org:/srv/git/emacs ... 177d0cf2a9a ; * etc/NEWS: Fix typos. db7096a532c Yield to erc-move-to-prompt before unhiding prompt db21c84bc94 ; Improve doc string of 'C-q' a6be0be1db6 ; Clarify "kill files" in Gnus manual d816429e2f2 * lisp/progmodes/python.el (python--import-sources): Fix ... 1f4886fdb09 Do not error out on non image file (bug#61639) 003759a6dca Explain effect of variable-pitch fonts on fill-column ba91a76659b Avoid division by zero in get_narrowed_* functions fb5dbf6de73 ; Fix documentation of 'icon-title-format'. 48c9a507713 * etc/NEWS: Mention new buffer display action alist entries 4dc1f2b9a01 ; * src/xterm.c (x_update_end): Condition on HAVE_XDBE f1c83898060 Fix build --without-xdbe ef38774c02c Improve dnd-direct-save-remote-files docstring cf53e62a791 Add 'process-status' to process shortdoc 68df9e5953c * lisp/emacs-lisp/comp.el (comp--trampoline-abs-filename)... 06ba9484166 Improve text about deleting windows 1976ca1634d Make 'emacs-news-cycle-tag' work at all levels # Conflicts: # etc/NEWS
| * Yield to erc-move-to-prompt before unhiding promptF. Jason Park2023-02-221-2/+2
| | | | | | | | | | | | | | | | | | | | * lisp/erc/erc-backend.el (erc--hide-prompt): Change hook depth from 0 to 91 to allow the `move-to-prompt' module to do its thing. This feature was added by bug#54826 and first appeared in Emacs 29. * lisp/erc/erc-common.el (erc-server-user): Remove erroneous comment. The `buffers' field is a list of buffers. * test/lisp/erc/erc-tests.el (erc-hide-prompt): Use `erc--target' instead of `erc-default-recipients' because this is new code.
| * Make 'emacs-news-cycle-tag' work at all levelsRobert Pluim2023-02-211-0/+89
| | | | | | | | | | | | | | * lisp/textmodes/emacs-news-mode.el (emacs-news-cycle-tag): Search for a heading starting with 2 or more '*' rather than exactly 3. * test/lisp/textmodes/emacs-news-mode-resources/cycle-tag.erts (Point-Char): Add tests for 2 and 4 '*' levels.
* | Use delete-char instead of backward-delete-charMattias Engdegård2023-02-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/bs.el (bs-delete): * lisp/dired-aux.el (dired-show-file-type): * lisp/emulation/viper-cmd.el (viper-insert-prev-from-insertion-ring): * lisp/man.el (Man-fontify-manpage, Man-cleanup-manpage): * lisp/net/mailcap.el (mailcap-parse-mailcap): * lisp/progmodes/antlr-mode.el (antlr-insert-makefile-rules): * lisp/textmodes/reftex-ref.el (reftex-reference): * lisp/vc/emerge.el: * lisp/woman.el (woman-man-buffer): * test/src/fns-tests.el (fns-tests-hash-buffer): Replace some calls to backward-delete-char with delete-char (negating the argument) since the former is intended for interactive use. This silences most of the interactive-only warnings.
* | ; * test/lisp/emacs-lisp/nadvice-tests.el: suppress some warningsMattias Engdegård2023-02-211-1/+7
| |
* | Merge from origin/emacs-29Stefan Kangas2023-02-214-0/+91
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5a864f23eb8 regex-emacs.c: Reduce the use of backtracking a bit further e83c78b8c77 Eglot: respect user's Eldoc configuration by default 5d0b45cd67b Make the native compiler always use `make-temp-file' for ... 88ee92e61d7 ; * lisp/progmodes/rust-ts-mode.el (treesit-node-end): De... 02aba20d528 Update to Transient v0.3.7-216-gfe40342 d7010d64b21 Add declaration_list to c-ts-common-indent-type-regexp-alist 19480aa30e3 Typescript-ts-mode: Add switch case handling dfc850ca022 Fix object initializer for csharp-mode (bug#61541) fc4bfa76db9 Update to Org 9.6.1-34-geea8da afbce8bb467 Improve tree-sitter indent anchor prev-adaptive-prefix (b... 2e6093b425e Adjust jsx indentation c544df4fa3f Cleanup preproc indent for c-ts-mode (bug#61558) d397f3d5084 Add comment style toggle for c-ts-mode (bug#61550) 683961cd733 * lisp/simple.el (choose-completion): Check for completio... 1ac05eac74b rust-ts-mode--font-lock-settings: Avoid the explicit 'def... b5bea14ca17 * lisp/progmodes/xref.el: Bump the version. # Conflicts: # src/comp.c
| * regex-emacs.c: Reduce the use of backtracking a bit furtherStefan Monnier2023-02-201-0/+11
| | | | | | | | | | | | | | | | | | | | | | bug#61514 exhibited some undesirable backtracking in a case where it's easy to avoid it by making `mutually_exclusive_p` just a bit more careful. * src/regex-emacs.c (mutually_exclusive_p): Handle `on_failure_jump`s. * test/src/regex-emacs-tests.el (regexp-tests-backtrack-optimization): Add a few tests.
| * Add declaration_list to c-ts-common-indent-type-regexp-alistDaniel Martín2023-02-201-0/+16
| | | | | | | | | | | | | | * lisp/progmodes/c-ts-mode.el (c-ts-base-mode): Consider a "declaration_list" a block. (Bug#61635) * test/lisp/progmodes/c-ts-mode-resources/indent.erts (Code): Add a test case.
| * Improve tree-sitter indent anchor prev-adaptive-prefix (bug#61314)Yuan Fu2023-02-191-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now prev-adaptive-prefix looks at the current line and checks if it begins with a prefix itself. If it does, prev-adaptive-prefix tries to place the anchor before the prefix on the previous line, rather than after it. - prev line - this line -> This line starts with a "-", i.e., begins with a prefix, so we place the anchor at the beginning of the "-" of the previous line, rather than after it - prev line this line -> This line doesn't start with a prefix, so the anchor is placed after the previous line's "-". * doc/lispref/modes.texi (Parser-based Indentation): Update manual. * lisp/treesit.el: (treesit-simple-indent-presets): Add local variable this-line-has-prefix, base what anchor to return on the value of this-line-has-prefix and whether the prev line has a prefix.
| * Cleanup preproc indent for c-ts-mode (bug#61558)Theodor Thornhill2023-02-192-0/+49
| | | | | | | | | | | | | | | | * lisp/progmodes/c-ts-mode.el (c-ts-mode--indent-styles): Make sure we indent to great-grand-parent if inside an #ifdef...#endif block. If grand-parent is root node, then don't indent one step. (c-ts-mode--preproc-offset): New helper anchor function to calculate indent offset.
* | Detect and prevent function alias loops in `fset` and `defalias`Mattias Engdegård2023-02-213-8/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make `fset` and `defalias` signal an error on attempts to create circular alias chains. This is more effective, efficient and convenient than permitting alias loops to be created and trying to detect them at run time each time a function is called, which is what we have been doing until now, badly. * lisp/help-fns.el (help-fns--analyze-function): Don't pass obsolete argument. * lisp/subr.el (function-alias-p): * src/data.c (indirect_function, Findirect_function): Simplify. Now error-free, second argument obsolete. (Ffset): Detect loops. * test/lisp/help-fns-tests.el (help-fns--analyze-function-recursive): * test/lisp/subr-tests.el (test-alias-p): Adapt tests. * test/src/data-tests.el (data-tests-fset, data-tests-defalias): New. * doc/lispref/eval.texi (Function Indirection): * doc/lispref/functions.texi (Defining Functions, Function Cells): Update manual. * etc/NEWS: Announce.
* | Help Elisp xref recognize defclass parent classesEric Abrahamsen2023-02-201-0/+5
| | | | | | | | | | | | | | | | * lisp/progmodes/elisp-mode.el (elisp--xref-infer-namespace): Handle defclass parents (bug#61640). * test/lisp/progmodes/elisp-mode-tests.el (elisp-mode-infer-namespace): New case in the test.
* | Tramp cleanupMichael Albinus2023-02-191-115/+128
| | | | | | | | | | | | | | | | * lisp/net/tramp-smb.el (tramp-smb-action-get-acl) (tramp-smb-action-set-acl): Use timeout. * test/lisp/net/tramp-tests.el (tramp-test26-interactive-file-name-completion): Fix test.
* | Merge from origin/emacs-29Stefan Kangas2023-02-191-18/+44
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 871cf33a450 ; * admin/make-tarball.txt: Minor copyedit. 4faebba2fed Fix invocation of File->Close from the menu bar cd05fca5f78 ; Improve documentation of 'native-comp-enable-subr-tramp... c61a30e1601 Update thumbnail buffer's header more 4c49452cdef (treesit-query-validate): Fix reusing the output buffer d560dc5044a (rust-ts-mode--font-lock-settings): Highlight closure par... c15bc91e1bf * Fix `native-comp-enable-subr-trampolines' semantic 774051873d5 Fix documentation of 'just-one-space' and 'delete-horizon... 7337f072500 ; Remove NEWS entry about deleted variable. fb5299ba099 ; Fix wording of last change. 9f508cef85d Fix 'display-buffer-use-least-recent-window' 5190ea6259a Fix point moving when calling python-shell-send-region 6c0d8210175 (project-try-vc): Remove unused defvar/require 4f9862e4356 ; Fix typo a638c79bc5c Delete redundant question from Gnus FAQ 4a90d67eb68 Slightly improve hashcash documentation 6ea3c105ab1 Fix cursor motion when there's line-prefix and display st... e985466556c Fix comment in treesit_record_change (bug#61369) 1e5cebc88bb Spell out RPN abbreviation in Calc manual intro # Conflicts: # etc/NEWS # lisp/window.el
| * Fix point moving when calling python-shell-send-regionkobarity2023-02-181-18/+44
| | | | | | | | | | | | | | | | | | | | * lisp/progmodes/python.el (python-shell-buffer-substring): Add `save-excursion' to prevent the point from moving. * test/lisp/progmodes/python-tests.el (python-tests-should-not-move): New helper function to assert that point does not move while calling a function. (python-shell-buffer-substring-*): Use `python-tests-should-not-move'. (Bug#61463)
* | Don't rely on dynamic scoping to fix bug#59213Stefan Monnier2023-02-181-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than look up a dynamically scoped var to decide whether to trim closures, use an ad-hoc marker on those closures which should not be trimmed. * lisp/emacs-lisp/cconv.el (cconv-dont-trim-unused-variables): Delete var. (cconv-make-interpreted-closure): Use a `:closure-dont-trim-context` markers instead. * lisp/emacs-lisp/edebug.el (edebug-make-enter-wrapper): Use `:closure-dont-trim-context` rather than `cconv-dont-trim-unused-variables`. * lisp/emacs-lisp/testcover.el (testcover-analyze-coverage): Remove workaround for `cconv-dont-trim-unused-variables`. * test/lisp/emacs-lisp/cconv-tests.el (cconv-safe-for-space): New test.
* | Merge from origin/emacs-29Stefan Kangas2023-02-181-64/+79
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1769a588300 Fix some uses of 'use-dialog-box' deef41a8259 Fix hi-lock-tests when 'use-dialog-box' is non-nil 5093a534960 Fix regression due to change in face sort order by 'face-... 3e747630999 * lisp/files.el (file-equal-p): Work around Haiku stat bug. 13fd7667f9c ; * src/treesit.c: Improve sectioning. a40b1745d4a (project-vc-backend-markers-alist): Add entry for vc-got 18e96ed7c8a project.el: Extract backend->marker association for a defvar 0a5615669a4 Don't completely clip into visible range in treesit_recor... 5b34fc07085 * lisp/treesit.el (treesit-node-at): Update docstring (bu... 1c7d7623781 ; Minor copyedit of NEWS wrt *-ts-modes 09fad246de8 * lisp/calc/calc.el (calc-mode): Improve docstring. 8aad8d75aa9 ; Improve and update documentation of native compilation d6e4f243720 Merge 'emacs-29' into 'feature/inhibit-native-comp-cleanup' a555abc56d5 Fix order of faces in 'face-list' b44a7ff85dc Allow 'icon-title-format' to have the value t f1f571e72ae Add electric indent for preproc directives 83af806ab7c Rename 'emacs-news-toggle-tag' to 'emacs-news-cycle-tag' 5bc88b3b175 Add menu to news-mode 40f4bc4e0aa ; Avoid installing VC package dependencies multiple times 1c9d81a2b42 Attempt to recognise if a VC package has no Elisp files 2550e8bb0b0 Fix mule-tests under en_US.UTF-8 locale 32795309939 Move block closer above declaration_list rule (bug#61531) b18754bb179 Minor improvements in c-ts-mode and docs 3c6b726a7b4 Add super node as a keyword 1917c51fe68 ; Prevent ERC-induced false positive in JUnit report b16965ef7e6 Delete perplexing paragraph from Gnus manual 43c62a4732d ; Fix typo fdac69b45e6 ; Auto-commit of loaddefs files. 7678b7e46f2 Eglot: check server capability before sending didSave (bu... a3a1ef7bd5e Fix rust-ts-mode type and module highlighting (Bug#61302) 477aa047ee7 rust-ts-mode: Highlight variable reassignments 5206a551c16 Improve backward compatibility of save-restriction accd88d5545 Don't indent template_string contents (bug#61503) d97a3839967 csharp-ts-mode: fontify compiler directives (bug#61512) 420d2cae846 Update to Transient v0.3.7-209-gdab1dfa a3751b5d0c1 ; Raise an error if a VC package checkout is empty 6a32ba8b69c ; Fix the installation of dependencies for VC packages 4eac80fcc39 ; Prepare to update ERC version to 5.5 4f099a72173 ; Remove failing erc-reuse-buffers test ce4a066ed1e * Generate trampolines in a temporary directory if no oth... 4bb27a5ca93 ; Minor docs copyedits 13bcff3da5c Merge branch 'emacs-29' of git.savannah.gnu.org:/srv/git/... 3d572ae0d50 Rename with/without-narrowing to with/without-restriction d806b0e33cf * lisp/repeat.el: Rename internal function and variable (... 1a64f326e0a * Fix previous change 95692f6754c Rename native-comp-deferred-compilation-deny-list 8d8464bd5a9 Rename native-comp-deferred-compilation into native-comp-... 5d0912f1445 Rename comp-enable-subr-trampolines into native-comp-enab... dd8b720ee74 ; * etc/NEWS: Fix typos. 909bd04cf5f ; * lisp/calendar/lunar.el: Add comments. (bug#61460) 10f2aedea9a ; * lisp/progmodes/c-ts-mode.el (c-ts-base-mode): delete ... abfd00e5c02 * lisp/emacs-lisp/comp.el (native-comp-never-optimize-fun... 1795839babc Support `comp-enable-subr-trampolines' as string value 865758130a1 ; * admin/git-bisect-start: Update failing commits b948d0d7efe Merge branch 'scratch/fix-locked-narrowing' b6e2799aa1c * Some more `inhibit-native-compile' clean-up dcb2379a463 Minor improvements to labeled narrowing c0681cd3477 Revert "Add new variable 'inhibit-native-compilation'" 3969a34fa1b Revert "Rename to inhibit-automatic-native-compilation" 4297039bd13 Save and restore the absence of narrowing locks 2956e54b1dd Add an extensive test for labeled (locked) narrowing 79ce185ad13 Update the documentation about labeled (locked) narrowing a6cd4553d48 Rename two long line optimizations variables 0d73e4aa261 Add specific symbols for narrowings d8438e2bb44 Add 'without-narrowing' macro 97314447e60 Make 'narrowing-lock' and 'narrowing-unlock' internal a4aa32bdfff Fix 'save-restriction' for narrowing locks
| * Fix hi-lock-tests when 'use-dialog-box' is non-nilEli Zaretskii2023-02-181-64/+79
| | | | | | | | | | * test/lisp/hi-lock-tests.el (hi-lock-case-fold) (hi-lock-unhighlight): Bind 'use-dialog-box' to nil.
* | Use more recent public_suffix_list.dat where possibleStefan Kangas2023-02-171-0/+4
| | | | | | | | | | | | | | | | | | * lisp/url/url-domsuf.el (url-domsuf--public-suffix-file): New function to look for a more recent version of public_suffix_list.dat on the system than the one that is shipped with Emacs. (url-domsuf-parse-file): Use above new function. * test/lisp/url/url-domsuf-tests.el (url-domsuf--public-suffix-file): New test.
* | ; Adjust limit for eclipse in calendar; rename a functionUlrich Müller2023-02-171-3/+3
| | | | | | | | | | | | | | | | | | * lisp/calendar/lunar.el (lunar-check-for-eclipse): Renamed from 'eclipse-check'; thanks to Michael Heerdegen for the suggestion. Add missing documentation string. Slightly adjust the upper limit for the distance from the node. (bug#61460) * test/lisp/calendar/lunar-tests.el (lunar-test-check-for-eclipse): Update accordingly.
* | Merge from origin/emacs-29Stefan Kangas2023-02-172-3/+3
|\ \ | |/ | | | | | | | | | | | | f1f571e72ae Add electric indent for preproc directives 83af806ab7c Rename 'emacs-news-toggle-tag' to 'emacs-news-cycle-tag' 5bc88b3b175 Add menu to news-mode 40f4bc4e0aa ; Avoid installing VC package dependencies multiple times 1c9d81a2b42 Attempt to recognise if a VC package has no Elisp files
| * Rename 'emacs-news-toggle-tag' to 'emacs-news-cycle-tag'Robert Pluim2023-02-162-3/+3
| | | | | | | | | | | | | | | | | | | | | | * lisp/textmodes/emacs-news-mode.el (emacs-news-cycle-tag): Renamed from 'emacs-news-toggle-tag'. (emacs-news-mode-map, emacs-news-mode-menu): Use new name. * test/lisp/textmodes/emacs-news-mode-resources/cycle-tag.erts: Renamed from "toggle-tag.erts". * test/lisp/textmodes/emacs-news-mode-tests.el (emacs-news-cycle-tag): Rename test from 'emacs-news-toggle-tag', and call 'emacs-news-cycle-tag' with new resource file name.
* | Fix test errors when run with fancy charset (bug#61534)Mattias Engdegård2023-02-162-6/+10
| | | | | | | | | | | | | | | | | | | | * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--unescaped-char-literals, test-suppression): Bind `text-quoting-style` to `grave` around tests to force generation of ASCII quotes. * test/src/lread-tests.el (lread-tests--unescaped-char-literals): Subject the reference string to the same text styling as that under scrutiny.
* | Merge from origin/emacs-29Stefan Kangas2023-02-162-1/+4
|\ \ | |/ | | | | | | | | | | | | | | | | 2550e8bb0b0 Fix mule-tests under en_US.UTF-8 locale 32795309939 Move block closer above declaration_list rule (bug#61531) b18754bb179 Minor improvements in c-ts-mode and docs 3c6b726a7b4 Add super node as a keyword 1917c51fe68 ; Prevent ERC-induced false positive in JUnit report b16965ef7e6 Delete perplexing paragraph from Gnus manual 43c62a4732d ; Fix typo