]> git.eshelyaron.com Git - emacs.git/commitdiff
Merge from origin/emacs-29
authorStefan Kangas <stefankangas@gmail.com>
Tue, 21 Feb 2023 09:58:00 +0000 (10:58 +0100)
committerStefan Kangas <stefankangas@gmail.com>
Tue, 21 Feb 2023 09:58:00 +0000 (10:58 +0100)
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

1  2 
lisp/emacs-lisp/comp.el
lisp/progmodes/c-ts-mode.el
lisp/progmodes/csharp-mode.el
lisp/progmodes/eglot.el
lisp/progmodes/js.el
lisp/progmodes/typescript-ts-mode.el
lisp/simple.el
lisp/treesit.el
src/comp.c
test/src/regex-emacs-tests.el

Simple merge
index 8a4cc2fac18cf51853573d64d6c40a5c247fd7ad,6d70dc3198e35af63e3c8aa83de4f3d86fb6aea0..b7a487687a88367c17fe7679daa7df56ceac069e
@@@ -887,14 -898,10 +929,15 @@@ To use tree-sitter C/C++ modes by defau
  
  in your configuration."
    :group 'c++
+   :after-hook (c-ts-mode-set-modeline)
  
    (when (treesit-ready-p 'cpp)
 +    (setq-local treesit-text-type-regexp
 +                (regexp-opt '("comment"
 +                              "raw_string_literal")))
 +
      (treesit-parser-create 'cpp)
 +
      ;; Syntax.
      (setq-local syntax-propertize-function
                  #'c-ts-mode--syntax-propertize)
Simple merge
Simple merge
index 90813c8de3459a90b6b694f066b4d2f610eb6e79,027d6053f6edf17ee74c5e717341d343a8bc187e..dc49d7e818cbc94adca1cfcdd8bbb3895f03b7fc
@@@ -3866,14 -3820,9 +3868,14 @@@ See `treesit-sexp-type-regexp' for mor
      ;; Comment.
      (c-ts-common-comment-setup)
      (setq-local comment-multi-line t)
 +
 +    (setq-local treesit-text-type-regexp
 +                (regexp-opt '("comment"
 +                              "template_string")))
 +
      ;; Electric-indent.
      (setq-local electric-indent-chars
-               (append "{}():;," electric-indent-chars)) ;FIXME: js2-mode adds "[]*".
+                 (append "{}():;,<>/" electric-indent-chars)) ;FIXME: js2-mode adds "[]*".
      (setq-local electric-layout-rules
                '((?\; . after) (?\{ . after) (?\} . before)))
  
Simple merge
diff --cc lisp/simple.el
Simple merge
diff --cc lisp/treesit.el
Simple merge
diff --cc src/comp.c
Simple merge
Simple merge