Commit graph

166123 commits

Author SHA1 Message Date
Basil L. Contovounesios
f0300fb059 ; Tweak "(emacs)Bug Reference" formatting/wording. 2024-04-13 10:36:50 +02:00
Eli Zaretskii
ea62a14ea3 Fix display of vscrolled windows
* src/xdisp.c (redisplay_window): Fix condition for resetting the
window's vscroll.  (Bug#70038)
2024-04-11 18:34:53 +03:00
Eli Zaretskii
4cefa3c0b1 ; * doc/emacs/files.texi (Backup): Clarify "saving" (bug#70326). 2024-04-10 22:31:57 +03:00
Eli Zaretskii
db7b571aaa ; Improve documentation of 'world-clock'
* lisp/time.el (zoneinfo-style-world-list)
(legacy-style-world-list): Doc fixes.
2024-04-10 16:52:21 +03:00
Peter Oliver
6a0bb7beae * doc/emacs/misc.texi (emacsclient Options): Suggest forwarding sockets.
(Bug#66667)
2024-04-10 10:42:39 +02:00
Yuan Fu
859b4227e3
Update go-ts-mode to support latest tree-sitter-go grammar
tree-sitter-go changed method_spec to method_elem in
b82ab803d8

* lisp/progmodes/go-ts-mode.el:
(go-ts-mode--method-elem-supported-p): New function.
(go-ts-mode--font-lock-settings): Conditionally use method_elem or
method_spec in the query.
2024-04-09 22:43:52 -07:00
Yuan Fu
407e85ce13
Fix c++-ts-mode defun navigation (bug#65885)
* lisp/progmodes/c-ts-mode.el (c-ts-base-mode): Add BOL and EOL marker
in the regexp.
2024-04-08 22:44:03 -07:00
Eli Zaretskii
aca5064f12 ; Fix last change. 2024-04-07 10:33:14 +03:00
Eli Zaretskii
55aab2d471 ; * etc/PROBLEMS: An entry about focus issues with XFCE (bug#70046). 2024-04-07 10:32:47 +03:00
Michael Albinus
19cee16576 ; * doc/emacs/misc.texi (emacsclient Options): Fix typo. (Bug#70238) 2024-04-07 09:15:42 +02:00
Eli Zaretskii
2a41b6ba51 ; * src/filelock.c (Flock_file): Doc fix (bug#70216). 2024-04-07 09:24:58 +03:00
Eli Zaretskii
3d87d74a23 ; * etc/PROBLEMS: Entry about slow mouse-wheel with GTK3 (bug#70002). 2024-04-06 12:14:26 +03:00
Eli Zaretskii
c6899603b9 ; * doc/lispref/tips.texi (Documentation Tips): Improve (bug#70163). 2024-04-04 16:28:31 +03:00
Eli Zaretskii
bd2c4d825d ; Update admin/make-tarball.txt
* admin/make-tarball.txt: Add text about preparing bundled
packages for an emergency release.  Suggested by Michael Albinus
<michael.albinus@gmx.de>.
2024-04-04 15:23:49 +03:00
Eli Zaretskii
f107dc26e3 ; * etc/PROBLEMS: Add an entry about WebKitGTK (bug#66068). 2024-04-01 15:24:47 +03:00
Michael Albinus
305e35b2d8 Adapt Tramp versio (don't merge)
* doc/misc/trampver.texi:
* lisp/net/trampver.el: Change version to "2.6.3".
(customize-package-emacs-version-alist):
Adapt Tramp version integrated in Emacs 29.3.
2024-03-31 14:13:14 +02:00
Xuan Wang
46b8746b38 Fix warning-suppress for list type "warning type"
Per the documentation of 'warning-suppress-types' and the
implementation of 'warning-suppress-p', a warning type can
be either a symbol or a list of symbols.  The previous
implementation could generate wrong 'warning-suppress-types':

  old behavior:
  type              warning-suppress-types
  pkg           ->    '((pkg))                  Correct
  (pkg subtype) ->    '(((pkg subtype)))        Incorrect

Now we check whether type is a cons cell first.  (Should not
use listp here, as listp returns t for nil.)

  new behavior:
  type              warning-suppress-types
  pkg           ->    '((pkg))                Correct
  (pkg subtype) ->    '((pkg subtype))        Correct

* lisp/emacs-lisp/warnings.el (warnings-suppress): Fix saving
warning types in 'warning-suppress-types'.  (Bug#70063)

Copyright-paperwork-exempt: yes
2024-03-31 12:06:15 +03:00
Theodor Thornhill
910ea5f1e5 Make object init more robust (bug#69571)
* lisp/progmodes/csharp-mode.el (csharp-guess-basic-syntax): Make the
regex same as before, but conditionally check other heuristics rather
than crazy regex shenanigans.
2024-03-31 10:43:44 +02:00
Eli Zaretskii
946d4aad1d Avoid errors in Info-search-case-sensitively in DIR buffers
* lisp/info.el (Info-search): Don't run the "try other subfiles"
code if there are no subfiles.  This happens, for example, in DIR
files.  (Bug#70058)
2024-03-30 10:00:02 +03:00
Theodor Thornhill
fbf6830299 Add test for previous change (bug#70023)
* test/lisp/progmodes/typescript-ts-mode-resources/indent.erts: Add
test.
2024-03-28 19:03:02 +01:00
Noah Peart
bcf6dd6e26 Add typescript-ts-mode indentation for interface bodies (bug#70023)
* lisp/progmodes/typescript-ts-mode.el
(typescript-ts-mode--indent-rules): Add indentation rule for
interface bodies.
2024-03-28 19:02:57 +01:00
Andrea Corallo
95d9e6eb6b * Don't install unnecessary trampolines (bug#69573) (don't merge)
* lisp/emacs-lisp/comp.el (comp-subr-trampoline-install):
Check that subr-name actually matches the target subr.
2024-03-26 08:32:37 +01:00
Eli Zaretskii
38faacf353 Improve documentation of <Delete> in user manual
* doc/emacs/basic.texi (Erasing): Document that <Delete> deletes
entire grapheme clusters.
2024-03-25 21:49:55 +02:00
Eli Zaretskii
9d3d77f12d Fix documentation of 'other-window-for-scrolling'
* src/window.c (Fother_window_for_scrolling): More accurate
documentation of how "the other" window is looked for.  Suggested
by Karthik Chikmagalur <karthikchikmagalur@gmail.com>.
2024-03-25 15:12:42 +02:00
Eli Zaretskii
96fb719942 Bump Emacs version to 29.3.50
* README:
* configure.ac:
* nt/README.W32:
* msdos/sed2v2.inp:
* etc/NEWS: Bump Emacs version to 29.3.50.
2024-03-24 10:38:01 -04:00
Eli Zaretskii
ae8f815613 Update files for Emacs 29.3
* ChangeLog.4:
* etc/AUTHORS:
* etc/HISTORY: Update for Emacs 29.3.
2024-03-24 09:37:03 -04:00
Eli Zaretskii
ff6cc3d2cf * lisp/ldefs-boot.el: Regenerate. 2024-03-24 09:36:24 -04:00
Eli Zaretskii
0dab0c0d68 Bump Emacs version to 29.3
* README:
* configure.ac:
* nt/README.W32:
* msdos/sed2v2.inp: Bump Emacs version to 29.3.
2024-03-24 09:05:17 -04:00
Ihor Radchenko
7a5d7be52c org--confirm-resource-safe: Fix prompt when prompting in non-file Org buffers
* lisp/org/org.el (org--confirm-resource-safe): When called from
non-file buffer, do not put stray "f" in the prompt.
2024-03-24 08:41:26 -04:00
Ihor Radchenko
2bc865ace0 org-file-contents: Consider all remote files unsafe
* lisp/org/org.el (org-file-contents): When loading files, consider all
remote files (like TRAMP-fetched files) unsafe, in addition to URLs.
2024-03-24 08:41:10 -04:00
Ihor Radchenko
6f9ea396f4 org-latex-preview: Add protection when `untrusted-content' is non-nil
* lisp/org/org.el (org--latex-preview-when-risky): New variable
controlling how to handle LaTeX previews in Org files from untrusted
origin.
(org-latex-preview): Consult `org--latex-preview-when-risky' before
generating previews.

This patch adds a layer of protection when LaTeX preview is requested
for an email attachment, where `untrusted-content' is set to non-nil.
2024-03-24 08:40:48 -04:00
Ihor Radchenko
937b9042ad * lisp/gnus/mm-view.el (mm-display-inline-fontify): Mark contents untrusted. 2024-03-24 08:40:25 -04:00
Ihor Radchenko
ccc188fcf9 * lisp/files.el (untrusted-content): New variable.
The new variable is to be used when buffer contents comes from untrusted
source.
2024-03-24 08:39:27 -04:00
Ihor Radchenko
befa9fcaae org-macro--set-templates: Prevent code evaluation
* lisp/org/org-macro.el (org-macro--set-templates): Get rid of any
risk to evaluate code when `org-macro--set-templates' is called as a
part of major mode initialization.  This way, no code evaluation is
ever triggered when user merely opens the file or when
`mm-display-org-inline' invokes Org major mode to fontify mime part
preview in email messages.
2024-03-24 08:38:48 -04:00
Eli Zaretskii
3221d8d461 * admin/authors.el (authors-aliases): Add ignored authors. 2024-03-24 08:36:44 -04:00
Eli Zaretskii
8d8253f899 * etc/NEWS: Update for Emacs 29.3 2024-03-24 08:19:29 -04:00
Eli Zaretskii
e95a862226 ; * lisp/keymap.el (key-parse): Fix processing of "[TAB]". (Bug#69893) 2024-03-21 22:12:40 +02:00
Eli Zaretskii
afb7a23e7b ; Improve documentation of 'backup-by-copying'
* doc/emacs/files.texi (Backup Copying): Recommend
'backup-by-copying' for files on file-hosting services.  (Bug#69930)
2024-03-21 21:35:24 +02:00
Andrea Corallo
51848e4731 * Fix missing `comp-files-queue' update (bug#63415).
* lisp/emacs-lisp/comp.el (native--compile-async): Update
`comp-files-queue' for real.
2024-03-21 12:02:33 +01:00
Basil L. Contovounesios
689f04a2dd Clarify description of format-spec truncation
* doc/lispref/strings.texi (Custom Format Strings): Mention that
precision specifier affects both '<' and '>' truncation (bug#69822).
* lisp/format-spec.el (format-spec, format-spec--do-flags): Use same
terminology as 'format', especially when referring to its behavior.
2024-03-21 10:43:17 +01:00
Eli Zaretskii
759dedfab0 More accurate documentation of 'rmail-mail-new-frame'
* doc/emacs/rmail.texi (Rmail Reply): More accurate documentation
of the effects of 'rmail-mail-new-frame'.  (Bug#69738)
2024-03-21 10:55:59 +02:00
Juri Linkov
fa79de7c6b ; * lisp/calendar/calendar.el: Remove extra space. 2024-03-21 09:49:34 +02:00
Eli Zaretskii
7f6e335f4b Fix documentation of M-SPC in user manual
* doc/emacs/killing.texi (Deletion): Fix documentation of
'cycle-spacing'.  (Bug#69905)
2024-03-20 14:45:24 +02:00
Robert Pluim
5bdc2436c6 ; * lisp/emacs-lisp/cl-macs.el (cl-labels): Fix stray diff marker. 2024-03-20 09:37:09 +01:00
Michael Albinus
8014dbb2ad * admin/notes/bugtracker: Minor copyedit. 2024-03-17 13:25:35 +01:00
Eli Zaretskii
06a991e7e8 ; * admin/notes/bugtracker: Minor copyedit. 2024-03-17 10:47:41 +02:00
Theodor Thornhill
c890622e1a Tweak regexp for object initializers in csharp-mode (bug#69571)
* lisp/progmodes/csharp-mode.el (csharp-guess-basic-syntax): Add
handling to not consider ended statements as object init openers.
* test/lisp/progmodes/csharp-mode-resources/indent.erts: New test
resources.
* test/lisp/progmodes/csharp-mode-tests.el: Add test for this particular
issue.
2024-03-16 20:43:25 +01:00
Konstantin Kharlamov
f48babb112 `term-mode': mention the keymap to add keybindings to
A user typically expects a keymap for mode `foo' to be called
`foo-mode-map'.  term-mode has `term-mode-map' too, but for
user-defined bindings to have effect they have to be put to
`term-raw-map' instead.  So let's mention that.
* lisp/term.el (term-mode) (term-mode-map) (term-raw-map): Mention
the keymaps to add keybindings to for `term-mode'.  (Bug#69786)
2024-03-16 13:25:47 +02:00
Eli Zaretskii
8cf05d9be1 Fix 'shortdoc-copy-function-as-kill'
* lisp/emacs-lisp/shortdoc.el (shortdoc-copy-function-as-kill):
Fix handling of functions with no arguments.  (Bug#69720)
2024-03-16 13:07:52 +02:00
Eli Zaretskii
d5901f3f05 Improve documentation of 'edebug-print-*' variables
* lisp/emacs-lisp/edebug.el (edebug-print-length)
(edebug-print-level): Fix doc strings and customization labels.
Suggested by Matt Trzcinski <matt@excalamus.com>.  (Bug#69745)
2024-03-16 12:42:16 +02:00