1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00
Commit Graph

165540 Commits

Author SHA1 Message Date
Jim Porter
21b2ecee66 Fix command example in Eshell manual
* doc/misc/eshell.texi (Introduction): Fix example (bug#65303).

Reported by Eric Gillespie <brickviking@gmail.com>.
2023-08-15 22:09:14 -07:00
Daniel Martín
26949819df ; lisp/progmodes/csharp-mode.el (treesit-query-capture): Declare (bug#65297). 2023-08-15 18:47:53 +03:00
Eli Zaretskii
221ed70b90 ; Improve documentation of 'define-alternatives'
* doc/lispref/commands.texi (Generic Commands):
* lisp/simple.el (define-alternatives): Improve documentation of
'define-alternatives'.
2023-08-15 17:08:12 +03:00
Jim Porter
32280205e2 Add user options mentioned in the Eshell manual to the variable index
* doc/misc/eshell.texi: Make variable index entries use "code" style,
and add indexing for any options already in the manual.
2023-08-14 19:21:03 -07:00
Andrea Corallo
cf3145a486 * Add missing alias to `native-comp-enable-subr-trampolines'.
* lisp/subr.el (native-comp-deferred-compilation): Alias to
native-comp-jit-compilation.
2023-08-14 15:48:53 +02:00
Andrea Corallo
922b649028 * Add missing alias to `native-comp-enable-subr-trampolines'.
* lisp/subr.el (comp-enable-subr-trampolines): Alias to
native-comp-enable-subr-trampolines.
2023-08-14 15:37:30 +02:00
Po Lu
6962823c83 ; * etc/PROBLEMS: Fix typo and clarify wording.
I-Bus is merely one of the many X input methods plagued with
crashes.
2023-08-14 16:04:03 +08:00
Michael Albinus
fdab7aaada ; * lisp/net/tramp.el (tramp-skeleton-write-region): Fix last change. 2023-08-14 09:42:43 +02:00
Kyle Meyer
3eff53b456 Update to Org 9.6.7-13-g99cc96 2023-08-13 22:11:45 -04:00
Michael Albinus
c42970d775 Handle last-coding-system-used in Tramp for all backends
* lisp/net/tramp.el (tramp-skeleton-write-region):
Handle `last-coding-system-used'.
(tramp-handle-write-region):
* lisp/net/tramp-adb.el (tramp-adb-handle-write-region):
* lisp/net/tramp-smb.el (tramp-smb-handle-write-region):
* lisp/net/tramp-sshfs.el (tramp-sshfs-handle-write-region):
Set `coding-system-used'.  (Bug#65022)

* lisp/net/tramp-sh.el (tramp-sh-handle-write-region):
Move `last-coding-system-used' handling to
`tramp-skeleton-write-region'.
2023-08-13 16:48:00 +02:00
Devon Sean McCullough
ffafe38d03 Add 2 Welsh characters to iso-transl.el
* lisp/international/iso-transl.el (iso-transl-char-map): Add two
Welsh characters.  (Bug#65248)
2023-08-13 09:43:32 +03:00
Andrea Corallo
842dbf500e * Fix `batch-byte+native-compile' target directory.
* lisp/emacs-lisp/comp.el (batch-native-compile): Don't shadow
`native-compile-target-directory' unless necessary.
2023-08-12 18:51:45 +02:00
Eli Zaretskii
8dbd5aa1ee Avoid crashes in 'display_count_lines' when current buffer was killed
* src/xdisp.c (Fformat_mode_line):
* src/fns.c (Fline_number_at_pos): Don't allow to count lines in a
dead buffer.  (Bug#65060)
2023-08-12 15:06:48 +03:00
Daniel Martín
47b4f4cf78 ; * doc/emacs/mini.texi (Completion Commands): Fix a typo (bug#65242). 2023-08-12 11:53:41 +03:00
J M
78999d5213 Update csharp tree-sitter support due to upstream changes
A change in tree-sitter-c-sharp grammar for csharp (commit
18a531), has removed the keyword void_keyword and advised
we should use predefined_type.
* lisp/progmodes/csharp-mode.el (csharp-ts-mode--font-lock-settings):
Support both old and new style of keywords in tree-sitter-c-sharp
grammar.  (Bug#65113)
2023-08-12 10:23:58 +03:00
Matthew Tromp
556cb01b48 Substitute command keys in 'ielm-header' at use time
Before, command keys were substituted into the ielm-header when
ielm.el was loaded, which resulted in the substitutions depending on
the user's current buffer instead of the ielm buffer.
For example, if the user was in an info-mode buffer, the key would
appear as 'H' instead of 'C-h m'.
Now, the command key is substituted after the ielm buffer has been
created.
* lisp/ielm.el (ielm-header): Remove substitute-command-keys.
(inferior-emacs-lisp-mode): Add substitute-command-keys.  (Bug#65213)

Copyright-paperwork-exempt: yes
2023-08-12 10:14:36 +03:00
Eli Zaretskii
99367078e5 ; * etc/PROBLEMS: Add entry about XIM problems (bug#65205). 2023-08-12 10:04:55 +03:00
Eli Zaretskii
03e897c08f Fix rare crashes in redisplay due to problems with fontsets
* src/xdisp.c (get_next_display_element): If we have no usable
face to display a character/composition, treat that as glyphless.
(produce_glyphless_glyph): If neither it->face nor its ASCII face
are usable, fall back to the frame's default font.  (Bug#65198)
2023-08-12 09:38:28 +03:00
Eli Zaretskii
b1ba06a1e4 Fix a typo in 'leuven-dark-theme.el'
* etc/themes/leuven-dark-theme.el (leuven-dark): Fix a typo.
Reported by John Poole <saxcos@posteo.es>.  (Bug#65239)
2023-08-12 09:27:23 +03:00
Gregory Heytings
e80a9dcabb ; * admin/git-bisect-start: Update failing commits 2023-08-11 14:22:17 +00:00
Gregory Heytings
9091f42784 ; * admin/git-bisect-start: Update failing commits 2023-08-10 17:34:40 +00:00
Robert Pluim
344ac529ca ; * etc/PROBLEMS: Fix typo. 2023-08-10 12:44:37 +02:00
Michael Albinus
bccf848b26 Adapt Tramp test
* test/lisp/net/tramp-tests.el (tramp-test41-special-characters):
Skip for macOS.
2023-08-10 12:17:59 +02:00
dannyfreeman
71bc060e40 Properly expand the JSX indentation rules in 'js-ts-mode'
* lisp/progmodes/js.el (js--treesit-indent-rules): Fix
'js-ts-mode' indent bug in JSX expressions. Before this
change, treesit indent mechanisms were trying to call this
compatibility function like a matching or anchor rule.
This resulted in an error when running `indent-for-tab-command`
while the cursor was in a JSX expression:

treesit--simple-indent-eval: Wrong number of
arguments: ((cl-struct-js--pitem-tags ido-cur-list t) nil "Indent rules
helper, to handle different releases of tree-sitter-javascript."

(Bug#65134)
2023-08-10 11:59:13 +03:00
Andrea Corallo
889cfb42ed * Add `emacs-lisp-native-compile' to easy-menu.
* lisp/progmodes/elisp-mode.el (emacs-lisp-mode-menu): Add menu
item for emacs-lisp-native-compile.
2023-08-10 10:39:14 +02:00
Andrea Corallo
4535aafa8a * lisp/progmodes/elisp-mode.el (emacs-lisp-mode-menu): Simplify condition. 2023-08-10 10:34:01 +02:00
Andrea Corallo
173af0cad5 * Introduce `emacs-lisp-native-compile'.
* lisp/progmodes/elisp-mode.el (emacs-lisp-native-compile): New command.
(emacs-lisp-native-compile-and-load): Make use of.
2023-08-10 10:32:02 +02:00
Eli Zaretskii
063d7d89d7 Fix the -x switch in non-X builds
* src/emacs.c (main): Move the handling of the -x switch out of
the HAVE_X_WINDOWS condition, and simplify the rest of the code by
avoiding code duplication in HAVE_X_WINDOWS and !HAVE_X_WINDOWS
cases.  (Bug#65048)
2023-08-10 10:50:35 +03:00
Po Lu
5a7fb0b39b Document that `set-mouse-color' does not work everywhere
* etc/PROBLEMS (Miscellaneous Problems): Mention where
`set-mouse-color' does not work.
2023-08-10 15:31:09 +08:00
Eli Zaretskii
d06fc72496 ; * doc/emacs/dired.texi (Misc Dired Features): Fix last change. 2023-08-10 09:08:59 +03:00
Eli Zaretskii
97b8ac376b Fix the effects and documentation of 'dired-free-space'
* lisp/dired.el (dired-free-space): Fix doc string and Custom tags.
(dired--insert-disk-space): When 'dired-free-space' is 'separate',
return the position of the beginning of the disk-space line, to be
compatible with pre-Emacs 29 behavior under
'dired-hide-details-mode'.  (Bug#65186)

* doc/emacs/dired.texi (Misc Dired Features): Fix wording in
documentation of 'dired-free-space'.
2023-08-10 09:06:05 +03:00
Stefan Kangas
75c72e59f6 ; Fix typo 2023-08-10 07:21:22 +02:00
Stefan Kangas
6d11b7b300 Fix cross-reference to eldoc in eglot manual
* doc/misc/eglot.texi (Eglot Features): Fix cross-reference to eldoc
node in the Emacs manual.
2023-08-09 16:57:38 +02:00
Eli Zaretskii
913e50aba6 Add native-compilation to Emacs Lisp mode menu
* lisp/progmodes/elisp-mode.el (emacs-lisp-mode-menu): Add menu
item for emacs-lisp-native-compile-and-load.
2023-08-09 17:35:24 +03:00
Andrea Corallo
b93107c20b Fix emacs-lisp-native-compile-and-load eln target directory (bug#64226)
* lisp/emacs-lisp/comp.el (comp-spill-lap-function): Don't use
`byte+native-compile' to select output directory but always axpect
it explicit through `native-compile-target-directory'.
(batch-byte+native-compile): Set `native-compile-target-directory'.
* test/src/comp-tests.el (comp-tests-bootstrap): Set
`native-compile-target-directory'.
2023-08-09 15:19:26 +02:00
Eli Zaretskii
7e3c616086 ; Re-enable the /dev/urandom test
* test/src/fileio-tests.el (fileio-tests--non-regular-insert):
Remove :unstable, but comment out the single failing test.
2023-08-09 07:25:59 -04:00
Mattias Engdegård
ff21717f05 Disable failing test (bug#65156)
* test/src/fileio-tests.el (fileio-tests--non-regular-insert):
Mark as :unstable, since /dev/urandom is seekable.

Do not merge to master.
2023-08-09 10:23:28 +02:00
Po Lu
4767f5eaee Better fix for bug#65156
* src/fileio.c (Finsert_file_contents): Correct seek-ability
test, since lseek returns -1 upon failure.  (Bug#65156)
2023-08-09 10:49:44 +08:00
Eli Zaretskii
dd1d8414b3 Fix insert-file-contents with pipes and /dev/stdin
* src/fileio.c (Finsert_file_contents): Restore logic of
non-regular but seekable files.  (Bug#65156)
2023-08-08 22:18:46 +03:00
Eli Zaretskii
50649a6d1a ; * etc/PROBLEMS: Fix wording. 2023-08-08 15:22:14 +03:00
Stefan Kangas
f0dda682ff ; * etc/NEWS.28: Add deletion of levents.el. 2023-08-08 04:47:34 +02:00
Po Lu
f4acae842c Fix bug#65042
* src/pgtkterm.c (fill_background_by_face): Respect the frame's
background alpha property.
2023-08-08 09:02:10 +08:00
Eli Zaretskii
e1874c4e8b * configure.ac (HAVE_TREE_SITTER): Set NEED_DYNLIB=yes (bug#65123). 2023-08-07 16:20:17 +03:00
Michael Albinus
ef8838c3a5 * etc/NEWS: Mention tramp-show-ad-hoc-proxies. 2023-08-06 21:25:40 +02:00
Michael Albinus
495bee253f * test/lisp/net/tramp-tests.el (tramp-test42-utf8): Skip for macOS. 2023-08-06 16:24:19 +02:00
Michael Albinus
de1effd73b ; Fix last change 2023-08-06 15:46:58 +02:00
Michael Albinus
7c7966862b * test/lisp/net/tramp-tests.el (tramp-test10-write-region): Extend test. 2023-08-06 14:30:57 +02:00
Eli Zaretskii
16205e8db6 ; Improve help-echo in package.el
* lisp/emacs-lisp/package.el (package-menu-mode-menu): Improve
help-echo descriptions.  (Bug#65094)
2023-08-06 10:02:11 +03:00
Arash Esbati
a95e700698 ; Filter packages available for upgrade via menu bar
* lisp/emacs-lisp/package.el (package-menu-mode-menu): Add entry
to filter packages available for upgrade via menu bar.  (bug#65094)
2023-08-06 09:42:57 +03:00
Eli Zaretskii
adff72dd1d Fix reverting Rmail buffers
This bug happened because rmail.el relied on 'revert-buffer' to
return non-nil when it succeeds to revert, but a recent change
in 'revert-buffer' broke that promise in Emacs 29.1.
* lisp/files.el (revert-buffer--default, revert-buffer): Doc fix.
(revert-buffer): Return whatever 'revert-buffer-function' returns.
(Bug#65071)
2023-08-06 09:33:44 +03:00