1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-04 08:47:11 +00:00
Commit Graph

165679 Commits

Author SHA1 Message Date
João Távora
0c029ae8bc ; tweak etc/TODO item
* etc/TODO (Support external rules for indentation): Add reference
to discussion.
2023-09-09 12:01:51 -05:00
Vincent Lefevre
b8a8106fa1 ; Add missing space in the manual
* doc/lispref/compile.texi (Native-Compilation Variables): Add missing
space.  (Bug#65782)

Copyright-paperwork-exempt: yes
2023-09-08 18:49:23 +02:00
Mauro Aranda
5b906b6215 Fix defcustom :type of ielm-indirect-setup-hook
* lisp/ielm.el (ielm-indirect-setup-hook): Fix :type and remove :safe
property, since it was probably a copy-pasta.  (Bug#65821)
2023-09-08 18:44:34 +02:00
Eli Zaretskii
82af484ec1 ; Two updates of etc/TODO
* etc/TODO: Remove the redesign-overlays item (already done in
Emacs 29.1).  Add an item about supporting external indentation
rules.
2023-09-08 16:31:14 +03:00
Eli Zaretskii
0ab2823f51 ; Describe in PROBLEMS 2 problems with keyboard input
* etc/PROBLEMS: Describe problems with WSL and PGTK keyboard
input.  (Bug#65802)  (Bug#65811)
2023-09-08 15:35:05 +03:00
Eli Zaretskii
4e7112ab21 ; Fix inaccuracy in ELisp reference manual
* doc/lispref/text.texi (Motion by Indent): Remove incorrect
information about return values that can be anything.  (Bug#65819)
2023-09-08 14:39:49 +03:00
Stefan Kangas
34bbb6c8d2 Document NonGNU ELPA in FAQ
* doc/misc/efaq.texi (Packages that do not come with Emacs):
Document NonGNU ELPA.  (Bug#65818)
2023-09-08 13:22:04 +02:00
Jim Porter
2af092741e Fix remote path setting in Eshell
This ensures that we supply Tramp with the local PATH so that it can
do its job of starting the local "ssh", or whatever the method uses
(bug#65551).

* lisp/eshell/esh-proc.el (eshell-gather-process-output): Add special
handling for remote processes.

* test/lisp/eshell/esh-proc-tests.el
(esh-var-test/remote/remote-path): New test.
2023-09-07 10:23:48 -07:00
Eli Zaretskii
4613575d97 ; * lisp/completion.el (dynamic-completion-mode): Fix last change. 2023-09-07 18:52:35 +03:00
Stefan Kangas
2f0f33fbf9 Update docs for (co-)maintainer changes
* admin/MAINTAINERS: Add information on current maintainers as a
canonical place to find this information.
* doc/emacs/ack.texi (Acknowledgments): Update for recent
Emacs (co-)maintainer changes.
* admin/make-tarball.txt: Add note as a reminder to update the above
before making a new release.
2023-09-07 17:48:14 +02:00
Sebastian Miele
b068fcd4a3 * doc/lispref/strings.texi (Text Comparison): Fix typo (bug#65799). 2023-09-07 16:16:34 +03:00
Michael Albinus
2e2a5f8118 Adapt Tramp manual
* doc/misc/tramp.texi (Frequently Asked Questions): Do not use
`defadvice'.  Add indices.  (Bug#65481)
2023-09-07 15:03:42 +02:00
Stefan Kangas
d32f00a35b Improve docstring of message-sendmail-envelope-from
* lisp/gnus/message.el (message-sendmail-envelope-from): Doc fix.
2023-09-07 11:58:10 +02:00
Philipp Stephani
1a668cda8b Unbreak builds with CHECK_STRUCTS.
* src/pdumper.c (dump_buffer): Fix hash for 'struct buffer'.  The
recent changes to that structure where commits
8f3091defb and
0bd4661941, both of which just affected
comments.
2023-09-07 11:33:37 +02:00
Jens Schmidt
77b6e9bb17 Improve documentation of EPG
* lisp/epg.el (epg-context-set-passphrase-callback): Update
GnuPG-version-dependent information in docstring and refer to
Info node `(epa)' for details.
(epg-start-edit-key): Replace description of arguments by a
reference to `epg-edit-key'.
(epg-edit-key): More precisely describe callback operation and
arguments and provide an example of how to edit a key.  (Bug#65603)
2023-09-07 12:24:34 +03:00
Eli Zaretskii
d3382f9471 ; * lisp/completion.el (dynamic-completion-mode): Doc fix. 2023-09-07 09:52:23 +03:00
Daniel Martín
1458daf316 Avoid crashes on macOS with context menus
* src/nsmenu.m ([EmacsMenu menuNeedsUpdate:]): Avoid crashes with
context menus.  (Bug#63495)
2023-09-07 08:21:38 +03:00
Yuan Fu
14819131ff Fix c-ts-mode BSD style indentation
* lisp/progmodes/c-ts-mode.el (c-ts-mode--indent-styles):
Add else_clause.

(cherry picked from commit d392a5d3c1)
2023-09-07 08:07:25 +03:00
Eshel Yaron
bc56da92d8 ; Fix error in 'tex-recenter-output-buffer'
* lisp/textmodes/tex-mode.el (tex-recenter-output-buffer): Check
that 'display-buffer' returned a window, rather than nil, before
selecting it.  (Bug#65762)
2023-09-06 19:37:38 +03:00
David Ponce
d17c5adc05 Fix regexp for recognizing PBM images
* lisp/image.el (image-type-header-regexps): Don't use [:space:],
as its meaning depends on the current buffer's syntax tables.
(Bug#65496)
2023-09-06 18:58:48 +03:00
Eli Zaretskii
9e9f61866e Improve wording in ELisp manual
* doc/lispref/objects.texi (Printed Representation): Improve
wording.  Suggested by Xie Shynur <one.last.kiss@outlook.com>.
(Bug# 60639)
2023-09-06 15:49:11 +03:00
Joseph Turner
7427efa033 Fix typo (Bug#65764)
* lisp/subr.el (backward-word-strictly): Fix typo.
2023-09-06 14:26:10 +02:00
Eli Zaretskii
59c6624408 ; * lisp/ido.el (ido-completion-buffer): Fix :type (bug#65756). 2023-09-06 13:49:32 +03:00
Po Lu
4ec4b18c2a Fix libgccjit build on Haiku
* configure.ac (LIBGCCJIT_LIBS): Link only with -lgccjit under
Haiku.
2023-09-06 11:19:38 +08:00
Stefan Monnier
80bdcf8f35 (regexp-tests-backtrack-optimization): Mark it as failing
* test/src/regex-emacs-tests.el (regexp-tests-backtrack-optimization):
The fix for bug#65726 broke some of the optimization added for bug#61514.
2023-09-05 10:54:25 -04:00
Mattias Engdegård
8a9e653cc8 ; Add regression test for bug#65726
* test/src/regex-emacs-tests.el
(regex-tests-mutual-exclusive-inf-rec): New test.
2023-09-05 15:39:29 +02:00
Stefan Monnier
6fad73d7cc * src/regex-emacs.c (mutually_exclusive_p): Fix inf-loop (bug#65726) 2023-09-04 13:11:31 -04:00
Eli Zaretskii
1d3d419607 ; * lisp/files.el (save-some-buffers-functions): Doc fix (bug#65414). 2023-09-04 19:06:19 +03:00
Stefan Kangas
42b14c6e5b Bump seq version to 2.24
* lisp/emacs-lisp/seq.el: Bump version to 2.24.  (Bug#60990)
2023-09-04 17:29:04 +02:00
Stefan Kangas
ff5190a174 Add note on ELPA to admin/notes/bug-triage
* admin/notes/bug-triage: Add section on (Non-)GNU ELPA packages and
do some copy editing.
2023-09-04 17:29:00 +02:00
Eli Zaretskii
f1e4cbe72a ; * etc/PROBLEMS: Minor wording fix. 2023-09-03 09:03:22 +03:00
Po Lu
fd5593c7f2 * etc/PROBLEMS: Mention bug#65432 and its remedy. 2023-09-03 09:25:06 +08:00
Theodor Thornhill
dd896ea1e6
Ignore errors when checking for object initializers (bug#63379)
Since this is merely a check for syntax, we don't really care about
any internal errors inside of backward-up-list.

* lisp/progmodes/csharp-mode.el (csharp-guess-basic-syntax): Wrap
command in ignore-errors.
2023-09-02 19:35:00 +02:00
Stefan Kangas
3550f44c17 ; Fix typos 2023-09-02 18:57:11 +02:00
Stefan Kangas
5b246b9b81 * CONTRIBUTE: Document making ChangeLogs with Magit. 2023-09-02 16:13:08 +02:00
Stefan Kangas
0bd4661941 Doc fixes for obsolete functions and variables
* admin/notes/multi-tty:
* doc/emacs/building.texi (Debugger Operation):
* doc/misc/efaq-w32.texi (Line ends by file system):
* doc/misc/gnus.texi (Hashcash):
* lisp/emacs-lisp/eieio.el (eieio-class-parents)
(eieio-class-children):
* lisp/progmodes/perl-mode.el:
* lisp/textmodes/ispell.el (ispell-lookup-words):
* src/buffer.h: Update or delete references to variables and functions
made obsolete in Emacs 24.4.
2023-09-02 15:37:08 +02:00
Eli Zaretskii
524c0c34f2 ; * lisp/ffap.el (ffap-rfs-regexp): Fix :type (bug#65698). 2023-09-02 15:01:23 +03:00
Eli Zaretskii
f48dccc467 Merge branch 'emacs-29' of git.savannah.gnu.org:/srv/git/emacs into emacs-29 2023-09-02 14:26:15 +03:00
Mauro Aranda
71a85e2266 A revision to the Widget manual
* doc/misc/widget.texi (Widgets Basics, Working with Widgets)
(Widgets and the Buffer, Widget Gallery, Customization): New chapters.
(Basic Types, Sexp Types): Demote to subsections.
(Widget Browser): Rename to Inspecting Widgets.
(Widget Properties): Remove.

(Top): Adapt menu to changes.
(Introduction): Rearrange text.  Move warnings to a better place, and
user options to the Customization chapter.
(User Interface): Don't fully describe commands and customization
options here.
(Setting Up the Buffer): Expand on widget creation process and add
documentation for useful functions which deal with
creation/conversion.
(Defining New Widgets): Expand the documentation on define-widget.
All relevant properties moved to the description of the default
widget, in Widget Gallery.
(Utilities): Add some more useful functions not previously documented.
(Wishlist): Remove out-of-date items.
2023-09-02 14:25:04 +03:00
Stefan Kangas
dbbcf4a659 Fix fontification of " in edit-kbd-macro
* lisp/edmacro.el (edit-kbd-macro): Fix fontification when editing
keyboard macros containing the " character.
2023-09-02 09:51:29 +02:00
Eli Zaretskii
2137fdfd55 * lisp/emacs-lisp/gv.el (buffer-local-value): Unobsolete (bug#65555). 2023-09-02 10:44:50 +03:00
Eli Zaretskii
e660ee88e3 ; Remove incorrect example from ELisp Reference manual
* doc/lispref/commands.texi (Event Examples): Remove incorrect
example of using SIGUSR1 signal as an event.  (Bug#65577)
2023-09-02 10:38:16 +03:00
Jens Schmidt
c32fd92d67 Add documentation to plstore.el
* lisp/plstore.el: Add link to epa manual.  Describe more
restrictions.  Fix a typo in the examples.  Fix terminology.  Mark
FIXMEs as such.
* lisp/plstore.el (plstore-save): Describe edge case when no recipient
matches and mark as FIXME.  (Bug#63627)
2023-09-02 10:34:06 +03:00
Stefan Kangas
57760f585e * lisp/help.el (substitute-quotes): Improve docstring. 2023-09-02 02:21:54 +02:00
Stefan Kangas
60dcea7658 Fix two defcustom :types
* lisp/frame.el (blink-cursor-blinks):
* lisp/url/url-vars.el (url-max-redirections): Revert defcustom :types
back to integer.  (Bug#65655)
2023-09-01 22:18:35 +02:00
Manuel Giraud
890a4c209a Fix `image-auto-resize-on-window-resize' custom :type
* lisp/image-mode.el (image-auto-resize-on-window-resize): Change
custom :type from integer to number to be able to set below 1
second.  (Bug#65626)
2023-09-01 20:17:39 +02:00
Ross Timson
369f2eea10 Add "terraform-ls" LSP server to Eglot
* lisp/progmodes/eglot.el (eglot-server-programs): Add "terraform-ls",
the official Terraform LSP server.  (Bug#65671)

Copyright-paperwork-exempt: yes
2023-09-01 19:58:26 +02:00
Eli Zaretskii
5cbe96d17f ; Improve documentation of 'char-table-range'
* doc/lispref/sequences.texi (Char-Tables):
* src/chartab.c (Fchar_table_range): Clarify what
'char-table-range' returns for an argument that is a cons cell.
2023-09-01 16:33:40 +03:00
Eli Zaretskii
a219ee8c31 Fix minor bugs in vc-git and vc-hg on Windows uncovered by vc-tests
* lisp/vc/vc-hg.el (vc-hg-state-slow): Non-existing files emit a
different message on MS-Windows; support that.
* lisp/vc/vc-git.el (vc-git-checkin): Make sure
'default-directory' is not nil when calling
'make-nearby-temp-file' on MS-Windows.

* test/lisp/vc/vc-tests.el (vc-test--version-diff): Run
'default-directory' through 'file-truename', otherwise the
'vc-test-cvs06-version-diff' test might fail on MS-Windows.
2023-09-01 16:08:36 +03:00
Dmitry Gutov
3f7598806e Add syntax-propertize-function to js-ts-mode
* lisp/progmodes/js.el (js-ts--s-p-query):
New variable (bug#65470).
(js-ts--syntax-propertize): New function.
(js-ts-mode): Use it.
2023-09-01 04:41:37 +03:00