F. Jason Park
4f099a7217
; Remove failing erc-reuse-buffers test
...
* test/lisp/erc/erc-scenarios-base-reuse-buffers.el
(erc-scenarios-base-reuse-buffers-server-buffers--enabled): Delete
test.
2023-02-14 08:25:00 -08:00
Andrea Corallo
ce4a066ed1
* Generate trampolines in a temporary directory if no other option is viable
...
* lisp/emacs-lisp/comp.el (comp--trampoline-abs-filename): Use
temporary file if no other option is viable.
2023-02-14 12:27:58 +01:00
Eli Zaretskii
4bb27a5ca9
; Minor docs copyedits
...
* etc/NEWS: Add text about adapting to long-line optimizations.
* doc/lispref/positions.texi (Narrowing): Improve documentation of
labeled narrowing.
2023-02-13 20:37:15 +02:00
Eli Zaretskii
13bcff3da5
Merge branch 'emacs-29' of git.savannah.gnu.org:/srv/git/emacs into emacs-29
2023-02-13 20:12:32 +02:00
Eli Zaretskii
3d572ae0d5
Rename with/without-narrowing to with/without-restriction
...
* doc/lispref/commands.texi:
* doc/lispref/display.texi:
* doc/lispref/positions.texi:
* etc/NEWS:
* lisp/subr.el:
* src/buffer.c:
* src/editfns.c:
* src/keyboard.c:
* src/xdisp.c:
* test/src/buffer-tests.el: Rename with-narrowing and
without-narrowing to with-restriction and without-restriction.
Likewise with internal--with-narrowing and
internal--without-narrowing. All callers and documentation
changed.
2023-02-13 20:11:28 +02:00
Juri Linkov
d806b0e33c
* lisp/repeat.el: Rename internal function and variable (bug#60980)
...
(repeat--transient-exitfun): Rename internal variable from
'repeat-exit-function'.
(repeat--clear-prev): Rename internal function from
'repeat--exit'.
2023-02-13 19:46:22 +02:00
Andrea Corallo
1a64f326e0
* Fix previous change
...
* lisp/emacs-lisp/generate-lisp-file.el (generate-lisp-file-trailer):
Fix previous change b6e2799aa1 .
2023-02-13 17:07:25 +01:00
Andrea Corallo
95692f6754
Rename native-comp-deferred-compilation-deny-list
...
* lisp/emacs-lisp/comp.el (native-comp-jit-compilation-deny-list)
(native-compile-async-skip-p): Rename
native-comp-deferred-compilation-deny-list into
native-comp-jit-compilation-deny-list.
(native-comp-deferred-compilation-deny-list): Mark it obsolete.
2023-02-13 17:06:13 +01:00
Andrea Corallo
8d8464bd5a
Rename native-comp-deferred-compilation into native-comp-jit-compilation
...
* src/comp.c (maybe_defer_native_compilation, syms_of_comp):
Rename native-comp-deferred-compilation into
native-comp-jit-compilation.
* lisp/subr.el (native-comp-deferred-compilation): Mark
native-comp-deferred-compilation as obsolete.
* lisp/startup.el (native-comp-deferred-compilation)
(normal-top-level): Rename native-comp-deferred-compilation into
native-comp-jit-compilation.
* lisp/progmodes/elisp-mode.el
(emacs-lisp-native-compile-and-load): Likewise.
* lisp/emacs-lisp/generate-lisp-file.el
(generate-lisp-file-trailer): Likewise.
2023-02-13 17:04:22 +01:00
Andrea Corallo
5d0912f144
Rename comp-enable-subr-trampolines into native-comp-enable-subr-trampolines
...
* src/data.c (Ffset): Rename comp-enable-subr-trampolines into
native-comp-enable-subr-trampolines.
* src/comp.c (syms_of_comp): Likewise.
* lisp/subr.el (comp-enable-subr-trampolines): Make
comp-enable-subr-trampolines obsolete.
* lisp/startup.el (native-comp-enable-subr-trampolines)
(normal-top-level): Rename comp-enable-subr-trampolines into
native-comp-enable-subr-trampolines.
* lisp/loadup.el (dump-mode): Likewise.
* lisp/emacs-lisp/comp.el (comp-subr-trampoline-install)
(comp--trampoline-abs-filename): Likewise.
2023-02-13 17:02:38 +01:00
Michael Albinus
dd8b720ee7
; * etc/NEWS: Fix typos.
2023-02-13 16:44:57 +01:00
Ulrich Müller
909bd04cf5
; * lisp/calendar/lunar.el: Add comments. (bug#61460)
2023-02-13 15:50:47 +01:00
Mattias Engdegård
10f2aedea9
; * lisp/progmodes/c-ts-mode.el (c-ts-base-mode): delete duplicate
2023-02-13 15:07:57 +01:00
Andrea Corallo
abfd00e5c0
* lisp/emacs-lisp/comp.el (native-comp-never-optimize-functions): Improve doc
2023-02-13 12:49:05 +01:00
Andrea Corallo
1795839bab
Support `comp-enable-subr-trampolines' as string value
...
* src/comp.c (syms_of_comp): Update `comp-enable-subr-trampolines'.
* lisp/emacs-lisp/comp.el (native-comp-never-optimize-functions)
(comp--trampoline-abs-filename): Support
`comp-enable-subr-trampolines' string value.
* src/data.c (Ffset): Use Vcomp_enable_subr_trampolines now.
2023-02-13 12:48:09 +01:00
Gregory Heytings
865758130a
; * admin/git-bisect-start: Update failing commits
2023-02-13 11:50:28 +01:00
Gregory Heytings
b948d0d7ef
Merge branch 'scratch/fix-locked-narrowing'
2023-02-13 11:44:37 +01:00
Andrea Corallo
b6e2799aa1
* Some more `inhibit-native-compile' clean-up
...
* lisp/emacs-lisp/generate-lisp-file.el (generate-lisp-file-trailer):
Use `native-comp-deferred-compilation'.
2023-02-13 11:44:28 +01:00
Gregory Heytings
dcb2379a46
Minor improvements to labeled narrowing
...
* lisp/subr.el (internal--with-narrowing):
(internal--without-narrowing): Remove unnecessary 'progn'.
* etc/NEWS: Mention 'with-narrowing' in the entry about long
lines.
* doc/lispref/positions.texi (Narrowing): Fix typo.
* doc/lispref/display.texi (Auto Faces): Use @pxref.
* doc/lispref/commands.texi (Command Overview): Use @pxref.
2023-02-13 11:39:46 +01:00
Andrea Corallo
c0681cd347
Revert "Add new variable 'inhibit-native-compilation'"
...
This reverts commit 5fec9182db .
2023-02-13 10:19:31 +01:00
Andrea Corallo
3969a34fa1
Revert "Rename to inhibit-automatic-native-compilation"
...
This reverts commit f97993ee66 .
2023-02-13 10:15:33 +01:00
Ulrich Müller
cc30422825
Fix spurious display of eclipses in Calendar
...
* lisp/calendar/lunar.el (eclipse-check): Don't show an eclipse
unless the phase is new moon or full moon. (bug#61460)
* test/lisp/calendar/lunar-tests.el (lunar-test-eclipse-check)
(lunar-test-phase-list): Update tests.
2023-02-13 07:15:36 +01:00
Yuan Fu
f2114e8d89
Fix indentation for closing bracket in c-ts-mode (bug#61398)
...
* lisp/progmodes/c-ts-mode.el:
(c-ts-mode--indent-styles): Move the rule earlier.
(c-ts-base-mode): Add move block type.
* test/lisp/progmodes/c-ts-mode-resources/indent.erts: New tests.
2023-02-12 19:49:47 -08:00
Basil L. Contovounesios
f49caaa892
; * src/pdumper.c (dump_buffer): Update hash.
...
This follows commit 8f3091defb of 2023-02-12
"; Fix typo in buffer.h".
2023-02-12 21:07:45 +00:00
Kyle Meyer
fe2ea5ddd8
Update to Org 9.6.1-31-gaf1bb1
2023-02-12 15:43:07 -05:00
Alan Mackenzie
8280d721d7
* src/.gdbinit (nextcons): Amend $.u.cdr to $.u.s.u.cdr (bug#61453).
...
(cherry picked from commit dde023b63a )
2023-02-12 21:30:44 +02:00
Theodor Thornhill
eb2b0931cf
Add lambda_expression to c-ts-common-indent-type-regexp-alist
...
* lisp/progmodes/java-ts-mode.el (java-ts-mode): Tweak regexp.
2023-02-12 18:57:40 +01:00
Philip Kaludercic
2da05876ed
; Use the right name when specifying VC packages
...
* lisp/emacs-lisp/package-vc.el
(package-vc-install-selected-packages): Generate dummy package
descriptors in here, if necessary.
(package-vc--unpack): Remove dummy-descriptor generation.
2023-02-12 14:30:14 +01:00
Philip Kaludercic
d4fc701297
Tolerate missing elpa-packages.eld files
...
* lisp/emacs-lisp/package-vc.el
(package-vc--download-and-read-archives): Replace
'condition-case-unless-debug' with a regular 'condition-case'.
It appears a few people using third-party archives that don't serve
package specifications have been having issues with package-vc, when
toggle-on-error is enabled. In their case, package-vc would raise an
error in its first invocation, but it would go on working normally
afterwards. As this behaviour is confusing and the user can't do much
about a missing elpa-packages.eld to begin with, we satisfy ourselves
with printing out a message and continuing on.
2023-02-12 13:26:52 +01:00
Eli Zaretskii
8bc1b7d0b2
Avoid warning about 'load-path' in non-interactive sessions
...
* lisp/startup.el (command-line): Emit the warning about
'user-emacs-directory' in 'load-path' only in interactive
sessions. (Bug#61014)
2023-02-12 14:20:48 +02:00
Philip Kaludercic
3d17aee13d
; Fix installation of dependencies for VC packages
...
* lisp/emacs-lisp/package-vc.el (package-vc-install-dependencies):
Maintain a list of package-desc objects instead of package names to
install.
2023-02-12 13:11:03 +01:00
Eli Zaretskii
86ca7df6a3
; Mention Hunspell private-dictionary misfeature in doc strings
...
* lisp/textmodes/ispell.el (ispell-personal-dictionary)
(ispell-local-pdict): Mention Hunspell misfeatures in doc
strings. (Bug#61190)
2023-02-12 14:05:44 +02:00
Ulrich Müller
7287b7b53a
Support webkit2gtk-4.1
...
* configure.ac: Check for webkit2gtk API version 4.1 first, then
fall back to 4.0.
2023-02-12 10:20:04 +01:00
Stefan Kangas
048a2dabfc
; Fix typo
2023-02-12 07:47:17 +01:00
Daniel Martín
8f3091defb
; Fix typo in buffer.h
2023-02-12 03:46:04 +01:00
Stefan Kangas
4da398d8b5
; Fix typos
2023-02-12 03:23:41 +01:00
Eli Zaretskii
074008ee2d
; Fix doc strings in lisp/image/ directory
...
* lisp/image/wallpaper.el (wallpaper-setter)
(wallpaper--find-command, wallpaper--x-monitor-name)
(wallpaper--format-arg):
* lisp/image/image-dired-util.el
(image-dired-associated-dired-buffer)
(image-dired--with-dired-buffer):
* lisp/image/image-dired-tags.el (image-dired--with-db-file)
(image-dired-remove-tag, image-dired-list-tags)
(image-dired-tag-files, image-dired-write-comments)
(image-dired-update-property):
* lisp/image/image-dired-external.el (image-dired-cmd-pngnq-options)
(image-dired-cmd-pngcrush-program)
(image-dired-cmd-pngcrush-options)
(image-dired-cmd-optipng-options)
(image-dired-cmd-create-standard-thumbnail-options)
(image-dired-cmd-rotate-original-program)
(image-dired-cmd-rotate-original-options)
(image-dired-cmd-write-exif-data-options, image-dired-queue)
(image-dired-queue-active-limit, image-dired-pngnq-thumb)
(image-dired-pngcrush-thumb, image-dired-optipng-thumb)
(image-dired-thumb-queue-run, image-dired-get-exif-file-name)
(image-dired-thumbnail-set-image-description):
* lisp/image/image-dired.el (image-dired-thumbnail-storage)
(image-dired-tags-db-file)
(image-dired-rotate-original-ask-before-overwrite)
(image-dired-line-up-method, image-dired-track-movement)
(image-dired-display-properties-format)
(image-dired-external-viewer)
(image-dired-show-all-from-dir-max-files)
(image-dired-insert-image)
(image-dired-dired-with-window-configuration)
(image-dired-restore-window-configuration)
(image-dired-track-original-file)
(image-dired-toggle-movement-tracking)
(image-dired-format-properties-string)
(image-dired--on-file-in-dired-buffer)
(image-dired-thumbnail-display-external)
(image-dired-display-image, image-dired-copy-filename-as-kill):
* lisp/image/image-dired-dired.el
(image-dired-dired-toggle-marked-thumbs)
(image-dired-dired-after-readin-hook)
(image-dired-next-line-and-display)
(image-dired-previous-line-and-display)
(image-dired-mark-and-display-next, image-dired-track-thumbnail)
(image-dired-dired-next-line, image-dired-dired-previous-line)
(image-dired-dired-display-external)
(image-dired-copy-with-exif-file-name)
(image-dired-mark-tagged-files)
(image-dired-dired-display-properties):
* lisp/image/image-crop.el (image-crop-exif-rotate)
(image-crop-resize-command, image-crop-cut-command)
(image-crop-crop-command, image-crop-rotate-command)
(image-crop-buffer-text-function, image-cut-color):
* lisp/image/image-converter.el (image-converter)
(image-convert-to-format, image-converter-regexp)
(image-converter--converters, image-convert-p, image-convert)
(image-converter--value, image-converter--probe)
(image-converter--find-converter, image-converter--convert)
(image-converter-add-handler):
* lisp/image/exif.el (exif-parse-buffer, exif-field)
(exif-orientation, exif--direct-ascii-value)
(exif--process-value, exif--read-chunk, exif--read-number-be)
(exif--read-number-le, exif--read-number): Fix doc strings.
2023-02-11 16:49:54 +02:00
Eli Zaretskii
2d1e43436d
; Improve documentation of hash functions.
...
* src/fns.c (Fsecure_hash, Fmd5): Document the length of the
return values.
* lisp/subr.el (sha1): Describe the return value in more detail.
* doc/lispref/text.texi (Checksum/Hash): Document 'sha1'.
Document the length of the strings returned by each hashing
algorithm.
2023-02-11 12:28:43 +02:00
Eli Zaretskii
900f7e0727
; Remove extraneous local variables from image-dired-*.el files
...
These cause annoying prompts when visiting these files, and evidently
belong to a third-party package.
* lisp/image/image-dired-external.el:
* lisp/image/image-dired-tags.el:
* lisp/image/image-dired-dired.el:
* lisp/image/image-dired-util.el: Remove unsafe local-variables.
2023-02-11 11:48:48 +02:00
Gregory Heytings
4297039bd1
Save and restore the absence of narrowing locks
...
* src/editfns.c (narrowing_locks_save): Return the buffer with a
empty locks list when the current buffer has no narrowing locks.
(narrowing_locks_restore): Remove the narrowing locks if the
buffer had no narrowing locks.
2023-02-10 22:07:43 +01:00
Tassilo Horn
4f053afe8e
bug-reference: prevent match-data clobbering (bug#61395)
...
* lisp/progmodes/bug-reference.el (bug-reference-fontify): Wrap call
to syntax-ppss in save-match-data since it can clobber our
match-data (bug#61395).
2023-02-10 19:22:56 +01:00
Basil L. Contovounesios
10af9fbcad
; * admin/notes/tree-sitter/starter-guide: Typos.
...
Reported by Romanos Skiadas <rom.skiad@gmail.com>.
2023-02-10 15:24:45 +00:00
Eli Zaretskii
9ac242ce93
; Fix recent changes in treesit docs
...
* doc/lispref/parsing.texi (Accessing Node Information): Fix
wording and indexing, and add cross-reference.
2023-02-10 14:14:05 +02:00
Yuan Fu
f5789aefc2
Rename LIMIT to DEPTH in tree-sitter functions (bug#61231)
...
I only changed the Lisp functions, internal functions are left
unchanged.
* doc/lispref/parsing.texi (Retrieving Nodes): Update manual.
* src/treesit.c (Ftreesit_search_subtree)
(Ftreesit_induce_sparse_tree): Change LIMIT to DEPTH.
2023-02-09 23:25:57 -08:00
Simon Pugnet
b39821fdce
; Fix incorrect function name in treesit manual
...
An example in the documentation uses the function
'treesit-get-parser-create' which does not exist. Replace this with
'treesit-parser-create'.
* admin/notes/tree-sitter/html-manual/Multiple-Languages.html:
* doc/lispref/parsing.texi (Multiple Languages):
Change example.
Copyright-paperwork-exempt: yes
2023-02-09 21:54:00 -08:00
Yuan Fu
5190173696
Add 'live' property to treesit-node-check (bug#61235)
...
* doc/lispref/parsing.texi (Accessing Node Information): Document.
* src/treesit.c (treesit_parser_live_p): New function.
(Ftreesit_node_check): Add 'live' property.
* test/src/treesit-tests.el (treesit-node-api): Add tests.
2023-02-09 16:51:25 -08:00
Jonas Bernoulli
56960a6558
Update to Transient v0.3.7-205-gb8ad0da
2023-02-09 23:53:33 +01:00
Eli Zaretskii
68a6b364d1
Fix 'rmail-summary-output'
...
* lisp/mail/rmailsum.el (rmail-summary-output): Fix deletion of
messages when 'rmail-output-reset-deleted-flag' is non-nil.
(Bug#61380)
2023-02-09 17:34:19 +02:00
Nicolas Martyanoff
67c6ec2559
lisp-mode: add docstring recognition for more common lisp symbols
...
* lisp/emacs-lisp/lisp-mode.el (define-compiler-macro)
(define-setf-expander, deftype): Add the 'doc-string-elt'
property for proper docstring highlighting in Common Lisp.
2023-02-09 16:09:28 +02:00
Eli Zaretskii
417a8ed8b0
; Improve discoverability of empty file names handling
...
* doc/lispref/files.texi (Relative File Names)
(Testing Accessibility, File Name Expansion): Document and index
the behavior with empty strings as file names.
2023-02-09 16:06:55 +02:00