Eli Zaretskii [Sun, 25 Aug 2024 17:47:51 +0000 (20:47 +0300)]
; * doc/lispref/display.texi (Low-Level Font): Fix wording (bug#72771).
F. Jason Park [Fri, 9 Aug 2024 23:49:28 +0000 (16:49 -0700)]
Indent ERT failure explanations rigidly
This also affects the listing of `should' forms produced by hitting
the L key on a test button in an ERT buffer.
* lisp/emacs-lisp/ert.el (ert--pp-with-indentation-and-newline):
Indent the pretty-printed result to match the caller's current column
as a reference indentation.
* test/lisp/emacs-lisp/ert-tests.el
(ert--pp-with-indentation-and-newline): New test. (Bug#72561)
Dmitry Gutov [Sun, 25 Aug 2024 15:23:51 +0000 (18:23 +0300)]
[Eglot] Stricter "expand common" behavior
* lisp/progmodes/eglot.el (eglot--dumb-tryc): Check that the
expanded string matches every completion strictly (bug#72705).
And in the fallback case, check whether the table matches the
original prefix at all. Return nil otherwise.
* test/lisp/progmodes/eglot-tests.el
(eglot-test-stop-completion-on-nonprefix)
(eglot-test-try-completion-nomatch): Corresponding tests.
* etc/EGLOT-NEWS: New entry.
Dmitry Gutov [Sun, 25 Aug 2024 15:05:28 +0000 (18:05 +0300)]
eglot-tests.el: New tests for existing completion behavior
* test/lisp/progmodes/eglot-tests.el
(eglot-test-common-prefix-completion)
(eglot-test-try-completion-inside-symbol)
(eglot-test-rust-completion-exit-function): New tests.
(eglot--wait-for-rust-analyzer): New function.
Eli Zaretskii [Sun, 25 Aug 2024 12:46:05 +0000 (15:46 +0300)]
Remove dangerous HTML edit from admin.el
* admin/admin.el (manual-html-fix-index-2): Avoid lax matches with
"<ul>" which could mistakenly edit unrelated parts of HTML.
(Bug#72761)
Eli Zaretskii [Sun, 25 Aug 2024 10:55:35 +0000 (13:55 +0300)]
; Fix bad references to other manuals
* doc/misc/bovine.texi (top, Optional Lambda Expression)
(Starting Rules, Bovine Grammar Rules, How Lexical Tokens Match):
* doc/misc/eudc.texi (Overview, Creating BBDB Records)
(Inline Query Expansion):
* doc/misc/dbus.texi (Top):
* doc/misc/efaq.texi (Top):
* doc/misc/wisent.texi (Wisent Semantic, Wisent Lex): Fix
cross-references to other manuals. Remove redundant pointers from
Top node. (Bug#72761)
(cherry picked from commit
7319f5e078b6c98379414a4601a269e6581ec206)
Eli Zaretskii [Sun, 25 Aug 2024 06:04:21 +0000 (09:04 +0300)]
; Mention in PROBLEMS issues with long popup menus
* etc/PROBLEMS: Problems with very long popup menus on Lucid
builds. (Bug#72791)
Mattias Engdegård [Sat, 24 Aug 2024 12:27:26 +0000 (14:27 +0200)]
* etc/emacs_lldb.py (Lisp_Object): PVEC_COMPILED -> PVEC_CLOSURE
Eli Zaretskii [Sat, 24 Aug 2024 09:07:02 +0000 (12:07 +0300)]
Fix rare segfaults due to freed fontsets
* src/xfaces.c (recompute_basic_faces): Force complete
recalculation of all the faces. (Bug#72692)
Eshel Yaron [Fri, 23 Aug 2024 15:15:32 +0000 (17:15 +0200)]
; Fix infloop in checkdoc-next-docstring
* lisp/emacs-lisp/checkdoc.el (checkdoc-next-docstring): Use
'beginning-of-defun-raw' instead of 'beginning-of-defun', as the latter
always moves back to beginning of line and thus is not guaranteed to
advance point when 'open-paren-in-column-0-is-defun-start' is non-nil.
(Bug#72759)
Martin Rudalics [Fri, 23 Aug 2024 08:27:12 +0000 (10:27 +0200)]
Avoid putting a dead buffer in the minibuffer window (Bug#72487)
* src/minibuf.c (minibuffer_unwind): Make sure that the buffer
referenced by the first element of the list of previous buffers
of the minibuffer window is live before assigning it to the
minibuffer window (Bug#72487).
* src/window.c (set_window_buffer): Assert that BUFFER is live.
João Távora [Thu, 22 Aug 2024 16:27:20 +0000 (17:27 +0100)]
Eglot: bump version to 1.17.30 and update EGLOT-NEWS
This is a change specific to emacs-30. Don't merge to master.
* lisp/progmodes/eglot.el (Version): Mark it 1.17.30.
* etc/EGLOT-NEWS (1.17.30): Fill in section.
Eli Zaretskii [Thu, 22 Aug 2024 11:09:11 +0000 (14:09 +0300)]
; * admin/authors.el (authors-aliases): Escape periods.
Andrea Corallo [Tue, 20 Aug 2024 20:48:16 +0000 (22:48 +0200)]
Update 'ldefs-boot.el' (don't merge)
* lisp/ldefs-boot.el: Update.
Andrea Corallo [Tue, 20 Aug 2024 20:46:40 +0000 (22:46 +0200)]
* doc/man/emacsclient.1: Bump date.
Andrea Corallo [Sun, 18 Aug 2024 10:22:38 +0000 (12:22 +0200)]
Bump Emacs version to 30.0.90
* nt/README.W32: Update version.
* msdos/sed2v2.inp: Likewise.
* configure.ac: Likewise.
* README: Likewise.
Andrea Corallo [Tue, 20 Aug 2024 10:56:36 +0000 (12:56 +0200)]
Update Changelogs
* ChangeLog.4: Re-generate.
* ChangeLog.3: Fix some type and style.
Andrea Corallo [Sun, 18 Aug 2024 09:49:22 +0000 (11:49 +0200)]
Update AUTHORS
* etc/AUTHORS: Re-generate.
* admin/authors.el (authors-fixed-entries): Add entry.
Andrea Corallo [Tue, 20 Aug 2024 10:56:11 +0000 (12:56 +0200)]
* admin/authors.el (authors-aliases, authors-ignored-files): Update.
Andrea Corallo [Sun, 18 Aug 2024 10:35:15 +0000 (12:35 +0200)]
* admin/authors.el: Pick-up version from emacs-29.
Stefan Kangas [Tue, 20 Aug 2024 18:11:08 +0000 (20:11 +0200)]
Add missing :version tags in use-package
* lisp/use-package/use-package-core.el (use-package-keywords)
(use-package-deferring-keywords, use-package-ignore-unknown-keywords)
(use-package-use-theme, use-package-verbose)
(use-package-check-before-init, use-package-always-defer)
(use-package-always-demand, use-package-defaults)
(use-package-merge-key-alist, use-package-hook-name-suffix)
(use-package-minimum-reported-time, use-package-inject-hooks)
(use-package-expand-minimally, use-package-form-regexp-eval)
(use-package-enable-imenu-support, use-package-compute-statistics):
* lisp/use-package/use-package-ensure.el (use-package-always-ensure)
(use-package-always-pin, use-package-ensure-function): Add missing
:version tags.
Michael Albinus [Tue, 20 Aug 2024 17:23:48 +0000 (19:23 +0200)]
Suppress shallow cloning on emba
* test/infra/gitlab-ci.yml (variables): Set GIT_DEPTH to 0 in
order to avoid shallow cloning.
Po Lu [Tue, 20 Aug 2024 13:56:41 +0000 (21:56 +0800)]
Correct Android failure to open an old CJK font
* src/sfnt.c (sfnt_read_cmap_format_2): Properly compute
subtable count, and append the empty table at position 0.
(sfnt_lookup_glyph_2): Update commentary.
Stefan Monnier [Tue, 20 Aug 2024 12:09:54 +0000 (08:09 -0400)]
* lisp/help-fns.el (help-definition-prefixes): Don't delete the hashtable
Fixes bug#72511.
Eli Zaretskii [Mon, 19 Aug 2024 14:51:50 +0000 (17:51 +0300)]
; Fix documentation of secure-hash functions
* src/fns.c (Fsecure_hash):
* doc/lispref/text.texi (Checksum/Hash):
* lisp/subr.el (sha1): Fix documentation wrt to the number of
bytes 'secure-hash' and its variants return when BINARY is
non-nil. Reported by Pip Cet <pipcet@protonmail.com>.
Ulrich Müller [Mon, 19 Aug 2024 13:49:47 +0000 (15:49 +0200)]
; * lisp/subr.el (sha1): Fix typo in docstring.
Michael Albinus [Mon, 19 Aug 2024 07:37:55 +0000 (09:37 +0200)]
; * etc/NEWS: Fix wording of last change.
Kyle Meyer [Mon, 19 Aug 2024 00:54:39 +0000 (20:54 -0400)]
Update to Org 9.7.10
Jim Porter [Sun, 18 Aug 2024 21:33:43 +0000 (14:33 -0700)]
; * etc/NEWS: Announce 'shr-fill-text'.
Andrea Corallo [Sun, 18 Aug 2024 09:12:08 +0000 (11:12 +0200)]
; * lisp/emacs-lisp/compat.el: Fix header style.
Michael Albinus [Sun, 18 Aug 2024 09:29:05 +0000 (11:29 +0200)]
* test/infra/gitlab-ci.yml (.tree-sitter-template): Adapt changes.
Stefan Kangas [Sun, 18 Aug 2024 09:18:04 +0000 (11:18 +0200)]
Bump use-package version for Emacs 30.1
* lisp/use-package/use-package.el: Bump version to 2.4.6.
Andrea Corallo [Sat, 17 Aug 2024 16:42:43 +0000 (18:42 +0200)]
* Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump.
Eli Zaretskii [Sun, 18 Aug 2024 04:56:57 +0000 (07:56 +0300)]
; * admin/make-tarball.txt: Some clarifications.
Eli Zaretskii [Sat, 17 Aug 2024 18:35:08 +0000 (21:35 +0300)]
Avoid rare crashes due to clobbering of input events
* src/keyboard.c (read_char): Declare C 'volatile', to prevent
clobbering it by setjmp/longjmp. Do not merge to master.
(Bug#71744)
Stefan Monnier [Sat, 17 Aug 2024 17:35:07 +0000 (13:35 -0400)]
Further fix of reading and writing profiler data
* lisp/profiler.el (profiler-report-make-entry-part): Print
strings as-is. (Bug#72559)
Andrea Corallo [Sat, 17 Aug 2024 16:25:46 +0000 (18:25 +0200)]
* Makefile.in (PREFERRED_BRANCH): Update to emacs-30.
Po Lu [Sat, 17 Aug 2024 14:03:55 +0000 (22:03 +0800)]
; Eliminate more C++ comments
* lib-src/movemail.c:
* nt/preprep.c (main):
* src/unexw32.c (unexec): Convert C++-style comments to C.
Po Lu [Sat, 17 Aug 2024 14:01:03 +0000 (22:01 +0800)]
; Eliminate C++ comments and typo
* lib-src/etags.c (Rust_entries): Eliminate C++ comments and
typo.
Po Lu [Sat, 17 Aug 2024 08:19:06 +0000 (16:19 +0800)]
Backport
ed305c4b98cda5c6d479310e4ba350a17d901e75 to emacs-30
* src/xterm.c (x_construct_mouse_click): `||' → `|'.
Typo found by clang 18.1.6 -Wbool-operation. Do not
merge to master.
Eli Zaretskii [Sat, 17 Aug 2024 10:07:56 +0000 (13:07 +0300)]
Fix a typo in Eglot manual
* doc/misc/eglot.texi (Eglot and Buffers): Fix typo. Patch by
david edmonds <edmonds.david.a@gmail.com>. (Bug#72634)
Stefan Monnier [Wed, 14 Aug 2024 12:48:43 +0000 (08:48 -0400)]
Fix dumping of Lisp profiles
* lisp/profiler.el (profiler-fixup-entry): New function.
(profiler-fixup-backtrace): Use it. (Bug#72559)
Stefan Monnier [Wed, 14 Aug 2024 12:47:40 +0000 (08:47 -0400)]
Fix 'apropos-library' for 'define-symbol-props'
* lisp/apropos.el (apropos-library): Sanitize data to avoid
signaling errors when 'define-symbol-props' is seen. (Bug#72616)
Eli Zaretskii [Sat, 17 Aug 2024 09:29:31 +0000 (12:29 +0300)]
Fix 'forward-comment' in 'toml-ts-mode'
* lisp/textmodes/toml-ts-mode.el (toml-ts-mode--syntax-table): Fix
syntax of newline. Patch from Jostein Kjønigsen
<jostein@secure.kjonigsen.net>. (Bug#72489)
Eli Zaretskii [Sat, 17 Aug 2024 08:44:35 +0000 (11:44 +0300)]
Document spell-checking of multiple languages
* doc/emacs/fixit.texi (Spelling): Document spell-checking
multi-lingual text with Hunspell.
Peter Oliver [Sun, 14 Jul 2024 20:50:33 +0000 (21:50 +0100)]
Apply --display kluge for PGTK too
* src/emacs.c (main): The --display option needs the same handling
with the PGTK backend as it does with the X11 backends. (Bug#72118)
Eli Zaretskii [Fri, 16 Aug 2024 18:55:37 +0000 (21:55 +0300)]
; * admin/make-tarball.txt: Minor copyedits.
Eli Zaretskii [Fri, 16 Aug 2024 11:05:20 +0000 (14:05 +0300)]
; * doc/lispref/strings.texi (Text Comparison): Improve indexing.
Pip Cet [Thu, 15 Aug 2024 16:28:07 +0000 (16:28 +0000)]
* lisp/files.el (require-with-check): Improve error messages.
Andrea Corallo [Thu, 15 Aug 2024 08:47:00 +0000 (10:47 +0200)]
; * src/data.c (Fsubrp): Improve docstring.
Eli Zaretskii [Thu, 15 Aug 2024 08:30:48 +0000 (11:30 +0300)]
Improve documentation of ERT
* doc/misc/ert.texi (Running Tests Interactively)
(Test Selectors):
* lisp/emacs-lisp/ert.el (ert-select-tests)
(ert-run-tests-interactively, ert-run-tests-batch): Improve and
clarify the documentation of the main ERT functions.
Visuwesh [Wed, 14 Aug 2024 02:37:15 +0000 (08:07 +0530)]
Disambiguate minor-mode variable in its function docstring
* lisp/emacs-lisp/easy-mmode.el (easy-mmode--arg-docstring)
(easy-mmode--mode-docstring): Add "the variable" before the
GETTER if it is a symbol to properly link to minor-mode variable
in the *Help* buffer in the common case. (bug#72405)
Arash Esbati [Sun, 11 Aug 2024 19:28:43 +0000 (21:28 +0200)]
Fix project-dired keybinding in manual
* doc/emacs/maintaining.texi (Project File Commands): Fix the
keybinding for `project-dired'. (Bug#72581)
Eli Zaretskii [Wed, 14 Aug 2024 08:35:48 +0000 (11:35 +0300)]
Improve documentation of time-parsing functions
* doc/lispref/os.texi (Time Parsing):
* lisp/calendar/iso8601.el (iso8601-parse):
* lisp/calendar/parse-time.el (parse-time-string): Document that
these functions don't care about the distinction between local
time and UTC. (Bug#72570)
Michael Albinus [Wed, 14 Aug 2024 07:47:59 +0000 (09:47 +0200)]
; Backport gitlab-ci.yml from master (don't merge)
* test/infra/gitlab-ci.yml (.job-template): Remove cache:policy.
(.build-template, .test-template): Add job specific cache:policy.
(.tree-sitter-template): Adapt changes.
Dmitry Gutov [Tue, 13 Aug 2024 12:14:18 +0000 (15:14 +0300)]
(project-find-regexp): Fix the temporary value of DEFAULT-DIRECTORY
* lisp/progmodes/project.el (project-find-regexp): Make sure the
assigned value of DEFAULT-DIRECTORY ends with a slash.
read-directory-name returns the name without it in certain cases.
Michael Albinus [Tue, 13 Aug 2024 07:19:00 +0000 (09:19 +0200)]
Tag test in typescript-ts-mode-tests.el as unstable
* test/lisp/progmodes/typescript-ts-mode-tests.el
(typescript-ts-mode-test-indentation): Tag it as :unstable on emba.
Eli Zaretskii [Tue, 13 Aug 2024 02:27:08 +0000 (05:27 +0300)]
; * lisp/files.el (require-with-check): Fix last change.
Eli Zaretskii [Mon, 12 Aug 2024 18:38:46 +0000 (21:38 +0300)]
; * lisp/files.el (require-with-check): Fix doc string and error text.
Gerd Möllmann [Sun, 11 Aug 2024 11:22:45 +0000 (13:22 +0200)]
macOS: Wrong frame rectangle after wake (bug#71912)
* src/nsterm.m ([EmacsView windowDidBecomeKey]):
Call adjustEmacsFrameRect.
Po Lu [Mon, 12 Aug 2024 00:10:36 +0000 (08:10 +0800)]
; Grammar fixes
* doc/misc/erc.texi (Connecting):
* lisp/erc/erc.el (erc-compute-server, erc-compute-nick)
(erc-compute-full-name, erc-compute-port): Replace "a number of
increasingly more" with an alternative more grammatical.
Pip Cet [Sun, 11 Aug 2024 10:07:12 +0000 (10:07 +0000)]
Fix format 2 cmap handling in sfnt.c
This code is untested as no font with a format 2 cmap could be found.
* src/sfnt.c (sfnt_lookup_glyph_2): Fix typos. Assume single-byte
encodings use character codes 0, 1, ..., 255 rather than 0, 256, ...,
65280.
Pip Cet [Sat, 10 Aug 2024 17:01:44 +0000 (17:01 +0000)]
Fix coordinate transformations in sfnt.c
Backport.
* src/sfnt.c (sfnt_transform_coordinates):
(sfnt_transform_f26dot6): Fix calculation of transformed coordinates in
the very rare case of arbitrary transformation matrices.
Kazuhiro Ito [Fri, 9 Aug 2024 12:28:41 +0000 (21:28 +0900)]
* lisp/epg.el (epg--start): Don't convert EOL on encoding (bug#72542).
Thomas Fitzsimmons [Fri, 9 Aug 2024 02:58:48 +0000 (22:58 -0400)]
Add PROBLEMS entry for bug#72517
* etc/PROBLEMS (X runtime problems): Document ssh -X session
hang-on-exit after deletion of remote emacsclient -c frame.
(bug#72517)
(cherry picked from commit
9f03300c5c626bf6f8f839be4943cc20db89c24d)
Eli Zaretskii [Fri, 9 Aug 2024 05:45:30 +0000 (08:45 +0300)]
; Improve documentation of 'add-to-list'
* doc/lispref/lists.texi (List Variables):
* lisp/subr.el (add-to-list): Add/clarify caveats of using
'add-to-list'.
Gerd Möllmann [Thu, 8 Aug 2024 06:19:56 +0000 (08:19 +0200)]
NS: Fix scroll-bar setting code (bug#72331)
* src/nsterm.m (ns_set_vertical_scroll_bar): Use
WINDOW_SCROLL_AREA_WIDTH instead of NS_SCROLL_BAR_WIDTH.
(ns_set_horizontal_scroll_bar): Use WINDOW_SCROLL_AREA_HEIGHT
instead of NS_SCROLL_BAR_HEIGHT. Clear area differently if vertical
scroll bars are present.
* src/nsterm.h (NS_SCROLL_BAR_WIDTH, NS_SCROLL_BAR_HEIGHT): Remove.
Po Lu [Fri, 9 Aug 2024 02:11:47 +0000 (10:11 +0800)]
Register for more Intents actions on Android
* java/AndroidManifest.xml.in <EmacsOpenActivity>: Register
for SEND Intents with mailto URIs.
* java/org/gnu/emacs/EmacsOpenActivity.java (onCreate): Use
Intent constants rather than string literals.
Paul W. Rankin [Thu, 8 Aug 2024 02:16:07 +0000 (12:16 +1000)]
* lisp/help-macro.el: Add 'help-for-help-use-variable-pitch' option.
This makes 'variable-pitch-mode' optional, by default ON (to
preserve previous behavior), in Help buffers. (Bug#72521)
Eli Zaretskii [Thu, 8 Aug 2024 08:41:52 +0000 (11:41 +0300)]
; * doc/lispref/strings.texi (String Conversion): Fix last change.
Ulrich Müller [Thu, 8 Aug 2024 05:47:50 +0000 (07:47 +0200)]
Remove manual entry for string-to-int
* doc/lispref/strings.texi (String Conversion): Remove mention of
'string-to-int' which was dropped in Emacs 26. (Bug#72520)
Spencer Baugh [Wed, 7 Aug 2024 15:18:02 +0000 (11:18 -0400)]
Support minibuffer-visible-completions in completing-read-multiple
All that's required is to add minibuffer-visible-completions-map on
top of the completing-read-multiple map; this is the same thing that
minibuffer-visible-completions does in completing-read-default.
* lisp/emacs-lisp/crm.el (completing-read-multiple): Add
minibuffer-visible-completions-map (bug#69189)
Juri Linkov [Wed, 7 Aug 2024 16:44:43 +0000 (19:44 +0300)]
* lisp/imenu.el (imenu-flatten): Fix doc about annotation/group limitations.
Randy Taylor [Wed, 7 Aug 2024 00:10:52 +0000 (20:10 -0400)]
Fix cmake-ts-mode number fontification (Bug#72228)
* lisp/progmodes/cmake-ts-mode.el (cmake-ts-mode--constants):
Remove "1" and "0".
(cmake-ts-mode--font-lock-settings): Match negative numbers.
Yuan Fu [Wed, 7 Aug 2024 04:58:04 +0000 (21:58 -0700)]
; Minor fix in c-ts-common--fill-block-comment
* lisp/progmodes/c-ts-common.el:
(c-ts-common--fill-block-comment): Checking for end-mask done is
equivalent to checking end-marker, so the original code doesn't have a
bug.
Po Lu [Wed, 7 Aug 2024 01:17:57 +0000 (09:17 +0800)]
Prevent accesses to /content files without a GUI connection
* src/androidvfs.c (android_content_name): Hide all
subdirectories when `android_init_gui' is not set.
Michael Albinus [Tue, 6 Aug 2024 18:25:20 +0000 (20:25 +0200)]
* lisp/net/tramp-integration.el (shortdoc): Use `tramp--with-startup'.
Eli Zaretskii [Tue, 6 Aug 2024 18:20:52 +0000 (21:20 +0300)]
Merge branch 'emacs-30' of git.savannah.gnu.org:/srv/git/emacs into emacs-30
Eli Zaretskii [Tue, 6 Aug 2024 18:19:49 +0000 (21:19 +0300)]
Avoid crashes in very large buffers with long lines
* src/xdisp.c (get_large_narrowing_begv, get_large_narrowing_zv)
(get_medium_narrowing_begv, get_medium_narrowing_zv): Use
'ptrdiff_t' instead of 'int', to prevent integer overflow in
large buffers. (Bug#72497)
Ulrich Müller [Tue, 6 Aug 2024 16:04:46 +0000 (18:04 +0200)]
Update description of string comparison functions
* doc/lispref/strings.texi (Text Comparison): Swap descriptions of
'string-equal' (the function) and 'string=' (its alias). Same for
'string-lessp' and 'string<'. Document 'string>'. (Bug#72486)
* doc/lispref/sequences.texi (Sequence Functions): Update cross
reference to 'string-lessp'.
Michael Albinus [Mon, 5 Aug 2024 18:19:30 +0000 (20:19 +0200)]
Add sanity check when adding Tramp functions to shortdoc
* lisp/net/tramp-integration.el (shortdoc): Check, that Tramp
isn't disabled.
F. Jason Park [Mon, 5 Aug 2024 05:26:11 +0000 (22:26 -0700)]
; * lisp/erc/erc-fill.el (erc-fill-wrap-mode): Doc fix.
Damien Cassou [Sun, 21 Jul 2024 19:32:34 +0000 (21:32 +0200)]
js-ts-mode: Make jsdoc's "description" block a comment (bug#72461)
* lisp/progmodes/js.el (js-ts-mode): Add "description" to
`c-ts-common--comment-regexp'.
Po Lu [Mon, 5 Aug 2024 01:34:11 +0000 (09:34 +0800)]
Also condition cjk-misc font-spec on Android
* lisp/international/fontset.el (setup-default-fontset)
<cjk-misc>: Don't search for matching scripts elsewhere than on
Android.
Björn Bidar [Sun, 4 Aug 2024 13:09:36 +0000 (16:09 +0300)]
; * etc/PROBLEMS: How to install sources on SUSE Linux (bug#72465).
Eli Zaretskii [Sun, 4 Aug 2024 08:58:00 +0000 (11:58 +0300)]
; * src/lread.c (Fload): Add comment. (Bug#72433)
Eli Zaretskii [Sun, 4 Aug 2024 08:52:12 +0000 (11:52 +0300)]
Fix ':defer nil' in 'use-package'
* lisp/use-package/use-package-core.el
(use-package-normalize-keywords): Use 'plist-get' instead of
'plist-member'. (Bug#72414)
Manuel Giraud [Thu, 25 Jul 2024 11:57:59 +0000 (13:57 +0200)]
Document unsupported color Emoji on OpenBSD
Bug#72268
* etc/PROBLEMS (Runtime problems related to font handling):
Document unsupported color Emoji on OpenBSD.
Stephen Berman [Thu, 1 Aug 2024 17:28:04 +0000 (19:28 +0200)]
Fix regressions in Customize caused by 'widget-unselected' face
* lisp/wid-edit.el (widget-checklist-add-item): Don't call
'widget-specify-selected'. (Bug#72404) (Bug#72156)
David Ponce [Fri, 19 Jul 2024 14:10:00 +0000 (16:10 +0200)]
Avoid inserting extra space in SVG data
* lisp/svg.el (svg-print): Remove useless extra space from
the XML representation of child node. (Bug#72198)
Damien Cassou [Sun, 21 Jul 2024 19:33:59 +0000 (21:33 +0200)]
Fix c-ts-common filling function (bug#71760)
* lisp/progmodes/c-ts-common.el (c-ts-common--fill-block-comment): If
masking hasn't been done, don't unmask.
Mattias Engdegård [Sat, 3 Aug 2024 17:08:39 +0000 (19:08 +0200)]
Fix missing type checks before specbind
This fixes bugs that crashed Emacs when the Lisp interpreter was fed
bad code.
* src/eval.c (FletX, Flet, internal_lisp_condition_case)
(funcall_lambda): Hoist symbol-with-pos elimination and type checks to a
dominating position for efficiency. This also plugs at least two typing
holes. (Mea culpa.)
* test/src/eval-tests.el (eval-bad-specbind): New regression test.
Po Lu [Sat, 3 Aug 2024 09:34:18 +0000 (17:34 +0800)]
Revert "Remove redundant byte-swapping boundary"
This reverts commit
daefd6771a4879bb8e71ea67f69522700155df01.
* src/sfnt.c (sfnt_read_OS_2_table): Restore realignment after
s_family_class, as it occupies byte 32, not 34. Reported by Pip
Cet <pipcet@protonmail.com>.
Po Lu [Sat, 3 Aug 2024 08:46:47 +0000 (16:46 +0800)]
Fix various typos reported by Pip Cet
* src/ftfont.c (get_adstyle_property):
* src/sfntfont.c (sfntfont_list_1): Correct typos. Reported by
Pip Cet <pipcet@protonmail.com>.
Gerd Möllmann [Sat, 3 Aug 2024 08:29:24 +0000 (10:29 +0200)]
NS: Fix placement of candidate window (bug#72422)
* src/nsterm.m ([EmacsView firstRectForCharacterRange:actualRange:]):
Call method of NSTextInput.
Po Lu [Sat, 3 Aug 2024 00:14:52 +0000 (08:14 +0800)]
; * lisp/touch-screen.el: Correct commentary.
Eli Zaretskii [Thu, 1 Aug 2024 15:25:15 +0000 (18:25 +0300)]
; * lisp/treesit.el (treesit-ready-p): Fix typo (bug#72411).
Eli Zaretskii [Thu, 1 Aug 2024 11:01:17 +0000 (14:01 +0300)]
Avoid aborts when buffer is modified during its redisplay
* src/xdisp.c (redisplay_window): Restore point from saved byte
position only if the buffer was not changed meanwhile.
(Bug#72165)
Yuan Fu [Thu, 1 Aug 2024 06:45:26 +0000 (23:45 -0700)]
Fix c++-ts-mode indentation for templace (bug#72263)
* lisp/progmodes/c-ts-mode.el:
(c-ts-mode--indent-styles): Add rule for template.
* test/lisp/progmodes/c-ts-mode-resources/indent.erts: Add test.
Po Lu [Thu, 1 Aug 2024 00:23:36 +0000 (08:23 +0800)]
Better resolve bug#72188
* lisp/international/fontset.el (setup-default-fontset) <han>:
Don't search for fonts matching the `han' script elsewhere than
on Android, which restores the status quo existing in Emacs 29.
(bug#72188)