Stefan Kangas [Sat, 29 Jun 2024 14:36:17 +0000 (16:36 +0200)]
; * etc/NEWS: Move item to "Lisp Changes".
Stefan Kangas [Sat, 29 Jun 2024 14:34:28 +0000 (16:34 +0200)]
; * etc/NEWS: Move keyboard macro items closer together.
Stefan Kangas [Sat, 29 Jun 2024 14:34:05 +0000 (16:34 +0200)]
; * etc/NEWS: More copy-edits.
Stefan Kangas [Sat, 29 Jun 2024 13:58:33 +0000 (15:58 +0200)]
; * etc/NEWS: Move items to "Incompatible Lisp Changes".
Stefan Kangas [Sat, 29 Jun 2024 13:50:57 +0000 (15:50 +0200)]
; * etc/NEWS: Rearrange "Incompatible Lisp Changes".
Eli Zaretskii [Sat, 29 Jun 2024 12:53:11 +0000 (15:53 +0300)]
; * lisp/epg.el (epg--start): Add commentary about encoding.
Kazuhiro Ito [Sat, 29 Jun 2024 11:56:02 +0000 (20:56 +0900)]
Fix non-ASCII filename operatiion on EasyPG (bug#71500)
* lisp/epg.el (epg--start): Don't encode command-line arguments for
gpg2 program in raw-text.
Stefan Kangas [Sat, 29 Jun 2024 12:38:57 +0000 (14:38 +0200)]
Silence warning with global minor mode :predicate
* lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
Silence byte-compiler warning when :predicate is used.
Stefan Kangas [Sat, 29 Jun 2024 12:15:34 +0000 (14:15 +0200)]
; * etc/NEWS: Move an item to "Startup Changes"
Stefan Kangas [Sat, 29 Jun 2024 12:11:20 +0000 (14:11 +0200)]
; * etc/NEWS: Move some Lisp items to better place.
Stefan Kangas [Sat, 29 Jun 2024 12:05:45 +0000 (14:05 +0200)]
; * etc/NEWS: Rearrange "Editing Changes in Emacs 30.1"
Stefan Kangas [Sat, 29 Jun 2024 12:01:48 +0000 (14:01 +0200)]
; * etc/NEWS: Make touch screen support more prominent.
Stefan Kangas [Sat, 29 Jun 2024 11:53:49 +0000 (13:53 +0200)]
; * etc/NEWS: Rearrange "Changes in Emacs 30.1".
Eli Zaretskii [Sat, 29 Jun 2024 12:22:38 +0000 (15:22 +0300)]
; * lisp/thingatpt.el (sexp-at-point): Doc fix (bug#71777).
George Huebner [Tue, 18 Jun 2024 22:14:41 +0000 (17:14 -0500)]
Fix: make 'xwidget-webkit-scroll-backward' scroll backwards
* lisp/xwidget.el (xwidget-webkit-scroll-backward): Move
hyphen out of %-formatter, changing semantics from a padding
specifier to a negative sign. (Bug#71792)
Copyright-paperwork-exempt: yes
Eli Zaretskii [Sat, 29 Jun 2024 12:08:23 +0000 (15:08 +0300)]
Merge branch 'emacs-30' of git.savannah.gnu.org:/srv/git/emacs into emacs-30
Vincenzo Pupillo [Tue, 25 Jun 2024 09:29:54 +0000 (11:29 +0200)]
Add jsdoc support to php-ts-mode in <script> element
In the <script> element, enable jsdoc embedding in JavaScript.
* lisp/progmodes/php-ts-mode.el
(php-ts-mode--language-source-alist): Add jsdoc to parser recipe.
(php-ts-mode): Add jsdoc parser check and a new rule for
'treesit-range-settings'. Update the commentary section.
(Bug#71771)
Jonas Bernoulli [Sat, 29 Jun 2024 12:06:12 +0000 (14:06 +0200)]
Update to Transient
v0.7.2-4-gf75bc48d
Po Lu [Sat, 29 Jun 2024 12:02:45 +0000 (20:02 +0800)]
Fix typo incurring leaks of face structures
* src/xfaces.c (free_realized_face): Always free realized face
structures, and avoid sending X requests when the display is not
available, not when it is.
Eli Zaretskii [Sat, 29 Jun 2024 08:55:08 +0000 (11:55 +0300)]
; Fix use of @footnote in cc-mode.texi
* doc/misc/cc-mode.texi (Comment Commands, Minor Modes)
(Hungry WS Deletion): Move @footnote's out of @item's, to avoid
warnings from makeinfo.
Michael Albinus [Sat, 29 Jun 2024 08:14:01 +0000 (10:14 +0200)]
Merge branch 'emacs-30' of git.sv.gnu.org:/srv/git/emacs into emacs-30
Michael Albinus [Sat, 29 Jun 2024 08:13:32 +0000 (10:13 +0200)]
Sync with Tramp 2.7.1
* doc/misc/trampver.texi:
* lisp/net/trampver.el (tramp-version): Adapt Tramp versions.
(customize-package-emacs-version-alist): Add Tramp version
integrated in Emacs 30.1.
* lisp/net/tramp-compat.el:
* lisp/net/tramp-message.el (tramp-warning): Use `lwarn'.
* test/lisp/net/tramp-tests.el
(tramp--test-deftest-without-file-attributes): New defmacro.
(tramp-test18-file-attributes-without-file-attributes)
(tramp-test19-directory-files-and-attributes-without-file-attributes)
(tramp-test18-file-attributes-without-file-attributes)
(tramp-test42-utf8-without-file-attributes): New tests.
Eli Zaretskii [Sat, 29 Jun 2024 08:12:07 +0000 (11:12 +0300)]
; * etc/NEWS: Move the mwheel entry to a better place.
Stefan Kangas [Sat, 29 Jun 2024 03:22:09 +0000 (05:22 +0200)]
; Sort tree-sitter modes in NEWS
* etc/NEWS: Sort tree-sitter modes alphabetically.
Stefan Kangas [Sat, 29 Jun 2024 02:50:14 +0000 (04:50 +0200)]
; * etc/NEWS: Rearrange "New Modes and Packages in Emacs 30.1".
This places new modes and packages in rough order of
importance (relevance to users) with most important first.
Feel free to amend.
Stefan Kangas [Sat, 29 Jun 2024 02:09:51 +0000 (04:09 +0200)]
; * etc/NEWS: Move many items.
This moves items to more logical places in the hierarchy.
We might want to give this another pass or three.
Stefan Kangas [Fri, 28 Jun 2024 23:04:03 +0000 (01:04 +0200)]
; * etc/NEWS: Copy-edits.
Stefan Kangas [Fri, 28 Jun 2024 22:56:11 +0000 (00:56 +0200)]
Expand docstring of which-key-mode
* lisp/which-key.el (which-key-mode): Expand docstring.
Eli Zaretskii [Fri, 28 Jun 2024 11:52:05 +0000 (14:52 +0300)]
Improve documentation of 'remove-overlays' in ELisp manual
* doc/lispref/display.texi (Managing Overlays): Update
documentation of 'remove-overlays'. (Bug#57534) (Bug#13648)
Stefan Kangas [Fri, 28 Jun 2024 10:16:57 +0000 (12:16 +0200)]
Fix link to major mode variable in docstring
* lisp/emacs-lisp/easy-mmode.el (easy-mmode--arg-docstring): Fix link to
major mode variable in docstring. (Bug#71815)
Michael Albinus [Fri, 28 Jun 2024 09:28:33 +0000 (11:28 +0200)]
Make `shell-mode' more robust
* lisp/shell.el (shell-mode): Ensure that
`comint-input-ring-file-name' is non-nil when calling `file-truename'.
Po Lu [Fri, 28 Jun 2024 06:43:58 +0000 (14:43 +0800)]
Correct ommissions in rmc.el
* lisp/emacs-lisp/rmc.el (touch-screen-scroll)
(touch-screen-pinch): Declare functions.
(read-multiple-choice--short-answers): Call the same functions
directly and prevent the on-screen keyboard from being
deactivated immedately before it is reopened.
Juri Linkov [Fri, 28 Jun 2024 06:42:43 +0000 (09:42 +0300)]
* lisp/hi-lock.el: More fixes related to revert-buffer.
(hi-lock-set-pattern): Use the same propertized string
for 'overlay-put' property to allow 'remove-overlays'
to remove it while using 'eq' on the property value.
https://lists.gnu.org/archive/html/emacs-devel/2024-06/msg01001.html
Kyle Meyer [Fri, 28 Jun 2024 03:55:35 +0000 (23:55 -0400)]
Update to Org 9.7.5-9-ga091ca
john muhl [Wed, 12 Jun 2024 15:41:03 +0000 (10:41 -0500)]
; Fix typo in lua-ts-mode.el
* lisp/progmodes/lua-ts-mode.el: Fix typo. (Bug#71736)
john muhl [Wed, 15 Nov 2023 18:45:18 +0000 (12:45 -0600)]
; Add 'eglot-ensure' option to 'lua-ts-mode-hook'
* lisp/progmodes/lua-ts-mode.el (lua-ts-mode-hook): Add an option to
enable Eglot from the lua-ts-mode-hook. (Bug#71736)
Stefan Kangas [Thu, 27 Jun 2024 22:32:56 +0000 (00:32 +0200)]
; * etc/NEWS: Copy edit.
Eli Zaretskii [Thu, 27 Jun 2024 18:55:54 +0000 (21:55 +0300)]
Merge branch 'emacs-30' of git.savannah.gnu.org:/srv/git/emacs into emacs-30
Eli Zaretskii [Thu, 27 Jun 2024 18:54:52 +0000 (21:54 +0300)]
Write Antinews for Emacs 30 ELisp Reference
* doc/lispref/anti.texi (Antinews):
* doc/lispref/elisp.texi (Top): Rewrite "Antinews" for Emacs 30.
Stefan Monnier [Thu, 27 Jun 2024 18:39:27 +0000 (14:39 -0400)]
(eval-last-sexp): Fix bug#71774
* lisp/progmodes/elisp-mode.el (eval-last-sexp): Set `values` only
when `eval-expression-debug-on-error` is nil.
Juri Linkov [Thu, 27 Jun 2024 18:08:28 +0000 (21:08 +0300)]
* lisp/hi-lock.el: More fixes for revert-buffer (bug#57534)
(hi-lock-set-pattern): Put the text property 'regexp' on the lighter string.
(hi-lock-revert-buffer-rehighlight): Get the real regexp from the
text property 'regexp'. This fixes the case when the original
regexp gets lost after e.g. 'M-s . M-s h r'.
Juri Linkov [Thu, 27 Jun 2024 17:05:58 +0000 (20:05 +0300)]
* lisp/hi-lock.el (hi-lock-revert-buffer-rehighlight): Improve (bug#57534).
Instead of detecting invalidated overlays, use the same condition
as in 'hi-lock-set-pattern', and always re-highlight overlays,
because even when overlays stays on their original positions,
there is a need to highlight more matches possibly added after revert.
Juri Linkov [Thu, 27 Jun 2024 16:57:18 +0000 (19:57 +0300)]
* lisp/tab-bar.el (tab-bar-select-restore-windows): Improve the docstring.
Suggested by Kévin Le Gouguec <kevin.legouguec@gmail.com> in bug#71779.
Eli Zaretskii [Thu, 27 Jun 2024 16:36:39 +0000 (19:36 +0300)]
Write Antinews for Emacs 30 user manual
* doc/emacs/anti.texi (Antinews):
* doc/emacs/emacs.texi (Top): Rewrite "Antinews" for Emacs 30.
F. Jason Park [Mon, 24 Jun 2024 23:04:37 +0000 (16:04 -0700)]
; * lisp/erc/erc-backend.el (erc-server-reconnect-timeout): Doc (bug#71756).
F. Jason Park [Mon, 24 Jun 2024 22:55:56 +0000 (15:55 -0700)]
Change ERC version for Emacs 30 to 5.6.0.30.1
* doc/misc/erc.texi: Change ERCVER to 5.6.0.30.1.
* lisp/erc/erc.el: Change Version package header to 5.6.0.30.1. Don't
bother updating the `customize-package-emacs-version-alist' entry
because no user options are yet affected.
(erc-version): Change version to 5.6.0.30.1.
Do not merge to master.
Andrea Corallo [Thu, 27 Jun 2024 13:32:03 +0000 (15:32 +0200)]
Fix two tests for --without-all build
* test/src/image-tests.el
(image-tests-image-mask-p/error-on-nongraphical-display)
(image-tests-image-metadata/error-on-nongraphical-display): xpm images
are not supported in all configurations so use xbm for non graphical
display tests.
Eli Zaretskii [Thu, 27 Jun 2024 10:34:21 +0000 (13:34 +0300)]
; * etc/PROBLEMS (PGTK): Remove redundant 2nd PGTK section.
Eli Zaretskii [Thu, 27 Jun 2024 09:42:43 +0000 (12:42 +0300)]
Fix handling of non-nil 'dired-movement-style'
* lisp/dired.el (dired--move-to-next-line): Treat any non-nil
value of 'dired-movement-style' except 'cycle' as 'bounded'.
(dired-movement-style): Mention this in the doc string.
(Bug#71770)
Eli Zaretskii [Thu, 27 Jun 2024 09:33:47 +0000 (12:33 +0300)]
; * lisp/gnus/message.el (message-idna-to-ascii-rhs): Doc fix (bug#71757).
Eli Zaretskii [Thu, 27 Jun 2024 08:55:29 +0000 (11:55 +0300)]
; * etc/NEWS: Fix last change (bug#71720).
James Thomas [Sat, 22 Jun 2024 12:27:00 +0000 (17:57 +0530)]
Do not prematurely truncate python eldoc string
'eldoc-echo-area-use-multiline-p' is there for that.
* lisp/progmodes/python.el (python-eldoc-setup-code):
Make the change. (Bug#71720)
* etc/NEWS: Announce the change in behavior.
Eli Zaretskii [Thu, 27 Jun 2024 08:37:15 +0000 (11:37 +0300)]
; Fix simple-tests as fallout of last change
* test/lisp/simple-tests.el
(simple-execute-extended-command--shorter): Fix test broken by new
kill-whole-line tests. (Bug#65734)
Sebastian Miele [Wed, 19 Jun 2024 13:58:24 +0000 (15:58 +0200)]
Add tests for `kill-whole-line' (bug#65734)
* test/lisp/simple-tests.el (simple-test-point-tag):
(simple-test-mark-tag):
(simple-test--set-buffer-text-point-mark):
(simple-test--get-buffer-text-point-mark): Add helper functions used by
the tests.
(kill-whole-line-invisible):
(kill-whole-line-read-only):
(kill-whole-line-after-other-kill):
(kill-whole-line-buffer-boundaries):
(kill-whole-line-line-boundaries): Add tests for `kill-whole-line'.
Sebastian Miele [Wed, 19 Jun 2024 13:48:59 +0000 (15:48 +0200)]
kill-whole-line: Honor visibility; fix kill-ring when read-only (bug#65734)
* lisp/simple.el (kill-whole-line): Use visibility state before
performing any edits as reference instead of expecting that visibility
cannot change. First of the two calls to `kill-region' may trigger
`after-change-functions' that might alter the visibility state.
Make sure that we populate the `kill-ring' with the contents of the
whole line when buffer is in `read-only-mode'.
Juri Linkov [Thu, 27 Jun 2024 06:52:06 +0000 (09:52 +0300)]
* lisp/hi-lock.el (hi-lock-file-patterns-policy): Add value 'always'.
(hi-lock-mode): Update docstring.
(hi-lock-find-patterns): Return t for value 'always'.
(hi-lock-revert-buffer-rehighlight): Rewrite to correctly handle
all possible cases (bug#57534).
Juri Linkov [Thu, 27 Jun 2024 06:42:34 +0000 (09:42 +0300)]
* lisp/progmodes/xref.el (xref-revert-buffer-restore-point): New function.
(xref--xref-buffer-mode): Add xref-revert-buffer-restore-point
to revert-buffer-restore-functions (bug#71466).
Eshel Yaron [Wed, 26 Jun 2024 16:51:32 +0000 (18:51 +0200)]
Use 'revert-function' in *xref* buffer
* lisp/progmodes/xref.el (xref--xref-buffer-mode-map): Cease
binding 'g' to 'xref-revert-buffer'.
(xref--xref-buffer-mode): Set 'revert-buffer-function' to...
(xref--revert-buffer): ...this. New function, renamed from...
(xref-revert-buffer): ...this. Make it an alias of
'revert-buffer'.
* etc/NEWS: Announce it.
* doc/emacs/maintaining.texi (Xref Commands): Update docs.
Po Lu [Thu, 27 Jun 2024 03:06:59 +0000 (11:06 +0800)]
Prevent crashes and related issues if initial activity is destroyed on Android
* java/org/gnu/emacs/EmacsWindow.java
(EmacsWindow) <initialWindowCreated>: New variable.
(EmacsWindow): If the initial frame has not yet been created,
set attachmentToken to -1.
* java/org/gnu/emacs/EmacsWindowManager.java (registerWindow):
When the window's attachment token is -1 (i.e., it is the
default window), start EmacsActivity rather than
EmacsMultitaskActivity. Catch exceptions around startActivity.
Vincenzo Pupillo [Tue, 25 Jun 2024 08:37:40 +0000 (10:37 +0200)]
Doc fix in 'php-ts-mode'
* lisp/progmodes/php-ts-mode.el
(php-ts-mode--custom-html-font-lock-settings): Doc fix. (Bug#71759)
Ken Brown [Wed, 26 Jun 2024 19:57:39 +0000 (15:57 -0400)]
Avoid compiler warnings in the Cygwin-w32 build
* src/w32fns.c [DEFAULT_IMAGE_BASE]: Don't define on Cygwin.
* src/cygw32.h (w32_get_resource): Add prototype. (Bug#71786)
Stephen Berman [Wed, 26 Jun 2024 06:42:19 +0000 (08:42 +0200)]
Add new face 'widget-unselected' to wid-edit.el
* doc/misc/widget.texi (Customization): Document it.
* etc/NEWS: Announce 'widget-unselected' face.
* lisp/wid-edit.el (widget-unselected): New face.
(widget-specify-unselected, widget-specify-selected): New functions.
(widget-checkbox-action, widget-checklist-add-item)
(widget-radio-add-item, widget-radio-value-set)
(widget-radio-action): Use them.
Jim Porter [Wed, 26 Jun 2024 04:39:35 +0000 (21:39 -0700)]
Always perform Eshell process cleanup runs in the Eshell buffer
Previously, some code executed in a timer, which could execute in the
wrong buffer, leading to a hang.
* lisp/eshell/esh-proc.el (eshell-sentinel): Use 'with-current-buffer'
in the timer function.
* test/lisp/eshell/esh-proc-tests.el (eshell-test-value): New variable.
(esh-proc-test/sentinel/change-buffer): New test.
(cherry picked from commit
da4bc5c9274a6705501e24fb8f2984f5bf5fe099)
Po Lu [Wed, 26 Jun 2024 04:08:55 +0000 (12:08 +0800)]
Avert crash in store_mode_line_string on Android 5.0 and earlier
* src/xdisp.c (store_mode_line_string)
[__ANDROID_API__ < 22]: Call strlen on STRING if the limit
would otherwise be SIZE_MAX, or if the address of the string
is within PRECISION bytes of UINTPTR_MAX, in which case it
cannot possibly be larger than PRECISION.
Ken Brown [Tue, 25 Jun 2024 15:30:08 +0000 (11:30 -0400)]
Use HarfBuzz in Cygwin-w32 build
* src/w32uniscribe.c (syms_of_w32uniscribe_for_pdumper) [CYGWIN]:
Use cygharfbuzz-0.dll as HarfBuzz DLL name instead of
libharfbuzz-0.dll. (Bug#71766)
Eli Zaretskii [Tue, 25 Jun 2024 13:42:47 +0000 (16:42 +0300)]
; * src/buffer.c (syms_of_buffer) <mode-line-format>: ASCIIfy.
Yuan Fu [Tue, 25 Jun 2024 02:27:54 +0000 (19:27 -0700)]
; * lisp/treesit.el (treesit--syntax-propertize-start): Fix doc.
(cherry picked from commit
2ba39a30bf4fbe90b5b5e16a50dc7090a42b759b)
(Bug#71753)
Stephen Berman [Tue, 25 Jun 2024 10:38:03 +0000 (12:38 +0200)]
Fix tabbing between widgets (bug#70594)
* lisp/wid-edit.el (widget-move): Don't error when tabbing in a
buffer with only one active widget and 'widget-skip-inactive'
enabled. Improve code by handling forward and backward movement
in a single loop.
Philip Kaludercic [Mon, 24 Jun 2024 20:15:25 +0000 (22:15 +0200)]
; * lisp/which-key.el (which-key-dont-use-unicode): Add :initialize
This fixes the change from
768e92b9, which accidentally would call
'custom-reevaluate-setting' on user options before they were registered,
initialising their default value to nil. When the 'defcustom'
expressions were evaluated later on, they were not properly initialised
as their variables were already bound to some value (nil).
https://lists.gnu.org/archive/html/emacs-devel/2024-06/msg00825.html
Po Lu [Tue, 25 Jun 2024 04:52:23 +0000 (12:52 +0800)]
* lisp/touch-screen.el (touch-screen-inhibit-drag): Another typo.
Jim Porter [Sun, 23 Jun 2024 23:59:00 +0000 (16:59 -0700)]
Fix rescaling of images via 'text-scale-mode' in EWW
* lisp/net/eww.el (eww--rescale-images): Handle a :scale of 'default'
(bug#71741).
(cherry picked from commit
3abcfe013d809a8194f5158877fd43f11d714fd5)
Po Lu [Tue, 25 Jun 2024 04:27:08 +0000 (12:27 +0800)]
* lisp/touch-screen.el (touch-screen-inhibit-drag): Fix typo.
Po Lu [Tue, 25 Jun 2024 03:37:09 +0000 (11:37 +0800)]
Fix latent side-effects of respecting field boundaries in text conversion
* src/textconv.c (textconv_query, get_extracted_text)
(get_surrounding_text): Restore selected window in addition to
excursion.
(locate_and_save_position_in_field): Restore excursion lest the
current buffer differ from the selected window's contents, to
prevent redisplay from clobbering the current buffer when called
while the current buffer is at variance with the selected
window's contents, as seen with dired-other-window.
Eli Zaretskii [Mon, 24 Jun 2024 19:21:26 +0000 (22:21 +0300)]
; * lisp/simple.el (undo-auto--boundaries): Doc fix (bug#71755).
Eli Zaretskii [Mon, 24 Jun 2024 19:17:05 +0000 (22:17 +0300)]
; * lisp/language/cyrillic.el: Delete obsolete commentary (bug#71754).
Jonas Bernoulli [Mon, 24 Jun 2024 18:34:53 +0000 (20:34 +0200)]
Add missing builtin package declarations
* lisp/editorconfig-conf-mode.el:
* lisp/editorconfig-core-handle.el:
* lisp/editorconfig-core.el:
* lisp/editorconfig-fnmatch.el:
* lisp/editorconfig-tools.el: Declare library as part of the
'editorconfig' package.
Michael Albinus [Mon, 24 Jun 2024 18:02:07 +0000 (20:02 +0200)]
Extend treesitter tests on emba
* test/infra/Dockerfile.emba (emacs-tree-sitter): Install c-ashrp
grammar.
* test/infra/Makefile.in (TREE-SITTER-FILES): Add csharp-mode-tests.el.
(tree-sitter-files): Rename from tree-sitter-files-template.
Generate .tree-sitter-files.
* test/infra/gitlab-ci.yml (test-tree-sitter): Extend .tree-sitter-files.
* test/infra/test-jobs.yml: Regenerate.
Robert Pluim [Mon, 24 Jun 2024 13:09:00 +0000 (15:09 +0200)]
Show entries from key-translation-map in which-key mode
* lisp/which-key.el (which-key-extra-keymaps): New user option.
(which-key--get-current-bindings): Consult it.
(Bug#71648)
Juri Linkov [Mon, 24 Jun 2024 16:57:57 +0000 (19:57 +0300)]
* lisp/tab-bar.el (tab-bar-tab-group-face-function): Improve doc (bug#71733).
Ulrich Müller [Mon, 24 Jun 2024 13:20:26 +0000 (15:20 +0200)]
; Fix flymake tests with GCC 14.
* test/lisp/progmodes/flymake-tests.el (included-c-header-files):
Fix test failure with GCC 14. (Bug#71749)
Robert Pluim [Mon, 24 Jun 2024 12:33:30 +0000 (14:33 +0200)]
Don't show char name for multi-char translations
I forgot about shift-translation when implementing this originally, so
this code was being triggered for things like 'C-S-<up>'.
* lisp/help.el (help-key-description): Check if the translation result
is a single char.
(Bug#71411)
Robert Pluim [Mon, 24 Jun 2024 09:25:30 +0000 (11:25 +0200)]
Reset ls-lisp-use-string-collate when ls-lisp-emulation changes
* lisp/ls-lisp.el (ls-lisp-set-options): Add ls-lisp-use-string-collate
to the list of custom options that are reset when ls-lisp-emulation
changes.
https://lists.gnu.org/archive/html/help-gnu-emacs/2024-06/msg00135.html
Jonas Bernoulli [Mon, 24 Jun 2024 11:38:35 +0000 (13:38 +0200)]
Update to Transient
v0.7.2-1-gf273c0c8
This fixes two bugs, one of them restoring compatibility with the
version that ships with Emacs 29, making emoji-insert usable again.
The other changes are of cosmetic nature. The only exception is a new
command, whose creation lead to the discovery of one of the bugs, and
remains unused until a package author actually binds it in a prefix.
I.e., unless someone actually uses this, the risk of a regression is
close to zero, and even if it is used, it can only affect the prefix
that binds it.
Andreas Schwab [Tue, 13 Jun 2023 14:00:17 +0000 (16:00 +0200)]
* doc/misc/calc.texi (Musical Notes): Fix typo.
Robert Pluim [Mon, 24 Jun 2024 09:19:28 +0000 (11:19 +0200)]
; Fix typos
* ChangeLog.3: It's "its", not "it's", for the possessive.
* ChangeLog.4: And here.
Philip Kaludercic [Mon, 24 Jun 2024 07:42:20 +0000 (09:42 +0200)]
Update options that depend on 'which-key-dont-use-unicode'
* lisp/which-key.el (which-key-dont-use-unicode): Add a custom setter
that re-evaluates a manual list of options use
'which-key-dont-use-unicode' to determine their default value.
https://lists.gnu.org/archive/html/help-gnu-emacs/2024-06/msg00130.html
Eshel Yaron [Sun, 23 Jun 2024 20:46:26 +0000 (22:46 +0200)]
; Remove debugging message in Completion Preview test
* test/lisp/completion-preview-tests.el
(completion-preview-complete): Remove leftover debug message.
Po Lu [Mon, 24 Jun 2024 04:04:05 +0000 (12:04 +0800)]
Fix omission of updates to child frames on Android
* java/org/gnu/emacs/EmacsView.java (onAttachedFromWindow):
Force a layout cycle rather than report exposure immediately.
(prepareForLayout): Delete function.
* java/org/gnu/emacs/EmacsWindow.java (mapWindow): Remove
redundant calls to prepareForLayout.
* src/androidterm.c (handle_one_android_event): Do not swap
buffers when exposure is registered by a frame only partially
updated.
Damien Cassou [Fri, 14 Jun 2024 08:46:42 +0000 (10:46 +0200)]
Add jsdoc support to js-ts-mode
* lisp/progmodes/js.el (js--treesit-font-lock-settings): Add jsdoc
font-lock settings.
(js--treesit-jsdoc-beginning-regexp): New variable to match the
beginning of a jsdoc block.
(js-ts-mode): Add jsdoc support. Save the 'javascript parser to
`treesit-primary-parser'. Configure `treesit-range-settings' to
use a jsdoc parser within a JavaScript file.
(js-ts-language-at-point): New function to return either 'jsdoc or
'javascript depending on where the point is.
Eli Zaretskii [Sun, 23 Jun 2024 19:22:12 +0000 (22:22 +0300)]
; Restore inadvertently removed line.
Eli Zaretskii [Sun, 23 Jun 2024 19:17:37 +0000 (22:17 +0300)]
; * test/lisp/net/shr-tests.el (shr-test--rendering-check): Use UTF-8.
Jim Porter [Sun, 23 Jun 2024 18:40:30 +0000 (11:40 -0700)]
; Don't run new 'shr-test/zoom-image' when built without image support
* test/lisp/net/shr-tests.el (shr-test/zoom-image): Skip when
'image-types' is unbound.
Eli Zaretskii [Sun, 23 Jun 2024 17:57:26 +0000 (20:57 +0300)]
; * admin/release-branch.txt: Update and fix typo.
Stefan Kangas [Sun, 23 Jun 2024 14:28:31 +0000 (16:28 +0200)]
; Fix typos
Michael Albinus [Sat, 22 Jun 2024 17:52:06 +0000 (19:52 +0200)]
Backport: Minor changes in tramp-tests.el
* test/lisp/net/tramp-tests.el (tramp--test-shell-file-name):
Use connection-local value.
(tramp--test-shell-command-switch): New defun.
(tramp-test28-process-file)
(tramp-test34-explicit-shell-file-name): Use it.
(tramp--test-supports-processes-p): Simplify.
(tramp--test-check-files): Use `tramp-compat-seq-keep'.
(tramp-test45-asynchronous-requests): Don't let-bind `shell-file-name'.
(tramp-test45-asynchronous-requests): Adjust timer.
(tramp-test45-asynchronous-requests): Add another test message.
(cherry picked from commit
c95caade15d295fa6cc31d337028faa15142b388)
Michael Albinus [Sat, 22 Jun 2024 17:49:45 +0000 (19:49 +0200)]
Backport: Tramp: Fix bug#71709, and other minor changes
* lisp/net/tramp-message.el (tramp-backtrace): Print also in batch mode.
* lisp/net/tramp.el (tramp-skeleton-file-exists-p): Check for
property only.
(tramp-skeleton-make-process): Don't set `default-directory'.
(tramp-handle-make-process): Set it. (Bug#71709)
(cherry picked from commit
8456cb9b698dfbfc90af82b3ebcd739fc22be4e4)
Eli Zaretskii [Sun, 23 Jun 2024 10:48:54 +0000 (06:48 -0400)]
New branch emacs-30
* README:
* configure.ac:
* nt/README.W32:
* etc/refcards/ru-refcard.tex:
* msdos/sed2v2.inp:
* lisp/cus-edit.el (customize-changed-options-previous-release):
Cut the emacs-30 release branch.
Eli Zaretskii [Sun, 23 Jun 2024 10:42:29 +0000 (06:42 -0400)]
* admin/admin.el: (set-version): Fix regexp for configure.ac.
Po Lu [Sun, 23 Jun 2024 08:41:36 +0000 (16:41 +0800)]
Disable Ffile_system_info for Android special directories
* src/fileio.c (Ffile_system_info): Return Qnil if FILENAME
refers to a special directory.
Martin Rudalics [Sun, 23 Jun 2024 08:26:57 +0000 (10:26 +0200)]
Fix a bug in 'switch-to-buffer'
* lisp/window.el (switch-to-buffer): When asked to switch to the
buffer of the selected window,
'switch-to-buffer-obey-display-actions' is non-nil and
'pop-to-buffer' uses the selected window, don't try to restore
window start and point from 'window-prev-buffers' (Bug#71616).