From: Eli Zaretskii Date: Sat, 24 Jun 2023 11:13:42 +0000 (-0400) Subject: Merge from origin/emacs-29 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8e8667246a4c06c8362515cbd6bead889babb748;p=emacs.git Merge from origin/emacs-29 d0147ff9e50 * lisp/emacs-lisp/shortdoc.el: More and better `substring... fa06249a9fb Fix "C-x RET r" when the new encoding is UTF 679e9d7c56e ; Mention MinGW64 GCC 13.1 problems in PROBLEMS fdc1a12ed1a Fix "vc-print-log does not erase buffer" and associated p... d507aa7336b Add selector_expression indentation rule 1f664a0af75 Add "nixd" LSP server to Eglot e962cf4ba72 Fix building --with-native-compilation=aot from release t... 4ca371e9cc7 Fix bug#64152 (Minibuffer sometimes goes "modal") a0ccf1859cc Disable target-async by default in gdb-mi.el 2bad5829ff7 Revert "Fix parsing of dn line if WITHDN is non-nil" 7637e361d3b Don't truncate filenames with "emacs.el" in them 2591eb1190a Improve documentation of 'minibuffer-message' 6f211bc57b9 Eglot: again fix positions of coinciding inlay hint overl... a24e9e3fee5 ; Update ChangeLog.4 and etc/AUTHORS. --- 8e8667246a4c06c8362515cbd6bead889babb748 diff --cc lisp/progmodes/cc-fonts.el index d220af2ab0e,e6c6c65f59c..baf57d6839a --- a/lisp/progmodes/cc-fonts.el +++ b/lisp/progmodes/cc-fonts.el @@@ -2659,9 -2623,7 +2659,9 @@@ need for `c-font-lock-extra-types'." ;; prevent a repeat invocation. See elisp/lispref page "Search-based ;; fontification". (let (pos) - (while - (while (c-syntactic-re-search-forward c-using-key limit 'end) ++ (while + (and (< (point) limit) + (c-syntactic-re-search-forward c-using-key limit 'end)) (while ; Do one declarator of a comma separated list, each time around. (progn (c-forward-syntactic-ws) diff --cc lisp/progmodes/eglot.el index dff79ba7773,890f1e91b86..e2478f2dde3 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@@ -230,8 -230,7 +230,8 @@@ chosen (interactively or automatically) . ,(eglot-alternatives '("digestif" "texlab"))) (erlang-mode . ("erlang_ls" "--transport" "stdio")) ((yaml-ts-mode yaml-mode) . ("yaml-language-server" "--stdio")) - (nix-mode . ,(eglot-alternatives '("nil" "rnix-lsp"))) + (nix-mode . ,(eglot-alternatives '("nil" "rnix-lsp" "nixd"))) + (nickel-mode . ("nls")) (gdscript-mode . ("localhost" 6008)) ((fortran-mode f90-mode) . ("fortls")) (futhark-mode . ("futhark" "lsp"))