summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-09-11Bump Emacs version to 30.0.91emacs-30.0.91Andrea Corallo
* nt/README.W32: Update Emacs version. * msdos/sed2v2.inp: Likewise. * exec/configure.ac: Likewise. * configure.ac: Likewise. * README: Likewise.
2024-09-11; * ChangeLog.4: Update.Andrea Corallo
2024-09-11; * etc/AUTHORS: Update.Andrea Corallo
2024-09-11; Update version number of exec/configure.acPo Lu
* admin/admin.el (set-version): Update AC_INIT expansion in exec/configure.ac. * exec/configure.ac: Update version to 30.0.90.
2024-09-10Fix heex-ts-mode indentation following previews elixir-mode changeYuan Fu
After the previous fix in elixir-ts-mode (0fd259d166c), embedded heex code are indented like this: 1 defmodule Foo do 2 def foo(assigns) do 3 ~H""" 4 <span> 5 text 6 </span> 7 """ 8 end 9 end The indent rule finds the beginning of the parent heex node, and uses the indentation of that line as anchor with an offset of 0. Previously the parent heex node (fragment) starts at EOL of line 3; after the previous commit, it now starts at BOL of line 4. To fix the indentation, I changed the anchor to the beginning of the elixir (rather than heex) node at point, which is at EOL at line 3. * lisp/progmodes/heex-ts-mode.el (heex-ts--indent-rules): Use the elixir node that contains the heex code as the anchor, instead of the heex root node.
2024-09-11; * admin/make-tarball.txt: Improve last change.Andrea Corallo
2024-09-11; * admin/make-tarball.txt: Remove now unnecessary configure flag.Andrea Corallo
2024-09-10* lisp/ldefs-boot.el: Update.emacs-30.0.90Andrea Corallo
2024-09-10Fix use of Uniscribe font driver in MinGW buildEli Zaretskii
This was inadvertently broken when Windows 9X support was fixed in June 2024. * src/w32uniscribe.c (syms_of_w32uniscribe_for_pdumper): Set 'uniscribe_available' non-zero in non-Cygwin builds. (Bug#73159)
2024-09-10Avoid crashes in redisplay in batch-mode testingEli Zaretskii
* src/xdisp.c (try_window_id): Don't crash for "initial" frame. (Bug#72765)
2024-09-10; * etc/NEWS: Fix indentation.Michael Albinus
2024-09-10eglot-test-rust-completion-exit-function: Fix failure in -Q sessionDmitry Gutov
* test/lisp/progmodes/eglot-tests.el (eglot--call-with-fixture): Check for buffer liveness (https://debbugs.gnu.org/72765#29). (eglot-test-rust-completion-exit-function): Don't expect snippet expansion to happen (no yasnippet in batch mode).
2024-09-09; * doc/lispref/searching.texi (Rx Notation): Simplify rx exampleMattias Engdegård
2024-09-09Clarify the semantics of 'string-pixel-width'Eli Zaretskii
* doc/lispref/display.texi (Size of Displayed Text): * lisp/emacs-lisp/subr-x.el (string-pixel-width): * src/xdisp.c (Fwindow_text_pixel_size, Fbuffer_text_pixel_size): Doc fixes. (Bug#73129)
2024-09-09; * src/treesit.c: Minor cleanups of recent changes.Eli Zaretskii
2024-09-09* src/treesit.c (treesit_debug_print_parser_list): Fix format string.Andrea Corallo
2024-09-08; * src/treesit.c (treesit_debug_print_parser_list): Fix formatting.Yuan Fu
2024-09-08; * src/treesit.c: Add a prototype so there's no warning about it.Yuan Fu
2024-09-08Read more on each call to treesit's buffer readerYuan Fu
* src/treesit.c (treesit_read_buffer): Read until the gap or visible end, instead of reading a single char.
2024-09-08Fix the range handling in treesit.cYuan Fu
1. In treesit_sync_visible_region, reduce the ranges for a parser so it doesn't go beyond the visible range. 2. To avoid possible infinite recursion, add a within_reparse field to parsers. Previously we were using the need_reparse field to avoid infinite recursion, but lisp programs in a parser's after change hook might make some buffer edit which turns need_reparse to true. To avoid that, we now use an explicit field. If a parser's after change function makes a buffer edit, lisp program ends up with a desynced parse tree, but that's better than possible infinite recursion. Also after change function shouldn't edit the buffer. 3. In treesit_make_ranges, use parser's visible_beg instead of buffer's BEGV. I mean technically whenever we make ranges, buffer's BEGV should be equal to parser's visible_beg, but better not take that uncertainty, also makes the code more readable. 4. In Ftreesit_parser_included_ranges, move visible region sync code before the body of the function. * src/treesit.c (treesit_sync_visible_region): Minimally fix ranges so it doesn't exceed parser's visible range. (treesit_call_after_change_functions): Update calling sigature to treesit_make_ranges. (treesit_ensure_parsed, make_treesit_parser): Use the new field within_reparse. (treesit_make_ranges): Use parser's visible_beg instead of buffer's BEGV. (Ftreesit_parser_included_ranges): Move visible region check before function body. * src/treesit.h (Lisp_TS_Parser): Add new field within_reparse.
2024-09-08Add debugging function for treesit.cYuan Fu
* src/treesit.c (treesit_debug_print_parser_list): New function.
2024-09-08Fix elixir-ts-mode's range queryYuan Fu
* lisp/progmodes/elixir-ts-mode.el: (elixir-ts--treesit-range-rules): Add underscore in front of the name capture, so Emacs won't put heex parser on it.
2024-09-09; project-files-relative-names: Update docstring (bug#72701)Dmitry Gutov
2024-09-08Make json-serialize always return a unibyte string (bug#70007)Mattias Engdegård
The JSON format is defined as a byte sequence and will always be used as such, so returning a multibyte string makes little sense. * src/json.c (json_out_to_string): Remove. (Fjson_serialize): Return unibyte string. * test/src/json-tests.el (json-serialize/roundtrip) (json-serialize/roundtrip-scalars, json-serialize/string): Update tests. * doc/lispref/text.texi (Parsing JSON): Document. * etc/NEWS: Announce.
2024-09-07; * doc/lispref/os.texi (Suspending Emacs): Fix last change.Eli Zaretskii
2024-09-07; Improve documentation of 'suspend-emacs'Eli Zaretskii
* doc/lispref/os.texi (Suspending Emacs): * src/keyboard.c (Fsuspend_emacs): Document possible failures in sending STUFFSTRING to the shell. (Bug#73100).
2024-09-07Fix a typo in ediff-init.elEli Zaretskii
* lisp/vc/ediff-init.el (ediff-nonempty-string-p): Fix typo. Reported by Jurgen De Backer <jurgen.de-backer.ext@eurocontrol.int> (bug#73042).
2024-09-07Fix 'chart-space-usage' on MS-WindowsEli Zaretskii
* lisp/emacs-lisp/chart.el (chart--file-size) (chart--directory-size): New functions. (chart-space-usage): Invoke 'du' correctly on MS-Windows. Provide alternative implementation in Lisp when 'du' is not installed, using 'chart--directory-size' and 'chart--file-size'. (Bug#72919)
2024-09-07Fix alignment and documentation of vtable.elEli Zaretskii
* lisp/emacs-lisp/vtable.el (vtable--insert-header-line): Ensure proper alignment between the columns in header-line and in the body of the table. (Bug#73032) * doc/misc/vtable.texi (Making A Table): Document the defaults of the various keyword parameters.
2024-09-06; * lisp/which-key.el: Fix ':package-version' (bug#73072).Eli Zaretskii
2024-09-05; Improve doc strings of 'tab-bar-mode' and 'tab-line-mode'Eli Zaretskii
* lisp/tab-line.el (tab-line-mode): * lisp/tab-bar.el (tab-bar-mode): Doc fixes (bug#73049)
2024-09-05Fix test failure in erc-networks-testsUlrich Müller
* test/lisp/erc/erc-networks-tests.el (erc-networks--id-sort-buffers): Make sure that buffers have different timestamps. (Bug#73036)
2024-09-05; * doc/emacs/building.texi (Lisp Libraries): Update (bug#72961).Eli Zaretskii
2024-09-04Fix :hook in 'use-package'Eli Zaretskii
* lisp/use-package/use-package-core.el (use-package-handler/:hook): Support mode variables in :hook declarations. (Bug#72993)
2024-09-04; * doc/lispref/modes.texi (Mode Line Data): Fox wording.Eli Zaretskii
2024-09-03; Caveats about using :eval in 'mode-line-format'Eli Zaretskii
* doc/lispref/modes.texi (Mode Line Data): Warn against more infinite-recursion cases in ':eval' in mode line. Reported by Nicolas P. Rougier <nicolas.rougier@inria.fr>.
2024-09-02Update FSF's addressStefan Kangas
* doc/emacs/emacs.texi (Distrib): * doc/lispintro/emacs-lisp-intro.texi: * doc/lispref/elisp.texi: * doc/misc/org.org (Link Abbreviations): * etc/tutorials/TUTORIAL.eo: * lisp/elide-head.el: * lisp/textmodes/page-ext.el: Update the FSF address to 31 Milk Street.
2024-09-02Support the new option in ruby-ts-mode tooDmitry Gutov
* etc/NEWS: Describe it here. * lisp/progmodes/ruby-ts-mode.el (ruby-ts--parent-call-or-bol): Support the option ruby-bracketed-args-indent here too (bug#60321). * test/lisp/progmodes/ruby-ts-mode-tests.el: Include ruby-bracketed-args-indent.rb as test examples. * test/lisp/progmodes/ruby-mode-resources/ruby-bracketed-args-indent.rb: Extend examples for better regression testing.
2024-09-02Add new option ruby-bracketed-args-indentAaron Jensen
* lisp/progmodes/ruby-mode.el (ruby-bracketed-args-indent): New option. (ruby-smie-rules): Use it (bug#60321). * test/lisp/progmodes/ruby-mode-resources/ruby-bracketed-args-indent.rb: New file. * test/lisp/progmodes/ruby-mode-tests.el: Use it for new case.
2024-09-02Fix Rmail base64 and qp decoding of MIME payloadsEli Zaretskii
* lisp/mail/rmailmm.el (rmail-mime-insert-decoded-text) (rmail-mime-insert-html): Remove ^M characters left from DOS EOLs. This is what 'rmail-decode-region' does for non-MIME messages.
2024-09-01Update to Org 9.7.11Kyle Meyer
2024-09-01; Fix recent changes in documentationEli Zaretskii
* doc/lispref/positions.texi (List Motion): Fix indexing. * doc/emacs/mini.texi (Completion Options): Fix wording.
2024-09-01* test/lisp/emacs-lisp/tabulated-list-tests.el: Add missing test.Juri Linkov
(tabulated-list-groups-with-path): Add test for tabulated-list-groups.
2024-09-01; Small doc fixesJuri Linkov
* doc/emacs/dired.texi (Operating on Files): Add indexed function 'dired-do-open' to the text. * doc/emacs/mini.texi (Completion Options): Add indexed functions 'previous-line-completion' and 'next-line-completion' to the text. * doc/lispref/minibuf.texi (Completion Variables): Remove self-reference. * doc/lispref/positions.texi (List Motion): Add indexed function 'treesit-forward-sexp' to the text. Add @vindex for 'forward-sexp-function'. * etc/NEWS: Group tab-bar and tab-line items separately. Move two Buffer-menu items to separate outline.
2024-09-01; Reword some "allows Xing"Sean Whitton
* doc/emacs/anti.texi (Antinews): * etc/NEWS: * etc/NEWS.29: * lisp/tab-bar.el (tab-bar-select-restore-windows): * lisp/vc/vc-git.el (vc-git-print-log-follow): Reword to avoid "allows Xing". This is reported to be better for non-native readers. Based on suggestions of Eli Zaretskii <eliz@gnu.org>.
2024-08-31; More accurate text about how `equal` compares various objectsMattias Engdegård
* doc/lispref/objects.texi (Equality Predicates): Attempt at improving the text further (bug#72888).
2024-08-31Make 'python-shell--with-environment' respect buffer-local varsEvgenii Klimov
* lisp/progmodes/python.el (python-shell--with-environment): Make `with-temp-buffer' respect buffer-local values of `process-environment' and `exec-path', if set. (Bug#72849)
2024-08-31Avoid ANSI escape characters in Python output (bug#45938)Evgenii Klimov
* lisp/progmodes/python.el (python-shell-completion-native-setup): Prevent Readline from emitting escape characters in comint output.
2024-08-31Fix handling of hook variables in 'use-package'John Wiegley
* lisp/use-package/use-package-core.el (use-package-handler/:hook): Append "-hook" to the symbol's name only if the named hook variable has no 'symbol-value'. (Bug#72818)
2024-08-31Work around Gnuplot bug in displaying plotsEli Zaretskii
* lisp/calc/calc-graph.el (calc-gnuplot-command): Prepend newline to Gnuplot command. Suggested by Visuwesh <visuweshm@gmail.com>. (Bug#72778)