1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-26 15:10:50 -08:00
Commit graph

174595 commits

Author SHA1 Message Date
Eli Zaretskii
ee61b9a050 ; Fix documentation of completion commands
* src/minibuf.c (Fcompleting_read): Move part of doc string of
'read-from-minibuffer' to doc string of this function.  Suggested
by Eshel Yaron <me@eshelyaron.com>.
2025-01-11 12:40:59 +02:00
Stefan Kangas
ce43d13593 ; Simplify admin/run-codespell
* admin/run-codespell (emacs_run_codespell): Simplify.  Use env in
shebang to use more recent bash on macOS.
2025-01-11 07:14:35 +01:00
Stefan Kangas
fa1470d069 ; Remove duplicated word in files.el Commentary 2025-01-11 05:18:51 +01:00
Stefan Kangas
dabaea9746 Improve checkdoc-common-verbs-wrong-voice docstring
* lisp/emacs-lisp/checkdoc.el (checkdoc-common-verbs-wrong-voice):
Improve docstring.
2025-01-11 05:18:14 +01:00
Stefan Kangas
6de2ee5663 Document string-as-{unibyte,multibyte} as obsolete in manual
* doc/lispref/nonascii.texi (Selecting a Representation): Document
string-as-unibyte and string-as-multibyte as obsolete.
2025-01-11 05:18:14 +01:00
Randy Taylor
7f76f872eb
Fix go-ts-mode var spec indentation (Bug#75362)
v0.21.1 and onwards changed how this was indented.

* lisp/progmodes/go-ts-mode.el (go-ts-mode--indent-rules):
Add rule for var_spec_list.
2025-01-09 19:07:24 -08:00
Kohei Tsuruta
01464fc882 Add "text" as a thing in tsx-ts-mode
* lisp/progmodes/typescript-ts-mode.el (tsx-ts-mode):
Add definition of "text" (bug#75422).

Copyright-paperwork-exempt: yes
2025-01-09 09:50:21 +02:00
Nikolaos Chatzikonstantinou
59c5733792 Improve doc string of 'package-delete'
* lisp/emacs-lisp/package.el (package-delete): Elaborate on the
kind of argument expected by the function.  (Bug#75382)
2025-01-09 09:27:44 +02:00
Stefan Kangas
313a191d04 ; * admin/MAINTAINERS: Remove Kelvin White. 2025-01-09 03:08:29 +01:00
Stefan Kangas
002960ceab Clarify that 'mac' line ending convention is not used on macOS
* doc/emacs/mule.texi (Coding Systems):
* doc/lispref/nonascii.texi (Coding System Basics): Clarify that the
'mac' line ending convention is not used on macOS, and is now rare
outside of legacy software.
2025-01-08 05:07:57 +01:00
Ellis Kenyo
4210e06564 Add language server for Odin
* lisp/progmodes/eglot.el (eglot-server-programs): Add language server
for the Odin programming language.  (Bug#75421)

Copyright-paperwork-exempt: yes
2025-01-07 20:09:12 +01:00
Eli Zaretskii
ee1034422b ; Improve documentation of function-type display
* etc/NEWS: Document 'help-display-function-type'.

* doc/lispref/functions.texi (Declare Form):
* doc/lispref/objects.texi (Type Specifiers):
* doc/emacs/help.texi (Name Help): Better indexing of function
types.  (Bug#65288)
2025-01-07 17:20:22 +02:00
Stefan Kangas
1c49edc408 Modernize "Commentary" section of files.el
* lisp/files.el: Modernize "Commentary" section.  (Bug#75398)
2025-01-07 06:23:24 +01:00
Michael Albinus
505c1123e1 * INSTALL: Add advice how to invoke 'make install'. (Bug#74400) 2025-01-05 09:25:37 +01:00
Hong Xu
82e16cae9c Improve the documentation of 'key-valid-p'
* lisp/keymap.el (key-valid-p): Add an function key and mouse
button example.  Mention '<left>' as a cursor control key
instead of a function key.  Briefly explain what an event may
be.  (Bug#75366)
2025-01-05 08:33:13 +02:00
Ulrich Müller
6468c3f7a7 Update doc string of 'insert'
* src/editfns.c (Finsert): Mention 'decode-coding-string' instead
of the obsolete 'string-as-multibyte' in doc string.  (Bug#75345)
2025-01-04 15:31:24 +02:00
Hong Xu
6d8c3c0cbe Use keymap*-set' over global-set-key'/`define-key' in elisp intro
* doc/lispintro/emacs-lisp-intro.texi (Key Bindings): Since
`global-set-key' and `define-key' are considered legacy, we encourage
`keymap-global-set' and `keymap-set' now.  (Bug#74999)
2025-01-04 14:33:10 +02:00
Eli Zaretskii
4b2bb63b7a Fix documentation and prompt in 'package-isolate'
* lisp/emacs-lisp/package.el (package-isolate): Fix doc string and
the prompt.  (Bug#75163)
2025-01-04 14:18:54 +02:00
Yuan Fu
55f43f5b22
; Fix typo in treesit-explore-mode
* lisp/treesit.el (treesit-explore-mode): We added the hook to
kill-buffer-hook, so make sure to remove it from
kill-buffer-hook, not post-command-hook.
2025-01-03 21:40:42 -08:00
Wilhelm Kirschbaum
921f454f50 Update fontification for attribute values in heex-ts-mode
Attribute values are strings as with html-ts-mode.

* lisp/progmodes/heex-ts-mode.el (heex-ts--font-lock-settings):
Change to attribute value to @font-lock-string-face.  (Bug#75192)
2025-01-03 16:13:37 +01:00
Wilhelm Kirschbaum
ae2589ea7a Add expression handling to heex-ts-mode
On the latest update of the grammar expressions were added and won't be
seen as directives anymore.

* lisp/progmodes/heex-ts-mode.el
(heex-ts--sexp-regexp): Match on expression as well.
(heex-ts--indent-rules): Indent on expression end.  (Bug#75191)
* test/lisp/progmodes/heex-ts-mode-resources/indent.erts: Add expression
indent test.
2025-01-03 09:41:15 +01:00
Eli Zaretskii
0cacf80639 ; * etc/NEWS: Document change of 'make-cursor-line-fully-visible'.
Bug#65214, bug#74430.
2025-01-03 10:27:46 +02:00
Stefan Kangas
f47a29da5c * lisp/man.el (Man-mode): Improve docstring. 2025-01-03 03:36:38 +01:00
Stefan Kangas
cd6e2a0828 Fix copyright years by hand
These are dates that admin/update-copyright did not update.
2025-01-02 18:44:48 +01:00
Stefan Kangas
7fa975adbc Update copyright year to 2025
Run "TZ=UTC0 admin/update-copyright".
2025-01-02 18:39:42 +01:00
Dmitry Gutov
afe776051e [project-vc]: Make project-buffers more consistent with project-files
* lisp/progmodes/project.el (project-buffers):
Catch 'file-missing' error to continue anyway if .git does not
exist (bug#74826).
2025-01-02 18:58:40 +02:00
Stefan Monnier
a720458fdd (elisp-flymake-byte-compile): Improve UX with debug-on-error
* lisp/progmodes/elisp-mode.el (elisp-flymake-byte-compile): Don't jump
into the debugger just because the content is not trusted.
2025-01-02 10:51:38 -05:00
Kohei Tsuruta
7acfea1935 ; * doc/lispref/modes.texi (Customizing Keywords): Fix typo (bug#75193). 2024-12-30 16:01:02 +02:00
Kohei Tsuruta
d47a7d6f0f ; Add missing parameters in keymap doc
* doc/lispref/keymaps.texi (Controlling Active Maps): Add missing
parameters.  (Bug#75174)

Copyright-paperwork-exempt: yes
2024-12-29 15:40:13 +02:00
Eli Zaretskii
07e9f27c3e ; * doc/misc/calc.texi: Fix makeinfo warnings (bug#75166). 2024-12-28 22:38:17 +02:00
Wilhelm Kirschbaum
43a8f0de5e Always match underscore variables for elixir-ts-mode
The code comment is invalid, as it is common to treat any _variable as a
comment.

* lisp/progmodes/elixir-ts-mode.el (elixir-ts-font-lock-settings):
Add ":override t" to comment identifier match.  (Bug#75156)
2024-12-28 17:37:38 +01:00
Eli Zaretskii
2ba6387d1d ; Fix inaccuracy in ELisp Reference manual
* doc/lispref/objects.texi (Basic Char Syntax): Fix inaccurate
wording.  (Bug#75113)
2024-12-28 14:04:26 +02:00
Eli Zaretskii
8ac6a17880 ; * etc/PROBLEMS: Mention problems with XPM support in GDK (bug#75018). 2024-12-28 13:54:45 +02:00
Wilhelm Kirschbaum
624322d5f6 Add missing fontification matches for elixir-ts-mode
* lisp/progmodes/elixir-ts-mode.el (elixir-ts--font-lock-settings): Add
matches for missing tokens and fix atom type face.  (Bug#75156)
2024-12-28 09:42:09 +01:00
Stefan Kangas
5bafb11b40 ; Fix copyright year 2024-12-28 02:24:07 +01:00
Stefan Kangas
186ea40732 Don't start docstrings with "This function" or similar
* lisp/calculator.el (calculator-add-operators):
* lisp/erc/erc-backend.el (erc-server-ping-handler):
* lisp/erc/erc-log.el (erc-generate-log-file-name-with-date):
(erc-generate-log-file-name-short):
* lisp/erc/erc-track.el (erc-track-shorten-function):
* lisp/eshell/em-smart.el (eshell-where-to-jump):
* lisp/eshell/esh-mode.el (eshell-begin-on-new-line):
* lisp/gnus/gnus-art.el (gnus-prompt-before-saving):
* lisp/mail/supercite.el (sc-cite-region-limit):
* lisp/net/nsm.el (network-security-protocol-checks):
* lisp/org/org-element.el
(org-element--cache-avoid-synchronous-headline-re-parsing):
* lisp/progmodes/hideif.el (hif-merge-ifdef-region):
* lisp/progmodes/modula2.el (m2-indent):
* lisp/progmodes/xscheme.el (xscheme-running-p):
(xscheme-control-g-disabled-p):
* lisp/tab-bar.el (tab-bar--event-to-item):
* lisp/which-key.el (which-key--hide-popup): Don't start docstrings with
"This function" or "This variable".
2024-12-26 21:02:45 +01:00
Stefan Kangas
cb8ce2e68b Enable indent-tabs-mode in obj-c-mode
* .dir-locals.el (obj-c-mode): Enable indent-tabs-mode.
2024-12-26 16:10:25 +01:00
john muhl
54f3513709 Fix comment indent in 'lua-ts-mode' and old grammar
* lisp/progmodes/lua-ts-mode.el (lua-ts--simple-indent-rules):
Improve multi-line comment indention for pre-0.0.19 grammars that
used a different structure for comment start/end markers.
(Bug#75107)
2024-12-26 11:01:49 +02:00
Corwin Brust
8b95549e90 * admin/nt/dist-build/build-dep-zips.py: (deps src) handle zst
This patch fixes various problems preventing this script from
working. The job of this script is to collect Emacs' dependanicies and
the (MSYS2/MinGW64) source archives for dependancies (including 2nd
etc. order dependancies) into zip archives.  GPL requires distributing such
archives (along with Emacs' own sources) when distributing GPL binaries.

Most principle of the changes is support for MSYS2 "w64" source archives
in zst format; previously this script assumed all sources were available
as tar.gz files.   Additionaly several DLLs are added to list of
required, including sqllite3 and tree-sitter.

In general this is a maintaince fix to ensure others have access to the
code used to create pretest (and, presumably release) version of Emacs
30.  Additional changes are required to progmatically identify changes
in Emacs' dependancies (e.g. after building a new Emacs binary for
distribution).  There is commented out code to this effect in the
changes I've installed which did work, for a brief period in time; I
suspect some changes in MSYS2 made it more difficult (or impossible?) to
invoke the MSYS2 shell (under which this python script must run) from
the MINGW64 (under which Emacs is built).  I may resort to a powershell
script as a way to orchistrate/invoke both MSYS2 and MING64 but I'm
currently still messing with a Makefile based approach (which would run
under MINGW64), in any event I believe we're all agreed this script
must interigate Emacs to create the "starting list" of dependancies to
include as a way to resolve this issue (missing/incorrect deps are
frequent source of broken binary releases).  (bug#65206)
2024-12-24 23:55:21 -06:00
Eli Zaretskii
8064b2a679 Document undocumented completion commands
* src/minibuf.c (Fread_from_minibuffer):
* lisp/minibuffer.el (minibuffer-complete-history)
(minibuffer-complete-defaults): Doc fixes.

* doc/emacs/mini.texi (Completion Commands): Fix markup, style of
describing commands, and indexing.  Document 'C-x UP' and 'C-x
DOWN'.
2024-12-24 21:25:02 +02:00
Corwin Brust
c29b798537 ; etc/w32-feature.el (harfbuzz): improve test
This enable the tests to be used with batch (Bug#68919), e.g.

emacs.exe -l etc/w32-feature.el --batch -eval \
  '(ert-run-tests-batch-and-exit)'
2024-12-23 21:20:47 -06:00
Corwin Brust
0e43e35f96 * admin/nt/dist-build/emacs.nsi: (Uninstall) delete only one Emacs
Previously, the uninstaller would recursively, unconditionally, remove
the parent folder in which Emacs was installed (the folder selected by
when running the installer), into which the installer places a folder
named for the given release (e.g. emacs-30.1).  This was a problem
during uinstalation when the selected folder contained other versions of
Emacs the user did not wish to remove.  Additionally, deleting Start Menu
short-cuts did not work (bug#68756).

Some installer language now better reflects that users are not
required to "Accept" the GNU Public License in order to use (etc.)
Emacs (bug#67667).

Users selections related to where to create (or not create) Start Menu
shortcuts are no longer ignored. (bug#75013)

Emacs (as installed by the installer) can now be uninstalled via
Windows' Add/Remove Progrms Control Panel.

The uninstaller will now remove (empty) parent folders, both under
Program Files and (when creation of shortcuts is enabled) under the
select Start Menu location.
2024-12-22 23:08:08 -06:00
Eli Zaretskii
b83cd8a8fb ; * etc/tutorials/TUTORIAL.ko: Fix the beginning. 2024-12-22 14:02:25 +02:00
Eli Zaretskii
41caccc488 ; * etc/publicsuffix.txt: Update from upstream. 2024-12-22 13:50:41 +02:00
Eli Zaretskii
e6fb18406e ; Fix refcards
* etc/refcards/sk-survival.tex (section{Značky (tags)}):
* etc/refcards/sk-refcard.tex (section{Tagy}):
* etc/refcards/ru-refcard.tex (section{Теги}):
* etc/refcards/pt-br-refcard.tex (section{Tags}):
* etc/refcards/pl-refcard.tex (section{Tags}):
* etc/refcards/fr-survival.tex (section{Marqueurs}):
* etc/refcards/fr-refcard.tex (section{Tags}):
* etc/refcards/de-refcard.tex (section{Tags}):
* etc/refcards/cs-survival.tex (section{Značky (tags)}):
* etc/refcards/cs-refcard.tex (section{Tagy}):
* etc/refcards/survival.tex (section{Tags}):
* etc/refcards/refcard.tex (section{Tags}): Fix 'M-,' and 'M-*'.
2024-12-22 13:43:07 +02:00
Eli Zaretskii
14e791f9ba ; Update acknowledgments for Emacs 30
* admin/release-process: Suggest a command to compare source
trees.

* doc/emacs/emacs.texi (Acknowledgments):
* doc/emacs/ack.texi (Acknowledgments): Add authors of new stuff
in Emacs 30.
2024-12-22 12:55:46 +02:00
Eli Zaretskii
861b7864fc ; Fix node name in emacs-lisp-intro.texi
* doc/lispintro/emacs-lisp-intro.texi
(Lexical vs Dynamic Binding Example): Renamed from "... vs. ...",
to avoid using period in node names.
2024-12-22 12:11:46 +02:00
Eli Zaretskii
77243ba5be ; Update version tags of defcustoms
* admin/release-process: Expand on 'cusver-check'.

* lisp/editorconfig.el (editorconfig-indentation-alist)
(editorconfig-trim-whitespaces-mode):
* lisp/eshell/em-cmpl.el (eshell-cmpl-remote-file-ignore):
* lisp/eshell/esh-ext.el (eshell-explicit-remote-commands):
* lisp/gnus/nnfeed.el (nnfeed-date-format):
* lisp/net/newst-ticker.el (newsticker-ticker-period):
* lisp/progmodes/cc-vars.el (c-warn-ids-with-dollar):
* lisp/progmodes/cperl-mode.el (cperl-fontify-trailer):
* lisp/progmodes/eglot.el (customize-package-emacs-version-alist)
(eglot-events-buffer-config, eglot-confirm-server-edits)
(eglot-prefer-plaintext):
* lisp/progmodes/flymake.el (customize-package-emacs-version-alist):
* lisp/progmodes/ruby-mode.el (ruby-rubocop-use-bundler):
* lisp/progmodes/verilog-mode.el
(verilog-indent-ignore-multiline-defines)
(verilog-indent-ignore-regexp, verilog-indent-class-inside-pkg)
(verilog-align-decl-expr-comments)
(verilog-align-comment-distance, verilog-align-assign-expr)
(verilog-align-typedef-regexp, verilog-align-typedef-words)
(verilog-fontify-variables):
* lisp/register.el (register-preview-display-buffer-alist):
* lisp/vc/vc-annotate.el (vc-annotate-use-short-revision): Add
missing :version tags and additions to
'customize-package-emacs-version-alist' as appropriate.
2024-12-22 12:06:38 +02:00
Eli Zaretskii
fe2ac33bae ;* doc/misc/efaq.texi (New in Emacs 30): Mention 'trusted-contents'. 2024-12-22 10:43:57 +02:00
Michael Albinus
8fb884f0dc ; * etc/NEWS: Fix wording. 2024-12-22 09:31:06 +01:00