Yuan Fu
87f41b937b
Fix Ftreesit_parser_create
...
* src/treesit.c (Ftreesit_parser_create): Use the buffer given by the
caller rather than the current buffer.
2024-07-21 17:21:58 -07:00
Yuan Fu
ed38fcc017
Fix segfault when deleting tree-sitter query (bug#72238)
...
* src/treesit.c (treesit_delete_query): Only delete query and cursor
when they are non-NULL.
2024-07-21 17:14:08 -07:00
Stefan Kangas
c66bda1a19
Improve treesit-node-child-by-field-name docstring
...
* src/treesit.c (Ftreesit_node_child_by_field_name): Improve docstring.
2024-07-21 22:21:11 +02:00
Stefan Kangas
85773ab977
Minor copyedits in tree-sitter starting guide
...
* admin/notes/tree-sitter/starter-guide: Minor copyedits.
Reflow some paragraphs.
2024-07-21 22:21:11 +02:00
Stefan Kangas
2dacec1609
Update tag for prebuilt tree-sitter grammars
...
* admin/notes/tree-sitter/starter-guide: Update tag for prebuilt
tree-sitter grammars to point to 2.4.
2024-07-21 21:07:19 +02:00
Stefan Kangas
68615a3866
Fix punctuation and doc style in treesit.c
...
* src/treesit.c (Ftreesit_parser_included_ranges)
(Ftreesit_query_capture, treesit_traverse_sibling_helper)
(treesit_traverse_match_predicate): Fix punctiation and documentation
style in comments and docstrings.
2024-07-21 17:47:41 +02:00
Stefan Kangas
00adee897a
; Fix punctuation in docs
2024-07-21 17:35:13 +02:00
Manuel Giraud
ab29b28d4b
Fix DocView with PostScript files
...
* lisp/doc-view.el (doc-view-set-up-single-converter): Produce PNG
from PS in a file with ".png" extension. (Bug#72193)
2024-07-21 10:25:57 +03:00
Liu Hui
816c53c2d9
Fix bibtex validation for non-file buffers
...
* lisp/textmodes/bibtex.el (bibtex-validate): Use buffer name
to show errors in non-file buffers. (Bug#71946)
2024-07-20 12:48:04 +03:00
Eli Zaretskii
ab7c40ea52
Fix Imenu in 'emacs-news-view-mode'
...
* lisp/textmodes/emacs-news-mode.el (emacs-news-view-mode): Make
it derived from emacs-news-mode. Add useful key bindings.
(Bug#72080)
2024-07-20 12:33:23 +03:00
James Thomas
ea30ffc52b
; * doc/misc/gnus.texi (Agent Caveats): Fix doc
...
* doc/misc/gnus.texi (Agent Caveats): Change doc due to commit
2020-10-16 "Add a new variable to control Gnus Agent caching"
(41d220dc60 , bug#43356). (Bug#72134)
2024-07-20 11:58:20 +03:00
Eli Zaretskii
07b1a36f78
; * src/sqlite.c (Fsqlite_load_extension): Add "vec0" to allowed extensions.
2024-07-20 10:27:52 +03:00
Eli Zaretskii
96f1db89ee
Avoid errors in 'icomplete-vertical-mode'
...
* lisp/minibuffer.el (completion--hilit-from-re): Avoid signaling
an error if STRING does not match REGEXP. Fix doc string and
indentation. (Bug#72176)
2024-07-20 08:58:39 +03:00
Stefan Kangas
55110d1fda
Document GNU ELPA copyright in tips.texi
...
* doc/lispref/tips.texi (Library Headers): Document that GNU ELPA
packages should have their copyright assigned to the FSF.
2024-07-20 07:46:37 +02:00
Stefan Kangas
079e5a0315
Improve register-use-preview docstring
...
* lisp/register.el (register-use-preview): Improve docstring.
2024-07-20 02:42:08 +02:00
Stefan Kangas
e4760109ac
Miscellaneous checkdoc fixes
...
* lisp/ansi-color.el (ansi-color--ensure-context):
* lisp/doc-view.el (doc-view-svg-face):
* lisp/external-completion.el (external-completion-table):
* lisp/ffap.el (ffap-ro-mode-hook, ffap-gnus-hook):
* lisp/find-file.el:
* lisp/flow-ctrl.el (flow-control-c-s-replacement)
(flow-control-c-q-replacement):
* lisp/forms.el (forms-multi-line):
* lisp/help.el (search-forward-help-for-help):
* lisp/hi-lock.el (hi-lock-use-overlays):
* lisp/image.el (find-image):
* lisp/isearch.el (isearch-forward, isearch-forward-regexp)
(isearch-lazy-count-format):
* lisp/jsonrpc.el (jsonrpc--continue, initialize-instance):
* lisp/mouse-copy.el (mouse-kill-preserving-secondary):
* lisp/pixel-scroll.el (pixel-bob-at-top-p)
(pixel-scroll-down-and-set-window-vscroll):
* lisp/printing.el (pr-gv-command, pr-gs-command)
(pr-gs-switches):
* lisp/register.el (register-use-preview):
* lisp/repeat.el (repeat-check-key):
* lisp/saveplace.el (save-place-abbreviate-file-names):
* lisp/select.el (gui--clipboard-selection-unchanged-p):
* lisp/ses.el (ses-header-row):
* lisp/simple.el (transpose-sexps-default-function)
(normal-erase-is-backspace, normal-erase-is-backspace-mode):
* lisp/sqlite-mode.el (sqlite-mode):
* lisp/tempo.el (tempo-insert-region):
* lisp/term.el (term-mode-map, term-mode, term-char-mode):
Checkdoc fixes.
2024-07-20 02:42:08 +02:00
Stefan Monnier
a478423d19
* lisp/progmodes/peg.el (peg-syntax-classes): Typo (bug#72131)
2024-07-19 14:18:29 -04:00
Jonas Bernoulli
951fb93956
* lisp/transient.el (static-if): Remove duplicated definition.
...
(Bug#72182)
This should have been removed when the standalone version was merged
into Emacs.
2024-07-19 19:10:30 +02:00
Michael Albinus
0218fb2143
Adapt file-remote-p doc
...
* doc/lispref/files.texi (Magic File Names): Adapt file-remote-p.
* lisp/files.el (file-remote-p): Adapt docstring.
2024-07-19 18:29:49 +02:00
Stefan Kangas
34c1094e60
; Fix typo in etc/ORG-NEWS (Bug#72186)
2024-07-19 11:17:58 +02:00
Stefan Kangas
5916b172bd
* etc/TODO: Delete item about merging Magit.
...
Change requested by Jonas Bernoulli <jonas@bernoul.li>.
2024-07-18 11:47:37 +02:00
Stefan Kangas
a6cab228d4
; Fix typos
2024-07-18 11:46:50 +02:00
Stefan Kangas
41dc28244f
* doc/man/emacs.1.in: Add "No warranty" notice.
2024-07-18 10:42:59 +02:00
Stefan Kangas
b2ac343586
; * doc/man/emacs.1.in: Improve wording.
2024-07-18 10:39:39 +02:00
Stefan Kangas
110b3d08d7
Improve emacs man page description of --user flag
...
* doc/man/emacs.1.in: Improve --user flag description.
(Bug#72169)
2024-07-18 10:29:30 +02:00
Stefan Kangas
4911f08912
Checkdoc fixes in allout-widgets.el
...
* lisp/allout-widgets.el (allout-widgets-setup)
(allout-widgets-tally-string, allout-widgets-mode-inhibit):
(allout-widgets-hook-error-handler): Checkdoc fixes.
2024-07-18 09:50:01 +02:00
Stefan Kangas
109b592d77
Checkdoc fixes in subr.el
...
* lisp/subr.el (ctl-x-4-map, ctl-x-map)
(touch-screen-events-received): Checkdoc fixes.
2024-07-18 09:49:47 +02:00
Stefan Kangas
4643672078
Checkdoc fixes in touch-screen.el
...
* lisp/touch-screen.el (touch-screen-handle-touch): Checkdoc fixes.
2024-07-18 09:49:23 +02:00
Stefan Kangas
9889774c62
Checkdoc fixes in treesit.el
...
* lisp/treesit.el (treesit-add-font-lock-rules)
(treesit--font-lock-mark-ranges-to-fontify): Checkdoc fixes.
2024-07-18 09:43:55 +02:00
Stefan Kangas
c9d28a05d9
Avoid overflow in pgtk_is_numeric_char
...
* src/pgtkfns.c (parse_resource_key): Avoid overflow by making array
larger, if a key is RESOURCE_KEY_MAX_LEN long. Do not merge to master,
since it's fixed in a different way there.
2024-07-18 09:42:07 +02:00
Po Lu
4c35382e98
; * src/emacs.c (syms_of_emacs) <Vsystem_type>: Fix doc string indentation.
2024-07-18 13:35:47 +08:00
Po Lu
34882d5243
Port better to Android 3.0
...
* java/org/gnu/emacs/EmacsNoninteractive.java (main): Use the
old getPackageInfo calling convention if it exists rather than
on Android 2.3.3 and earlier.
2024-07-18 13:34:55 +08:00
john muhl
765cfaed77
; * doc/emacs/anti.texi (Antinews): Fix typos (bug#72167).
2024-07-18 08:24:37 +03:00
john muhl
7093504da2
; Fix typos (bug#72167)
...
* lisp/minibuffer.el (completion-auto-deselect): Correct
spelling of "minibuffer".
* lisp/progmodes/peg.el (peg--actions): Correct spelling
of "post-processing".
* lisp/progmodes/php-ts-mode.el: Correct spelling of
"taken".
2024-07-18 08:23:13 +03:00
Michael Albinus
8c7c4f4baa
New Tramp tests
...
* test/lisp/net/tramp-tests.el
(tramp-test41-special-characters-direct-async)
(tramp-test42-utf8-direct-async): New tests.
2024-07-17 18:05:02 +02:00
Michael Albinus
85d2d7982d
Update Tramp manual
...
* doc/misc/tramp.texi (Remote processes): Add another reason why a
direct asynchronous process could fail.
2024-07-17 17:57:20 +02:00
Eli Zaretskii
504bdd560a
; Fix last change
...
* doc/lispref/windows.texi (Dedicated Windows):
* doc/emacs/windows.texi (Displaying Buffers): Mention keybinding.
2024-07-17 14:10:50 +03:00
Robert Pluim
3ccebbe17b
Fix 'toggle-window-dedicated' documentation
...
* doc/emacs/windows.texi (Displaying Buffers): Fix the cross reference
to the elisp manual. Add missing 'toggle-window-dedicated'.
* doc/lispref/windows.texi (Dedicated Windows): Mention
'toggle-window-dedicated'.
2024-07-17 09:47:28 +02:00
Eli Zaretskii
719d5753ca
; * doc/lispref/help.texi (Keys in Documentation): Add cross-reference.
2024-07-16 17:35:42 +03:00
Stefan Kangas
e3bba63ecb
Checkdoc fixes in transient.el
...
* lisp/transient.el (transient-format-description): Checkdoc fixes.
2024-07-16 03:36:31 +02:00
Peter Oliver
a7b68c2564
Fix intermittent failure of dired-test-bug27243-02
...
* test/lisp/dired-tests.el (dired-test-bug27243-02): Exclude free disk
space from dired listing in this test, in case it changes while it's
running and confuses the result. (Bug#72120)
2024-07-15 23:22:16 +02:00
Stefan Kangas
fc25b4d837
* etc/TODO: Refer to Bug#72127 for Magit assignments.
2024-07-15 22:59:50 +02:00
Michael Albinus
17c62c1242
Rename treesitter test
...
* test/lisp/align-tests.el (align-ts-lua): Rename test in order to
fit to treesitter tests on EMBA.
2024-07-15 19:25:42 +02:00
Michael Albinus
684e96a30d
Adapt tressitter tests on EMBA
...
* test/infra/Makefile.in (TREE-SITTER-FILES): Simplify.
* test/infra/test-jobs.yml: Regenerate.
2024-07-15 19:24:56 +02:00
Jim Porter
68b7806c31
Support passing signals like 'SIGCODE' to 'tramp-signal-process'
...
POSIX specifies that "kill" should take signal names without the "SIG"
prefix.
* lisp/net/tramp.el (tramp-signal-process): Strip the "SIG" prefix when
present.
2024-07-15 09:34:43 -07:00
Michael Albinus
510ca5e84b
Merge branch 'emacs-30' of git.sv.gnu.org:/srv/git/emacs into emacs-30
2024-07-15 18:20:59 +02:00
Steven Allen
fe28ba5d55
; Replace quotes with @code{...} in texinfo files
...
* doc/misc/cc-mode.texi:
* doc/misc/cl.texi: Replace quotes with @code{...}
2024-07-15 18:20:24 +02:00
Steven Allen
ecc8516d9c
; Replace (non-)nil with (non-)@code{nil} in texinfo files
...
* doc/lispref/functions.texi:
* doc/lispref/keymaps.texi:
* doc/lispref/strings.texi:
* doc/misc/cl.texi:
* doc/misc/dbus.texi:
* doc/misc/eshell.texi:
* doc/misc/message.texi:
* doc/misc/ses.texi:
* doc/misc/vtable.texi: Replace (non-)nil with (non-)@code{nil}.
2024-07-15 18:16:41 +02:00
Jim Porter
3407e27499
Don't save to history from 'eshell-command' when aborting
...
* lisp/eshell/eshell.el (eshell-add-input-to-history)
(eshell--save-history): Declare.
(eshell-command-mode-exit): New function...
(eshell-command-mode): ... use it.
* lisp/eshell/em-hist.el (eshell-hist-initialize): Don't handle
minibuffer logic here. Always read history file (this ensures that
'eshell-command' can see the history, too).
(eshell-add-command-to-history): Remove.
2024-07-15 09:10:30 -07:00
Kyle Meyer
5ec73eca57
Update to Org 9.7.7-2-gf308d3
2024-07-14 12:30:50 -04:00