1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
Commit graph

174125 commits

Author SHA1 Message Date
Andrea Corallo
acfd91bc0c ; * lisp/emacs-lisp/compat.el: Fix header style. 2024-08-18 11:47:38 +02:00
Michael Albinus
55337dc36a * test/infra/gitlab-ci.yml (.tree-sitter-template): Adapt changes. 2024-08-18 11:29:05 +02:00
Stefan Kangas
d8e9eb73c2 Bump use-package version for Emacs 30.1
* lisp/use-package/use-package.el: Bump version to 2.4.6.
2024-08-18 11:18:04 +02:00
Andrea Corallo
4d9d3fec1b * Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump. 2024-08-18 10:25:08 +02:00
Eli Zaretskii
502285e84a ; * admin/make-tarball.txt: Some clarifications. 2024-08-18 07:56:57 +03:00
Eli Zaretskii
9e7c2d3816 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)
2024-08-17 21:35:08 +03:00
Stefan Monnier
d6726e6dfc Further fix of reading and writing profiler data
* lisp/profiler.el (profiler-report-make-entry-part): Print
strings as-is.  (Bug#72559)
2024-08-17 20:48:05 +03:00
Andrea Corallo
30b2fae77b * Makefile.in (PREFERRED_BRANCH): Update to emacs-30. 2024-08-17 18:27:42 +02:00
Po Lu
5397808e5b ; Eliminate more C++ comments
* lib-src/movemail.c:

* nt/preprep.c (main):

* src/unexw32.c (unexec): Convert C++-style comments to C.
2024-08-17 22:04:01 +08:00
Po Lu
1463434907 ; Eliminate C++ comments and typo
* lib-src/etags.c (Rust_entries): Eliminate C++ comments and
typo.
2024-08-17 22:01:09 +08:00
Po Lu
8d5f88d326 Backport ed305c4b98 to emacs-30
* src/xterm.c (x_construct_mouse_click): `||' → `|'.
Typo found by clang 18.1.6 -Wbool-operation.  Do not
merge to master.
2024-08-17 21:53:30 +08:00
Eli Zaretskii
6a512ab032 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)
2024-08-17 13:07:56 +03:00
Stefan Monnier
7b752a93a4 Fix dumping of Lisp profiles
* lisp/profiler.el (profiler-fixup-entry): New function.
(profiler-fixup-backtrace): Use it.  (Bug#72559)
2024-08-17 12:50:26 +03:00
Stefan Monnier
bfe07eca59 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)
2024-08-17 12:43:33 +03:00
Eli Zaretskii
5c1bd99139 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)
2024-08-17 12:29:31 +03:00
Eli Zaretskii
e966dd5ee2 Document spell-checking of multiple languages
* doc/emacs/fixit.texi (Spelling): Document spell-checking
multi-lingual text with Hunspell.
2024-08-17 11:44:35 +03:00
Peter Oliver
8a072d1f05 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)
2024-08-17 11:04:43 +03:00
Eli Zaretskii
5c9de704cc ; * admin/make-tarball.txt: Minor copyedits. 2024-08-16 21:55:37 +03:00
Eli Zaretskii
3fc1635783 ; * doc/lispref/strings.texi (Text Comparison): Improve indexing. 2024-08-16 14:05:20 +03:00
Pip Cet
45a78ec6c5 * lisp/files.el (require-with-check): Improve error messages. 2024-08-15 16:28:07 +00:00
Andrea Corallo
9a04b99b3d ; * src/data.c (Fsubrp): Improve docstring. 2024-08-15 10:54:26 +02:00
Eli Zaretskii
4f3e8c3b4e 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.
2024-08-15 11:30:48 +03:00
Visuwesh
ed8904937e 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)
2024-08-15 10:37:36 +03:00
Arash Esbati
505139e0ba Fix project-dired keybinding in manual
* doc/emacs/maintaining.texi (Project File Commands): Fix the
keybinding for `project-dired'.  (Bug#72581)
2024-08-14 19:16:37 +02:00
Eli Zaretskii
9bedb957be 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)
2024-08-14 11:35:48 +03:00
Michael Albinus
7c588a0065 ; 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.
2024-08-14 09:47:59 +02:00
Dmitry Gutov
4589f51c21 (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.
2024-08-13 15:14:18 +03:00
Michael Albinus
616a93d185 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.
2024-08-13 09:19:00 +02:00
Eli Zaretskii
e9e7e3908a ; * lisp/files.el (require-with-check): Fix last change. 2024-08-13 05:27:08 +03:00
Eli Zaretskii
b585826a65 ; * lisp/files.el (require-with-check): Fix doc string and error text. 2024-08-12 21:38:46 +03:00
Gerd Möllmann
6d55e94996 macOS: Wrong frame rectangle after wake (bug#71912)
* src/nsterm.m ([EmacsView windowDidBecomeKey]):
Call adjustEmacsFrameRect.
2024-08-12 05:11:00 +02:00
Po Lu
c49724b964 ; 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.
2024-08-12 08:10:36 +08:00
Pip Cet
5c3d340e00 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.
2024-08-11 10:22:46 +00:00
Pip Cet
8e925d582a 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.
2024-08-11 10:22:19 +00:00
Kazuhiro Ito
4dd953d3cc * lisp/epg.el (epg--start): Don't convert EOL on encoding (bug#72542). 2024-08-10 10:54:18 +03:00
Thomas Fitzsimmons
5cace09ed0 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 9f03300c5c)
2024-08-09 09:03:01 +03:00
Eli Zaretskii
a0406f7c12 ; 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'.
2024-08-09 08:45:30 +03:00
Gerd Möllmann
bd6dfb97ff 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.
2024-08-09 07:21:28 +02:00
Po Lu
16462b1a62 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.
2024-08-09 10:11:51 +08:00
Paul W. Rankin
a1b8c2610a * 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)
2024-08-08 13:30:55 +03:00
Eli Zaretskii
a577eccdbb ; * doc/lispref/strings.texi (String Conversion): Fix last change. 2024-08-08 11:41:52 +03:00
Ulrich Müller
d22e52375a 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)
2024-08-08 08:07:31 +02:00
Spencer Baugh
341e5795d5 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)
2024-08-07 19:52:36 +03:00
Juri Linkov
3e30c779a7 * lisp/imenu.el (imenu-flatten): Fix doc about annotation/group limitations. 2024-08-07 19:44:43 +03:00
Randy Taylor
09d2125a7f 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.
2024-08-07 17:35:39 +02:00
Yuan Fu
cd9a215ef0
; 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.
2024-08-06 22:00:01 -07:00
Po Lu
679f7ccc49 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.
2024-08-07 09:17:57 +08:00
Michael Albinus
f0a7eec5a7 * lisp/net/tramp-integration.el (shortdoc): Use `tramp--with-startup'. 2024-08-06 20:25:20 +02:00
Eli Zaretskii
fb642d9cf5 Merge branch 'emacs-30' of git.savannah.gnu.org:/srv/git/emacs into emacs-30 2024-08-06 21:20:52 +03:00
Eli Zaretskii
f1e37ae423 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)
2024-08-06 21:19:49 +03:00