Commit graph

175009 commits

Author SHA1 Message Date
Michael Albinus
1a2c29b531 Improve Tramp's make-process handling for Solaris
* lisp/net/tramp-sh.el (tramp-sh-handle-make-process):
Disable buffering also for remote Solaris hosts.
Reported by Stacey Marshall <stacey.marshall@gmail.com>.
2025-05-10 10:05:51 +02:00
Stephen Gildea
a7dffc2ea3 Document 'time-stamp-time-zone' in Emacs Manual
* doc/emacs/files.texi (Time Stamp Customization): Document
time-stamp-time-zone.
2025-05-08 14:48:22 -07:00
Yuan Fu
0b4eb525b6
Make treesit--simple-indent-eval more permissive (bug#78065)
* lisp/treesit.el (treesit--simple-indent-eval): Allow EXP to be
anything, so higher-order indent presets can take anything as an
argument: t, nil, symbols, keywords, etc.
2025-05-06 21:30:25 -07:00
Michael Albinus
ed7b55f6bf Adapt Tramp tests
* test/lisp/net/tramp-tests.el (tramp-test29-start-file-process)
(tramp-test30-make-process): Adapt tests.
2025-05-06 12:22:45 +02:00
Eli Zaretskii
b172a1478c ; * doc/lispref/tips.texi (Library Headers): Fix wording (bug#78253). 2025-05-05 14:51:56 +03:00
Eli Zaretskii
81629b2b2b ; * lisp/gnus/mail-source.el (mail-sources): Fix a typo (bug#78235). 2025-05-04 09:47:49 +03:00
Michael Albinus
28a276efe8 Fix quoted local file name parts in Tramp
* lisp/net/tramp.el (tramp-handle-directory-file-name):
* lisp/net/tramp-integration.el (tramp-rfn-eshadow-update-overlay):
Handle quoted local file name part.
2025-05-03 15:00:18 +02:00
Eli Zaretskii
1f998d11a5 ; * doc/misc/ert.texi (erts files): Improve indexing. 2025-05-03 10:34:43 +03:00
Eli Zaretskii
52183c9596 ; * lisp/battery.el (battery-status-function): Doc fix. 2025-05-02 15:07:35 +03:00
Sean Whitton
dc3e79a80e ; * etc/DEBUG: Grammar fix. 2025-05-02 10:26:08 +08:00
Eli Zaretskii
7d02ffe87b ; * lisp/international/mule.el (define-coding-system): Doc fix. 2025-05-01 21:02:39 +03:00
Jostein Kjønigsen
ebeaa728b6
Fix compilation-mode matches for csharp-mode (bug#78128)
* lisp/progmodes/csharp-mode.el:
(csharp-compilation-re-dotnet-error):
(csharp-compilation-re-dotnet-warning): Ignore leading whitespace.
2025-05-01 00:50:05 -07:00
Eli Zaretskii
eb6a50d3e3 ; Fix last change (do not merge to master). 2025-04-30 16:16:30 +03:00
Eli Zaretskii
e1e052501b Add 3 scripts to fontset setup
* lisp/international/fontset.el (setup-default-fontset)
(script-representative-chars): Add support for Avestan, Old Turkic
and Chakma.  Patch by Werner Lemberg <wl@gnu.org>.  Do not merge
to master.
2025-04-30 16:13:53 +03:00
Eli Zaretskii
cc5b1a01a2 ; * doc/misc/efaq-w32.texi (Location of init file): Fix a typo. 2025-04-30 14:10:25 +03:00
Eli Zaretskii
6c2aaedfce Fix compilation errors in emacsclient.c with MinGW GCC 15
* lib-src/emacsclient.c (set_fg, get_wc): Declare using actual
function signatures.
(w32_give_focus): Cast return value of 'GetProcAddress' to correct
pointer types.  (Bug#78160)
2025-04-30 14:06:44 +03:00
Sean Whitton
d56e5ba97e ; * etc/DEBUG: Add link to GCC bug #78685. 2025-04-30 17:12:50 +08:00
Eli Zaretskii
80cbd1e31c ; Fix key notation in Introduction to Emacs Lisp
* doc/lispintro/emacs-lisp-intro.texi (Typing Lists)
(Note for Novices): Fix notation of 'M-C-\'.  (Bug#78153)
2025-04-30 09:03:17 +03:00
Eli Zaretskii
1224e5fd96 ; * lisp/files.el (revert-buffer-restore-functions): Doc fix (bug#78124). 2025-04-29 21:28:01 +03:00
Eli Zaretskii
79e7eeb329 ; Improve documentation of 'format-time-string'
* doc/lispref/os.texi (Time Parsing): Fix documentation of week
numbers for %U, %V and %W.  (Bug#78096)
2025-04-29 11:19:19 +03:00
Eli Zaretskii
2838b64fc8 ; * lisp/textmodes/text-mode.el (text-mode-variant): Fix last change. 2025-04-29 10:47:35 +03:00
Eli Zaretskii
9adb05422e ; Improve obsolescence of 'text-mode-variant'
* lisp/textmodes/text-mode.el (text-mode-variant): Improve
obsolescence announcement text.

* doc/lispref/modes.texi (Example Major Modes): Update example.
(Bug#78125).
2025-04-29 10:09:54 +03:00
Eli Zaretskii
4858d81848 ; * lisp/files.el (revert-buffer-restore-functions): Doc fix. 2025-04-29 09:39:34 +03:00
Eli Zaretskii
2a8e223b8d ; Mention early-init file in Emacs FAQ for Windows
* doc/misc/efaq-w32.texi (Location of init file, Init file):
Mention the early-init file.  Suggested by David Hedlund
<davidh@gnu.org>.
2025-04-29 09:05:28 +03:00
Jake Forster
14c707b42d ; Isearch: Fix key bindings in docstrings
* lisp/isearch.el (isearch-allow-motion)
(isearch-motion-changes-direction): Use isearch-mode-map for
commands in docstrings (bug#78118).

Copyright-paperwork-exempt: yes
2025-04-29 09:10:30 +08:00
Po Lu
aa1b55d521 Fix the Android build
* java/README.res: Move from java/res/README, as the AAPT does
not permit non-resource files in resource directories.
2025-04-27 21:08:48 +08:00
Eli Zaretskii
d394cd73d1 Avoid infinite recursion under 'rectangle-mark-mode'
* lisp/rect.el (rectangle--region-beginning)
(rectangle--region-end): Avoid infinite recursion.  Patch by Alcor
<alcor@tilde.club>.  Do not merge to master.  (Bug#77973)
2025-04-27 10:08:38 +03:00
Sean Whitton
b5967dda32 ; * doc/misc/ert.texi (Introduction): Be more Lisp-specific. 2025-04-27 11:59:17 +08:00
Sean Bright
be4819bd57 Include additional version metadata during Windows install
* admin/nt/dist-build/emacs.nsi: Add DisplayIcon, DisplayVersion, and
  Publisher values to the Uninstall registry key.

Copyright-paperwork-exempt: yes
2025-04-26 14:21:21 -05:00
Stephen Gildea
1f520db97b * doc/emacs/files.texi (Time Stamp Customization): Typo. 2025-04-25 18:37:39 -07:00
Sean Whitton
d824b66c24 ; * doc/emacs/search.texi (Isearch Yank): Improve flow. 2025-04-24 20:38:51 +08:00
Sean Whitton
62b284f915 ; * etc/DEBUG: Say that debugging code compiled w/ -Og can be hard. 2025-04-24 20:15:50 +08:00
Eli Zaretskii
49ea1f64c7 ; Improve documentation of 'modifier-bar-mode'
* doc/emacs/custom.texi (Modifier Keys):
* doc/emacs/frames.texi (Tool Bars):
* lisp/tool-bar.el (modifier-bar-mode): Improve documentation of
'modifier-bar-mode'.
2025-04-24 12:32:02 +03:00
Eli Zaretskii
a975232c0f ; * doc/emacs/programs.texi (Matching): Fix wording (bug#78021). 2025-04-24 12:07:56 +03:00
Eli Zaretskii
29142dab31 ; * doc/misc/efaq-w32.texi (MinGW-w64): Fix punctuation (bug#78005). 2025-04-23 16:18:26 +03:00
Sean Whitton
4cd4a801d8 ; * java/res/README: Note origin of emacs_wrench.png. 2025-04-20 09:22:06 +08:00
Spencer Baugh
cc52c1e1d0 Backport: fix flymake margin indicator fallback logic
Backport 861e7f8b60 to fix bug#77313, so
that fringe indicators are once again reliably the default on frames
that support them.

Do not merge to master.

* lisp/progmodes/flymake.el (flymake-indicator-type)
(flymake-mode): Fix margin fallback behavior.
2025-04-19 17:37:40 +03:00
Michael Albinus
2a45f0bceb * lisp/progmodes/heex-ts-mode.el (heex-ts): Fix :group name. 2025-04-19 09:41:58 +02:00
Konstantin Kharlamov
9750333dde
Fix typescript-ts-mode indentation (bug#77803)
Don't align variable names to their declaratory expression.

Before this commit in code like:

    const a = 1,
          b = 2;

the b would get indented to `const'.  Similarly for `var' and
`let'. The expected behavior instead is getting indented to
`typescript-ts-mode-indent-offset'.

* lisp/progmodes/typescript-ts-mode.el
(typescript-ts-mode--indent-rules): Indent identifiers declarations to
`typescript-ts-mode-indent-offset'.
* test/lisp/progmodes/typescript-ts-mode-resources/indent.erts
(Lexical and variable declarations): Update test accordingly.
2025-04-18 16:40:06 -07:00
Yuan Fu
ef8bfe90b7
Handle offset in treesit--update-ranges-local (bug#77848)
* lisp/treesit.el:
(treesit--update-ranges-local): Add OFFSET parameter.
(treesit-update-ranges): Pass offset to
treesit--update-ranges-local.
2025-04-18 16:24:11 -07:00
kobarity
4dcd66abd5 Disable echo back instead of setting tty to raw in Inferior Python
* lisp/progmodes/python.el (python-shell-setup-code): Change the
Python setup code.  (Bug#76943)

(cherry picked from commit 4c5c20ddc2)
2025-04-18 14:53:20 +02:00
Eli Zaretskii
01d4eb3dd4 ; Improve doc string of 'insert-char'
* src/editfns.c (Finsert_char): Doc fix.  Suggested by Lactose ‎
<lactose@allthingslinux.org> (bug#77889).
2025-04-18 14:10:19 +03:00
Michael Albinus
93ad8407ed * admin/notes/emba: Fix docker build instruction. 2025-04-18 09:31:54 +02:00
Sean Whitton
b901290ae7 * doc/lispref/text.texi (Margins): Grammar fix.
Author:
2025-04-18 14:31:50 +08:00
Eli Zaretskii
16855c89dd Merge branch 'emacs-30' of git.savannah.gnu.org:/srv/git/emacs into emacs-30 2025-04-18 08:03:48 +03:00
Eli Zaretskii
275712a18c ; Improve documentation of 'help-fns-edit-variable'
* lisp/help-fns.el (help-fns-edit-variable)
(help-enable-variable-value-editing): Doc fixes.

(cherry picked from commit bf737dc42a)
2025-04-16 11:14:57 +03:00
Michael Albinus
8792d3431b Backport: Fix tree-sitter tests on Emba
* test/infra/Dockerfile.emba: Use tree-sitter-rust v0.23.3 in
order to match ABI version of libtree-sitter0.

(cherry picked from commit 788c9cfb62)
2025-04-16 10:14:25 +02:00
Eli Zaretskii
2b535a9c77 ; Improve documentation of some functions in files-x.el
* lisp/files-x.el (modify-file-local-variable)
(modify-file-local-variable-prop-line)
(add-file-local-variable-prop-line)
(delete-file-local-variable-prop-line, add-file-local-variable)
(delete-file-local-variable): Document the effect of INTERACTIVE
argument.
2025-04-15 16:58:50 +03:00
Wojciech Siewierski
45cf832ac7 Fix deleting the first line of calc trail
* lisp/calc/calc-trail.el (calc-trail-kill): Remove the check
preventing the removal of the first trail line, which is no
longer relevant since commit 8e1376a391.  (Bug#77816)
2025-04-15 11:56:44 +03:00
Po Lu
74e25c9413 Fix file descriptor leaks on arm Android
* exec/loader-aarch64.s (_start):

* exec/loader-armeabi.s (_start): Fix thinko.
Do not merge to master.
2025-04-13 19:02:04 +08:00