1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 12:20:39 -08:00
Commit graph

174485 commits

Author SHA1 Message Date
Mattias Engdegård
8db72a8d4b Replace some EQ with BASE_EQ
* src/eval.c (FletX, Flet, funcall_lambda)
(let_shadows_buffer_binding_p):
* src/data.c (set_blv_found, set_internal, default_value)
(set_default_internal, Flocal_variable_p):
* src/buffer.c (Fkill_buffer):
(mouse_face_overlay_overlaps, compare_overlays)
(report_overlay_modification):
BASE_EQ is safe because we don't actually compare symbols here.
2024-08-15 16:02:17 +02:00
Po Lu
03a791556a ; * etc/NEWS: Restore reference to Linux kernel. 2024-08-15 20:00:39 +08:00
Ulrich Müller
dcd5b80b09 ; * etc/NEWS: Fix typo. 2024-08-15 11:13:38 +02:00
Spencer Baugh
7b60a25328 Fix 'partial-completion' for candidates containing newlines
'partial-completion' tries to match a pattern containing wildcards
(such as `any' or `prefix') against completion candidates.
Wildcards are supposed to match any sequence of characters, but
'completion-pcm--pattern->regex' transformed the wildcards into
".*", which won't match sequences containing newlines.  Fix this to
properly match anything by using "[^z-a]*" instead.
(That's (rx (* anything)).)
* lisp/minibuffer.el (completion-pcm--pattern->regex): Fix
regex.  (Bug#72425)
2024-08-15 10:41:35 +03:00
Ulrich Müller
62067d2ae7 ; * etc/NEWS: Update wording of last change 2024-08-15 09:28:48 +02:00
Ulrich Müller
49e7f1b92d Drop fallback code in date-to-time, update documentation
* lisp/calendar/time-date.el (date-to-time): Drop fallback code.
Document that the default timezone is local time, rather than GMT.
* test/lisp/calendar/time-date-tests.el (test-date-to-time):
Add more test cases.
* doc/lispref/os.texi (Time Parsing): Document that 'date-to-time'
defaults to local time.
* etc/NEWS: Announce the change.  (Bug#72570)
2024-08-15 08:17:15 +02:00
Paul Eggert
2533a60e42 * lisp/calendar/time-date.el: Add comment. 2024-08-14 20:37:12 -07:00
Michael Albinus
c0ccb18d25 Tag treesit-indirect-buffer as :unstable
* test/src/treesit-tests.el (treesit-indirect-buffer):
Tag it as :unstable on emba.
2024-08-14 09:34:52 +02:00
Michael Albinus
632e6c27a8 * test/infra/gitlab-ci.yml (.tree-sitter-template): Adapt changes. 2024-08-13 11:08:39 +02:00
Po Lu
6533fd65b6 Merge from savannah/emacs-30
b585826a65 ; * lisp/files.el (require-with-check): Fix doc string an...
6d55e94996 macOS: Wrong frame rectangle after wake (bug#71912)
c49724b964 ; Grammar fixes
5c3d340e00 Fix format 2 cmap handling in sfnt.c
2024-08-13 09:12:30 +08:00
Po Lu
cd66b84812 ; Merge from savannah/emacs-30
The following commit was skipped:

8e925d582a Fix coordinate transformations in sfnt.c
2024-08-13 09:12:30 +08:00
Paul Eggert
7a828c938c Document time-parsing functions a bit better
See <https://bugs.gnu.org/72570#14>
2024-08-12 14:52:34 -07:00
Eli Zaretskii
b585826a65 ; * lisp/files.el (require-with-check): Fix doc string and error text. 2024-08-12 21:38:46 +03:00
Po Lu
5d69e29164 Remove extraneous entries for `han' from script-representative-chars
* lisp/international/fontset.el (script-representative-chars):
Remove characters that are either Kana, obsolete, or radicals,
which interferes with the discovery of real Chinese fonts, and
does not impact font resolution on free systems with Fontconfig.
2024-08-12 20:47:49 +08:00
Michael Albinus
02c5ce7c92 Adapt cache settings on emba.
* test/infra/gitlab-ci.yml (.job-template): Remove cache:policy.
(.gnustep-template, .filenotify-gio-template, .eglot-template)
(.tree-sitter-template, .native-comp-template): Remove cache.
2024-08-12 09:51:50 +02: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
643b564bd3 ; * lisp/emacs-lisp/cond-star.el: Fix whitespace. 2024-08-11 16:09:28 +00:00
Eli Zaretskii
ad9743b436 ; * lisp/emacs-lisp/cond-star.el: Fix typos and whitespace. 2024-08-11 18:47:36 +03:00
Eli Zaretskii
c42311e65d Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs 2024-08-11 17:18:24 +03:00
Gautier Ponsinet
d60f3d5dd4 ; Fix a typo in the doc-strings of cond*
* lisp/emacs-lisp/cond-star.el (cond*): Fix a typo in the
doc-string.  (Bug#72576)
2024-08-11 17:17:29 +03:00
Michael Albinus
a9336d6996 Adapt emba cache settings
* test/infra/gitlab-ci.yml (.build-template, .test-template)
(.gnustep-template, .filenotify-gio-template, .eglot-template)
(.tree-sitter-template, .native-comp-template): Add job specific
cache settings.
2024-08-11 16:05:00 +02: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
Richard Stallman
ca56dc2e71 Fix buglet.
* lisp/emacs-lisp/cond-star.el (cond*-match): Move a backquote.
2024-08-10 18:45:06 -04:00
Pip Cet
b6c2f36069 Fix coordinate transformations in sfnt.c
* 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-10 17:01:44 +00:00
Pip Cet
1a38936299 Make ftcrfont_close idempotent
This prevents crashes when running code like:

(let ((font (open-font (find-font (font-spec ...)))))
  (close-font font)
  (close-font font))

* src/ftcrfont.c (ftcrfont_close): Make sure the function can be run
several times in a row without crashing.
2024-08-10 16:57:49 +00:00
Eli Zaretskii
6c68600351 Merge from origin/emacs-30
4dd953d3cc * lisp/epg.el (epg--start): Don't convert EOL on encoding...
2024-08-10 04:15:33 -04:00
Eli Zaretskii
361be93282 ; Merge from origin/emacs-30
The following commit was skipped:

5cace09ed0 Add PROBLEMS entry for bug#72517
2024-08-10 04:15:33 -04:00
Eli Zaretskii
23d8e4326c Merge from origin/emacs-30
a0406f7c12 ; Improve documentation of 'add-to-list'
bd6dfb97ff NS: Fix scroll-bar setting code (bug#72331)
2024-08-10 04:15:32 -04: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
Manuel Giraud
24b7f810d8 Reuse already read `capabilities'
* lisp/mail/smtpmail.el (smtpmail-via-smtp): Reuse already read
`capabilities'.  (Bug#72544)
2024-08-10 10:43:36 +03:00
Eli Zaretskii
944e45db53 ; * src/w32.c (init_ntproc): Fix formatting conventions in last change. 2024-08-09 14:00:34 +03:00
Kien Nguyen
de7de561e1 Use SetHandleInformation to set NOINHERIT in UCRT64
* src/w32.c (init_ntproc) [_UCRT]: Use SetHandleInformation to
prevent standard handles from being inherited, instead of relying
on MSVCRT-only behavior.  For the details of the problem, see
https://lists.gnu.org/archive/html/emacs-devel/2024-07/msg01129.html.

Copyright-paperwork-exempt: yes
2024-08-09 13:54:27 +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
Thomas Fitzsimmons
9f03300c5c 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)
2024-08-08 22:58:48 -04:00
Po Lu
3896f5034f Merge from savannah/emacs-30
16462b1a62 Register for more Intents actions on Android
2024-08-09 10:12:26 +08:00
Po Lu
007ccba141 Merge from savannah/emacs-30
a1b8c2610a * lisp/help-macro.el: Add 'help-for-help-use-variable-pit...
a577eccdbb ; * doc/lispref/strings.texi (String Conversion): Fix las...
d22e52375a Remove manual entry for string-to-int
341e5795d5 Support minibuffer-visible-completions in completing-read...
3e30c779a7 * lisp/imenu.el (imenu-flatten): Fix doc about annotation...
2024-08-09 10:12:08 +08:00
Po Lu
673c5e4abc ; Merge from savannah/emacs-30
The following commit was skipped:

09d2125a7f Fix cmake-ts-mode number fontification (Bug#72228)
2024-08-09 10:12:08 +08: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
Michael Albinus
8b66204707 Fix problem in tramp-container.el
* lisp/net/tramp-container.el (tramp-kubernetes--context-namespace):
Handle nil list elements.
2024-08-08 17:29:40 +02: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
Paul Eggert
9464a1d386 Port zoneinfo-world-style-list to Debian testing
Problem reported by Gijs Hillenius <gijs@hillenius.net> in:
https://lists.gnu.org/r/emacs-devel/2024-08/msg00279.html
* lisp/time.el (zoneinfo-style-world-list): Use Asia/Kolkata
instead of Asia/Calcutta.  The main name was changed in tzdata
2008b every practical system has it now.  Some systems do
not include backward-compatibility names, so it is better
to use the standard time now.
2024-08-07 23:05:52 -07: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