1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00
Commit graph

166136 commits

Author SHA1 Message Date
Ulrich Müller
42766f95e5 * build-aux/make-info-dir: Avoid bashism (bug#70484). 2024-04-23 21:08:02 +02:00
Eli Zaretskii
81476fa19e Improve documentation of selection and navigation in *xref* buffers
* doc/emacs/maintaining.texi (Looking Up Identifiers): More
detailed description of 'xref-auto-jump-to-first-definition'.
Improve indexing.  Describe the use of 'next-error' and
'previous-error' in conjunction with the *xref* buffer.
(Identifier Search): More detailed description of
'xref-auto-jump-to-first-xref'.  Describe the use of 'next-error'
and 'previous-error'.
2024-04-23 10:40:50 +03:00
Stephen Berman
2a53351492 Fix Widget manual typos, markup and omissions (bug#70502)
* doc/misc/widget.texi (Widgets and the Buffer): Correct typos and
texinfo markup, add equivalent key bindings and make minor changes
in wording.
(Customization): Correct names of two faces and add documentation
of remaining widget faces.
2024-04-22 11:32:10 +02:00
Eli Zaretskii
90be3015b4 ; Document bookmark fringe mark in the user manual
* doc/emacs/regs.texi (Bookmarks): Document
'bookmark-fringe-mark'.
2024-04-22 10:37:18 +03:00
Prateek Sharma
afd0b548fc
Fix python-ts-mode built-in functions and attributes (bug#70478)
* lisp/progmodes/python.el (python--treesit-settings): Change the
treesitter query to fetch the correct type of node for built-in
functions and attributes and highlight them with corresponding
font-lock face.
2024-04-21 16:37:15 -07:00
Eli Zaretskii
dc720decc3 Fix markup and indexing in the Calendar chapter of user manual
* doc/emacs/calendar.texi (Calendar Unit Motion)
(Scroll Calendar, Writing Calendar Files, Holidays)
(Sunrise/Sunset, Lunar Phases, Calendar Systems)
(To Other Calendar, Displaying the Diary, Date Formats)
(Adding to Diary, Special Diary Entries): Fix markup, style, and
indexing.
2024-04-21 19:49:14 +03:00
Gautier Ponsinet
f593bf79a9 Fix the user manual for `calendar-time-zone-style'
* doc/emacs/calendar.texi (Sunrise/Sunset): Refer to the
variable `calendar-time-zone-style' explicitly.  (Bug#70498)
2024-04-21 19:01:10 +03:00
Eli Zaretskii
aed2b7a3d8 Avoid assertion violations in 'push_prefix_prop'
* src/xdisp.c (push_prefix_prop): Set the
'string_from_prefix_prop_p' flag for any valid value of the
'line-prefix' or 'wrap-prefix' property/variable.  (Bug#70495)
2024-04-21 16:06:34 +03:00
Basil L. Contovounesios
c929532b46 Remove ert-equal-including-properties from manual
* doc/misc/ert.texi (Useful Techniques): Mention only
equal-including-properties in place of the now obsolete
ert-equal-including-properties.
2024-04-20 16:01:49 +02:00
Eli Zaretskii
e3aae5fd38 ; Document 'filtered-frame-list'
* doc/lispref/frames.texi (Finding All Frames): Document
'filtered-frame-list'.
2024-04-20 14:52:02 +03:00
Eli Zaretskii
ecb80e0e8a ; Improve wording in documentation of 'not and 'null'
* doc/lispref/control.texi (Combining Conditions):
* doc/lispref/lists.texi (List-related Predicates): Clarify
wording of 'not' vs 'null'.  (Bug#70392)
2024-04-15 14:52:03 +03:00
Eli Zaretskii
5971aa1fd3 * lisp/dnd.el (dnd-handle-movement): Avoid errors (bug#70311). 2024-04-14 13:16:29 +03:00
Stefan Kangas
bbc5204a0f * doc/misc/calc.texi: Improve indexing. 2024-04-13 23:46:31 +02:00
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