Yuan Fu
e4cd26defc
"Separate" tree-sitter parser list for indirect buffers
...
When create a parser for the indirect buffer, set the buffer field of
the parser to the indirect buffer, but add the parser to the base
buffer's parser list. This way, all the parsers still get buffer
updates, but indirect buffer's parsers can have different narrowing than
the parsers of the base buffer.
When returning the parser list of a buffer, do filtering and only return
the parser for that buffer.
From user's POV, indirect buffers appear to have their own parser list.
* doc/lispref/parsing.texi (Using Parser): Remove the text describing
indirect buffer's special case.
* src/treesit.c (Ftreesit_parser_create): When create a parser for the
indirect buffer, set the buffer field of the parser to the indirect
buffer, but add the parser to the base buffer's parser list.
(Ftreesit_parser_list): Filter parser list, only return parsers for this
buffer.
xx
2024-07-30 17:09:57 -07:00
Eli Zaretskii
c3c27a919c
Merge from origin/emacs-30
...
88e1ec22f2 Update to Org 9.7.9
1ae2f00447 Fix edge-case with 'which-key-dont-use-unicode' setter
68a5f1f7d1 NS: prevent makeKeyWindow warnings (bug#69525)
59a895ec49 ; * .gitignore: Add lisp/eshell/esh-groups.el.
5c08cd4e7c ; * doc/emacs/cmdargs.texi (Initial Options): Fix last ch...
309d0a7186 Add PROBLEMS entry for bug#72303
87389f9ff9 ; Improve documentation of 'line-prefix' and 'wrap-prefix'.
268a2d10fc Improve documentation of '--init-directory' command-line ...
c27055a938 ; cperl-mode.el: Fix fontification of flip-flop (Bug#72296)
fcd4e4c895 ; * admin/MAINTAINERS: Add myself for maintaining some ar...
fdc133e97f Fix bug in server.el introduced by 0d7d835902
af527051cd ; * admin/MAINTAINERS: Remove Nicolas Petton.
7170282a59 lisp/minibuffer.el (completion--sifn-requote): Fix bug#72176
68906f184c * admin/notes/spelling: Update note.
9eea6be5ab Don't produce invalid XML with multi-line commenting style
b97786d9f6 ; * etc/NEWS: Entry for 'gnus-summary-limit-to-age' (bug#...
a799661566 Standardize possessive apostrophe usage in manuals, docs,...
67faaead75 Don't refer to obsolete finder group "wp"
# Conflicts:
# etc/NEWS
2024-07-27 04:27:53 -04:00
Eli Zaretskii
5c08cd4e7c
; * doc/emacs/cmdargs.texi (Initial Options): Fix last change.
2024-07-26 16:11:16 +03:00
Eli Zaretskii
87389f9ff9
; Improve documentation of 'line-prefix' and 'wrap-prefix'.
...
* doc/lispref/text.texi (Special Properties): Spell out more
accurately how 'line-prefix' and 'wrap-prefix' properties should
be set.
2024-07-26 14:56:14 +03:00
Eli Zaretskii
52cae67e1e
; Don't use non-ASCII in ELisp manual sources unless necessary
...
* doc/lispref/strings.texi:
* doc/lispref/parsing.texi:
* doc/lispref/nonascii.texi:
* doc/lispref/keymaps.texi:
* doc/lispref/intro.texi:
* doc/lispref/help.texi:
* doc/lispref/functions.texi:
* doc/lispref/display.texi:
* doc/lispref/control.texi: ASCIIfy.
2024-07-26 14:11:17 +03:00
Eli Zaretskii
4a743729d7
; Don't use non-ASCII in Emacs manual sources unless necessary
...
* doc/emacs/mini.texi:
* doc/emacs/emacs.texi:
* doc/emacs/custom.texi:
* doc/emacs/calendar.texi:
* doc/emacs/cal-xtra.texi:
* doc/emacs/ack.texi: ASCIIfy.
2024-07-26 09:52:54 +03:00
Eli Zaretskii
268a2d10fc
Improve documentation of '--init-directory' command-line option.
...
* doc/emacs/custom.texi (Find Init):
* doc/emacs/cmdargs.texi (Initial Options): More accurate and
detailed description of what '--init-directory' does and how it
affects the Emacs session. Add index entries and cross-references
as needed. (Bug#72294)
2024-07-26 09:14:43 +03:00
Michael Albinus
d2cb9f2bf6
Tramp's method "kubernetes" supports now optional namespace
...
* doc/misc/tramp.texi (Inline methods): Extend Kubernetes host
name syntax by an optional namespace.
(Kubernetes setup): Mention optional namespace part of the host name.
* etc/NEWS: Tramp's method "kubernetes" supports now optional namespace.
Fix typos.
* lisp/net/tramp-container.el (tramp-kubernetes-namespace):
Initialize with nil. Adapt docstring.
(tramp-kubernetes--name-regexp): New defconst.
(tramp-kubernetes--host-name-regexp): Change in order to cover
also an optional namespace. (Bug#59797)
(tramp-kubernetes--namespace): New defun.
(tramp-kubernetes--context-namespace): Use it.
(tramp-skeleton-kubernetes-vector): Add sanity check for
superfluous user name or port number.
2024-07-25 13:38:27 +02:00
Eli Zaretskii
ba31c62f81
; * doc/emacs/misc.texi (Document View): Improve wording (bug#72241).
2024-07-25 10:06:26 +03:00
Tassilo Horn
6eb3827f7b
Describe that DocView text contents display is in a separate buffer
...
* doc/emacs/misc.texi (Document View): Adjust the docs to describe the
new behavior (separate buffer for the text contents) from bug#72241.
2024-07-25 08:21:52 +02:00
Stefan Kangas
a799661566
Standardize possessive apostrophe usage in manuals, docs, and comments
...
See the note in admin/notes/documentation.
Ref: https://lists.gnu.org/r/emacs-devel/2012-02/msg00649.html
2024-07-25 03:35:18 +02:00
Andrea Corallo
df25bd12fc
Merge from savannah/emacs-30
...
976416bebe Fix some function type declaration
23549d7175 * src/image.c (gui_put_x_image): Avoid memory leak.
cb633820c1 ; * doc/misc/use-package.texi (Getting Started): Fix word...
2024-07-24 15:49:23 +02:00
Michael Albinus
c4e8112f98
Remove Emacs 27 compatibility from Tramp
...
* doc/misc/tramp.texi (Frequently Asked Questions):
Adapt supported Emacs versions.
* doc/misc/trampver.texi:
* lisp/net/trampver.el: Change version to "2.8.0-pre".
* lisp/net/tramp-compat.el (tramp-compat-file-modes)
(tramp-compat-set-file-modes, tramp-compat-set-file-times)
(tramp-compat-directory-files)
(tramp-compat-directory-files-and-attributes)
(tramp-compat-directory-empty-p, tramp-compat-null-device)
(tramp-compat-string-replace, tramp-compat-string-search)
(tramp-compat-make-lock-file-name)
(tramp-compat-file-name-concat)
(tramp-compat-replace-regexp-in-region, tramp-compat-length<)
(tramp-compat-length>, tramp-compat-length=)
(tramp-compat-always): Remove.
* lisp/net/tramp-adb.el:
* lisp/net/tramp-androidsu.el:
* lisp/net/tramp-archive.el:
* lisp/net/tramp-cache.el:
* lisp/net/tramp-cmds.el:
* lisp/net/tramp-compat.el:
* lisp/net/tramp-crypt.el:
* lisp/net/tramp-fuse.el:
* lisp/net/tramp-gvfs.el:
* lisp/net/tramp-message.el:
* lisp/net/tramp-sh.el:
* lisp/net/tramp-smb.el:
* lisp/net/tramp-sshfs.el:
* lisp/net/tramp-sudoedit.el:
* lisp/net/tramp.el: Use original objects instead of their
`tramp-compat-' counterparts when possible.
2024-07-24 15:25:55 +02:00
Eli Zaretskii
cb633820c1
; * doc/misc/use-package.texi (Getting Started): Fix wording.
2024-07-24 14:01:01 +03:00
Po Lu
db40b65825
Merge from savannah/emacs-30
...
1ee8579eb7 Fix bug#72255
05629d3af0 Delete redundant "a.k.a." in use-package.texi
c7609464f7 Document (use-package 'emacs) declarations
de9f9add13 Improve 'emacs-news-view-mode' menus and bindings
7588e1f8a9 ; * src/xdisp.c (Fformat_mode_line): Doc fix.
2074e94c3b Fix disappearing bar cursor on Hebrew text (bug#72230)
1aaadc8aec Fix DocView with DVI files
c1382257aa ; Fix typo in use-package.texi
caf7426f0c FIx spurious fontification of variable in Java Mode
9b426e15ab Correctly typeset nil and t in texinfo
f050b9c503 Fix Tramp IPv6 handling in tests
46b192c04b Update to Org 9.7.8-5-gfdf0e0
87f41b937b Fix Ftreesit_parser_create
2024-07-24 11:41:58 +08:00
Po Lu
6d22bd4d3a
Merge from savannah/emacs-30
...
c66bda1a19 Improve treesit-node-child-by-field-name docstring
85773ab977 Minor copyedits in tree-sitter starting guide
2dacec1609 Update tag for prebuilt tree-sitter grammars
68615a3866 Fix punctuation and doc style in treesit.c
00adee897a ; Fix punctuation in docs
ab29b28d4b Fix DocView with PostScript files
2024-07-24 11:41:58 +08:00
Stefan Kangas
05629d3af0
Delete redundant "a.k.a." in use-package.texi
...
* doc/misc/use-package.texi (Getting Started): Delete redundant
acronym "a.k.a.". (Bug#66350)
2024-07-23 23:32:56 +02:00
Stefan Kangas
c7609464f7
Document (use-package 'emacs) declarations
...
* doc/misc/use-package.texi (The @code{emacs} package): New
node. (Bug#66350)
2024-07-23 15:16:27 +02:00
Stefan Kangas
c1382257aa
; Fix typo in use-package.texi
...
* doc/misc/use-package.texi (Getting Started): Fix typo.
Problem reported by GitHub user Paul Jensen (psnj) in:
https://github.com/jwiegley/use-package/pull/1070/
2024-07-22 18:07:29 +02:00
Stefan Kangas
9b426e15ab
Correctly typeset nil and t in texinfo
...
* doc/emacs/package.texi (Fetching Package Sources):
* doc/lispref/display.texi (Image Descriptors):
* doc/lispref/windows.texi (Buffer Display Action Alists):
* doc/misc/gnus-faq.texi (FAQ 5-4): Correctly typeset nil and t.
2024-07-22 10:14:51 +02:00
Stefan Kangas
00adee897a
; Fix punctuation in docs
2024-07-21 17:35:13 +02:00
Eli Zaretskii
b21e749a7c
Merge from origin/emacs-30
...
816c53c2d9 Fix bibtex validation for non-file buffers
ab7c40ea52 Fix Imenu in 'emacs-news-view-mode'
ea30ffc52b ; * doc/misc/gnus.texi (Agent Caveats): Fix doc
07b1a36f78 ; * src/sqlite.c (Fsqlite_load_extension): Add "vec0" to ...
96f1db89ee Avoid errors in 'icomplete-vertical-mode'
55110d1fda Document GNU ELPA copyright in tips.texi
079e5a0315 Improve register-use-preview docstring
e4760109ac Miscellaneous checkdoc fixes
2024-07-20 06:32:17 -04: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
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 Monnier
153732e638
Merge from origin/emacs-30
...
a478423d19 * lisp/progmodes/peg.el (peg-syntax-classes): Typo (bug#7...
951fb93956 * lisp/transient.el (static-if): Remove duplicated defini...
0218fb2143 Adapt file-remote-p doc
34c1094e60 ; Fix typo in etc/ORG-NEWS (Bug#72186)
5916b172bd * etc/TODO: Delete item about merging Magit.
a6cab228d4 ; Fix typos
41dc28244f * doc/man/emacs.1.in: Add "No warranty" notice.
b2ac343586 ; * doc/man/emacs.1.in: Improve wording.
110b3d08d7 Improve emacs man page description of --user flag
4911f08912 Checkdoc fixes in allout-widgets.el
109b592d77 Checkdoc fixes in subr.el
4643672078 Checkdoc fixes in touch-screen.el
9889774c62 Checkdoc fixes in treesit.el
# Conflicts:
# etc/NEWS
2024-07-19 14:31:53 -04: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
Jim Porter
99b360bb5a
Allow specifying stdout/stderr separately in some Eshell commands
...
* lisp/eshell/eshell.el (eshell-command): Add ERROR-TARGET.
* lisp/eshell/em-script.el (eshell-execute-file): Make interactive, and
add ERROR-TARGET.
* doc/misc/eshell.texi (One-Off Commands, Scripts): Update
documentation.
* etc/NEWS: Announce this change.
2024-07-18 15:00:41 -07:00
Jim Porter
965be7bc46
; * doc/misc/eshell.texi (Bugs and ideas): Remove now-implemented idea.
2024-07-18 12:48:31 -07: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
Po Lu
d31b202377
Merge from savannah/emacs-30
...
4c35382e98 ; * src/emacs.c (syms_of_emacs) <Vsystem_type>: Fix doc s...
34882d5243 Port better to Android 3.0
765cfaed77 ; * doc/emacs/anti.texi (Antinews): Fix typos (bug#72167).
7093504da2 ; Fix typos (bug#72167)
8c7c4f4baa New Tramp tests
85d2d7982d Update Tramp manual
504bdd560a ; Fix last change
3ccebbe17b Fix 'toggle-window-dedicated' documentation
719d5753ca ; * doc/lispref/help.texi (Keys in Documentation): Add cr...
e3bba63ecb Checkdoc fixes in transient.el
2024-07-18 13:36:46 +08:00
john muhl
765cfaed77
; * doc/emacs/anti.texi (Antinews): Fix typos (bug#72167).
2024-07-18 08:24:37 +03: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
Po Lu
f54ad127ee
Merge from savannah/emacs-30
...
68b7806c31 Support passing signals like 'SIGCODE' to 'tramp-signal-p...
510ca5e84b Merge branch 'emacs-30' of git.sv.gnu.org:/srv/git/emacs ...
fe28ba5d55 ; Replace quotes with @code{...} in texinfo files
ecc8516d9c ; Replace (non-)nil with (non-)@code{nil} in texinfo files
3407e27499 Don't save to history from 'eshell-command' when aborting
2024-07-16 10:15:26 +08: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
Po Lu
f9dae55ccc
Merge from savannah/emacs-30
...
b00fc31dd1 Do not set LD_LIBRARY_PATH during Android initialization
04bf3172f0 ; Set Transient's version
e6f78485aa ; Fix typos in 'which-key-mode' (bug#72093)
2024-07-14 12:47:51 +08:00
Po Lu
b00fc31dd1
Do not set LD_LIBRARY_PATH during Android initialization
...
* doc/emacs/android.texi (Android Environment): Adjust
documentation to match.
* java/org/gnu/emacs/EmacsNoninteractive.java (main1): New
function. Remove initialization of EmacsNative hither.
(main): Acquire an ApplicationInfo or LoadedApk, as the case may
be on the host system, derive a ClassLoader from the result, and
load and call `main1' from within this class loader.
* src/android-emacs.c (main):
* src/android.c (setEmacsParams): Do not override
LD_LIBRARY_PATH or set EMACS_LD_LIBRARY_PATH. This enables
Emacs to execute subprocesses in certain "fortified" Android
systems, amongst other things.
2024-07-14 12:46:23 +08:00
Jonas Bernoulli
04bf3172f0
; Set Transient's version
2024-07-13 21:59:20 +02:00
Po Lu
38fa3e9350
Merge from savannah/emacs-30
...
a5ef9e2568 Document means of executing Emacs from unrelated Android ...
0de0056fd6 Don't emit a prompt in Eshell when a background command i...
ec1e300a21 Fix reference from buffer-stale-function docstring
2024-07-12 12:15:50 +08:00
Po Lu
a5ef9e2568
Document means of executing Emacs from unrelated Android applications
...
* doc/emacs/android.texi (Android Environment): Document
significance, effect and purpose of EMACS_CLASS_PATH and
EMACS_LD_LIBRARY_PATH, and the utility of `pm path
org.gnu.emacs'.
2024-07-12 11:59:25 +08:00
Po Lu
166685a7d9
Merge from savannah/emacs-30
...
e0b271e279 Take precautions against ill-formed content URIs
9331ab056a etags-regen-mode: Handle TAGS buffer being killed
ef3f26ec02 ; Tag ERC multiline blanks test as :expensive
945335fec1 Improve 'put-image' documentation
c38d5cc3b2 Improve 'set-fontset-font' documentation
7de4dbea08 Adapt Tramp's "run0" method
871585db4c * test/src/sqlite-tests.el (sqlite-execute-batch): Declar...
5cf8d60e0d Capitalize "Dired" and "Lisp" in docstrings
37475c9af7 Document Eshell entry points
# Conflicts:
# etc/NEWS
2024-07-11 11:40:34 +08:00
Robert Pluim
945335fec1
Improve 'put-image' documentation
...
* doc/lispref/display.texi (Showing Images): Mention that it returns the
created overlay.
* lisp/image.el (put-image): And here.
2024-07-10 16:08:29 +02:00
Robert Pluim
c38d5cc3b2
Improve 'set-fontset-font' documentation
...
* doc/emacs/mule.texi (Modifying Fontsets): Add an 'emoji' example.
2024-07-10 16:08:29 +02:00
Michael Albinus
7de4dbea08
Adapt Tramp's "run0" method
...
* doc/misc/tramp.texi (Inline methods):
* etc/NEWS: Adapt "run0" entry.
* lisp/net/tramp-sh.el (tramp-enable-run0-method): Adapt "run0"
arguments.
2024-07-10 11:58:22 +02:00