Commit graph

166005 commits

Author SHA1 Message Date
Eli Zaretskii
5483a1df99 Improve documentation of profiler commands
* doc/lispref/debugging.texi (Profiling): Document more commands.
Improve indexing.  (Bug#68693)
2024-01-24 21:34:16 +02:00
Basil L. Contovounesios
fb4cf0ab46 ; Fix xref under Output Overrides in Elisp manual. 2024-01-23 11:39:20 +01:00
Basil L. Contovounesios
aa6c24da61 Fix broken links to Freedesktop notifications spec
* doc/lispref/os.texi (Desktop Notifications):
* lisp/notifications.el: Replace broken developer.gnome.org links
with specifications.freedesktop.org (bug#67939).
2024-01-23 10:52:31 +01:00
Michael Albinus
14d68221d2 Fix nasty cut'n'waste error in Tramp
* lisp/net/tramp.el (tramp-parse-passwd): Use `tramp-parse-passwd-group'.
Reported by Tim Landscheidt <tim@tim-landscheidt.de>.
2024-01-22 10:08:45 +01:00
Stefan Kangas
51ca049608 Fix image-dired-tags-db-file void variable error
* lisp/image/image-dired-tags.el (image-dired-sane-db-file):
Require 'image-dired'.  (Bug#68636)
2024-01-21 14:49:04 +01:00
Matthew Smith
c450eec07f
typescript-ts-mode: Skip test if tsx grammar missing
typescript-ts-mode-test-indentation depends on both the tree-sitter
typescript grammar, and the tree-sitter tsx grammar.  If only the
typescript is installed, the tests will run and then fail unexpectedly
after tsx fails to load.

* test/lisp/progmodes/typescript-ts-mode-tests.el
(typescript-ts-mode-test-indentation): Skip test if tsx grammar is
missing.

Copyright-paperwork-exempt: yes
2024-01-20 21:10:51 -08:00
Stefan Kangas
9841ced147 ; Fix typos 2024-01-20 21:15:35 +01:00
Stefan Kangas
557ed9c046 * admin/README: Document the run-codespell script. 2024-01-20 21:15:32 +01:00
Stefan Kangas
5701f96335 * admin/README: Fix entry on coccinelle subdirectory. 2024-01-20 21:05:51 +01:00
Stefan Kangas
1805f4bfd6 Add script admin/run-codespell and supporting files
* admin/codespell/README:
* admin/codespell/codespell.dictionary:
* admin/codespell/codespell.exclude:
* admin/codespell/codespell.ignore:
* admin/codespell/codespell.rc:
* admin/run-codespell: New files.
2024-01-20 20:55:24 +01:00
Michael Albinus
115908469d Sync with Tramp 2.6.3-pre (don't merge with master)
* doc/misc/tramp.texi (Obtaining @value{tramp}): Mention the ELPA
Tramp manual.
(Remote processes): Adapt index.

* doc/misc/trampver.texi:
* lisp/net/trampver.el (tramp-version): Set to "2.6.3-pre".

* lisp/net/tramp.el (tramp-local-host-regexp): Extend.  Adapt :version.
(tramp-signal-process): PROCESS can also be a string.
(tramp-skeleton-directory-files):
* lisp/net/tramp-cache.el (with-tramp-saved-file-property)
(with-tramp-saved-file-properties)
(with-tramp-saved-connection-property)
(with-tramp-saved-connection-properties): Use `setf' but `setq' in macro.

* lisp/net/tramp-compat.el (tramp-compat-funcall): Declare debug.

* lisp/net/tramp-crypt.el (tramp-crypt-file-name-p): Exclude lock files.
(tramp-crypt-file-name-handler-alist): Use `identity' for
`abbreviate-file-name'.
(tramp-crypt-add-directory, tramp-crypt-remove-directory):
Adapt docstrings.
(tramp-crypt-cleanup-connection): New defun.  Add it to
`tramp-cleanup-connection-hook'

* lisp/net/tramp.el (tramp-skeleton-file-name-all-completions):
Handle "." and "..".

* lisp/net/tramp-adb.el (tramp-adb-handle-file-name-all-completions):
* lisp/net/tramp-fuse.el (tramp-fuse-handle-file-name-all-completions):
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-name-all-completions):
Remove special handling of "." an "..".

* lisp/net/tramp-sh.el (tramp-pipe-stty-settings): New defcustom.
(tramp-sh-handle-make-process): Use it.  (Bug#62093)

* test/lisp/net/tramp-tests.el (tramp-test18-file-attributes):
Adapt test.
(tramp-test31-signal-process): Extend.
2024-01-20 10:45:27 +01:00
Eli Zaretskii
3a541b25df Update Polish translation of tutorial
* etc/tutorials/TUTORIAL.pl: Update text about scroll bar.  New
text by Christopher Yeleighton <giecrilj@stegny.2a.pl>.
(Bug#68599)

Copyright-paperwork-exempt: yes
2024-01-20 09:18:27 +02:00
Michael Albinus
6df731431a * doc/misc/gnus.texi (Summary Mail Commands): Fix command name. 2024-01-19 18:21:37 +01:00
Manuel Giraud
409bb8eb24 ; * doc/misc/gnus.texi (Scoring): Typo (bug#68581). 2024-01-19 13:52:42 +02:00
Arash Esbati
25734dd40c ; Delete pre-release remainder in NEWS.27 2024-01-19 00:40:12 +01:00
Eli Zaretskii
4e500d9d5a Bump Emacs version to 29.2.50.
* README:
* configure.ac:
* nt/README.W32:
* msdos/sed2v2.inp:
* etc/NEWS: Bump Emacs version to 29.2.50.
2024-01-18 05:30:52 -05:00
Eli Zaretskii
ef01b634d2 ; Regenerate lisp/ldefs-boot.el and etc/AUTHORS for 29.2. 2024-01-18 05:17:44 -05:00
Eli Zaretskii
b4baf0f821 ; Update ChangeLog.4 with latest changes. 2024-01-18 04:43:06 -05:00
Eli Zaretskii
c633c90993 * Update etc/HISTORY and ChangeLog.4 for 29.2 release. 2024-01-18 04:40:34 -05:00
Eli Zaretskii
1ab88d8aa5 Bump Emacs version to 29.2
* README:
* configure.ac:
* nt/README.W32:
* msdos/sed2v2.inp: Bump Emacs version to 29.2.
2024-01-18 04:29:44 -05:00
Eli Zaretskii
20125ad97b ; admin/authors.el (authors-aliases): Update for Emacs 29.2. 2024-01-18 04:23:49 -05:00
Eli Zaretskii
92a7132bd6 ; * etc/NEWS: Clean up for Emacs 29.2. 2024-01-18 03:47:49 -05:00
Eli Zaretskii
314ac2e431 ; * lisp/mail/rmail.el (rmail-show-message-verbose-min): Doc fix (bug#68369). 2024-01-18 08:29:34 +02:00
Dmitry Gutov
2cb1b76696 diff-mode: Support committing diff with file deletions
* lisp/vc/diff-mode.el (diff-vc-deduce-fileset):
Remove nil elements from the result (bug#68443).
2024-01-18 01:25:24 +02:00
Juri Linkov
b96aa528f6 * lisp/net/eww.el (eww-retrieve): Fix args of eww-render for sync (bug#68336).
Suggested by Phil Sainty <psainty@orcon.net.nz>.
2024-01-16 19:51:18 +02:00
Mike Kupfer
d4b9cb6b5b Fix folder creation error (Bug#67361)
* lisp/mh-e/mh-funcs.el (mh-kill-folder)
* lisp/mh-e/mh-search.el (mh-index-new-folder)
* lisp/mh-e/mh-utils.el (mh-prompt-for-folder):
Check for existence of 'speedbar-buffer' rather than
'mh-speed-folder-map'.  The latter can exist if
'mh-speed' has only been loaded but not displayed.

(cherry picked from commit e6a2901b1b)
2024-01-16 14:22:39 +02:00
Gregory Heytings
53b5b77010 Simplify 'without-restriction'
This simplification is symmetrical to 01fb898420.

* src/editfns.c: (Finternal__labeled_widen): Add a call to
'Fwiden', and rename from 'internal--unlabel-restriction'.
(unwind_labeled_narrow_to_region): Use the renamed function, and
remove the call to 'Fwiden'.
(syms_of_editfns): Rename the symbol.

* lisp/subr.el (internal--without-restriction): Use the renamed
function.

(cherry picked from commit 9e9e11648d)
2024-01-15 13:26:28 +00:00
Gregory Heytings
5bb5590dec Fix blunder in labeled_narrow_to_region
* src/editfns.c (labeled_narrow_to_region): Record point before,
instead of after, calling narrow-to-region; otherwise point may
already have been changed.  Fixes bug#66764.
2024-01-14 21:59:21 +00:00
Daniel Martín
78ddb32fad Fix documentation of icon-elements
* lisp/emacs-lisp/icons.el (icon-elements): The plist key it returns
is `image', not `display'.  (Bug#68451)
2024-01-14 17:03:16 +02:00
Stefan Kangas
725a3f32f8 ; Fix typos in symbol names 2024-01-14 15:16:54 +01:00
Stefan Kangas
6653ee66ca Improve two docstrings in ox-latex
* lisp/org/ox-latex.el (org-latex-src-block-backend)
(org-latex-engraved-theme): Improve docstring; mention that
engrave-faces is a GNU ELPA package.
2024-01-14 14:52:17 +01:00
Stefan Kangas
7d869a0402 Doc fix in auth-source-read-char-choice
* lisp/auth-source.el (auth-source-read-char-choice): Don't
document 'dropdown-list', which was removed in 2011.
2024-01-14 14:47:39 +01:00
Eli Zaretskii
f149de223b Merge branch 'emacs-29' of git.savannah.gnu.org:/srv/git/emacs into emacs-29 2024-01-13 20:40:35 +02:00
Eli Zaretskii
1f97a87879 Fix info-xref-tests
* doc/lispintro/emacs-lisp-intro.texi (How let Binds Variables):
Fix cross-reference.  (Bug#68428)

* test/lisp/info-xref-tests.el (info-xref-test-write-file): Fix
test on MS-Windows when run from MSYS Bash.
2024-01-13 20:38:34 +02:00
Juri Linkov
51f391998b Add @kindex in manuals for existing keybindings on 'C-x x/w' (bug#13167)
* doc/emacs/buffers.texi (Misc Buffer): Add @kindex for 'C-x x r',
'C-x x u', 'C-x x i'.

* doc/emacs/display.texi (Line Truncation): Add @kindex for 'C-x x t'.

* doc/emacs/files.texi (Reverting): Add @kindex for 'C-x x g'.

* doc/emacs/windows.texi (Change Window): Use new keybinding 'C-x w 0'
instead of 'M-x delete-windows-on'.

* doc/misc/info.texi (Create Info buffer): Add @kindex for 'C-x x n'.
2024-01-13 20:11:21 +02:00
Eli Zaretskii
c494a6e879 Improve documentation of 'emacs_function' in modules
* doc/lispref/internals.texi (Module Functions): Warn about
accessing the ARGS array in module functions.
2024-01-13 12:01:47 +02:00
Eli Zaretskii
a08e6423cc ; * doc/emacs/fixit.texi (Spelling): Fix last change. 2024-01-13 11:23:43 +02:00
Eli Zaretskii
418547162d Improve documentation of Ispell commands
* doc/emacs/fixit.texi (Spelling): Document "C-u M-$" and warn
against modifications in recursive-edit.  (Bug#14192)
2024-01-12 10:03:08 +02:00
Stefan Kangas
c4b4948845 Don't recommend inverse-video for debugging
* etc/DEBUG: Don't recommend 'inverse-video', which has been broken
for 20 years, give or take.  (Bug#11430)
2024-01-11 22:43:21 +01:00
Xiyue Deng
26eb9d3a8a Fix typo in lispref "Creating Strings" section
* doc/lispref/strings.texi (String Basics): Fix typo (bug#68375).
2024-01-11 15:18:37 +01:00
Xiyue Deng
99efe5c80f Fix count of no-op functions (bug#68375)
It looks like there are actually three kinds of no-op functions.

* doc/lispref/functions.texi (Calling Functions): Fix count and
plural of no-op functions.

Copyright-paperwork-exempt: yes
2024-01-11 12:39:43 +02:00
Xiyue Deng
0c01f97b73 Wrap @pxref of Abbrevs in parentheses (bug#68375)
* doc/lispref/symbols.texi (Shorthands): Wrap `@pxref{Abbrevs}' in
parentheses.

Copyright-paperwork-exempt: yes
2024-01-11 12:36:31 +02:00
Eli Zaretskii
70a09325d6 ; Fix last change in widget.texi
* doc/misc/widget.texi (url-link, toggle, Defining New Widgets):
Divide @example's into @group's.  (Bug#66229)
2024-01-11 08:22:14 +02:00
Stefan Kangas
63411709a8 ; Fix typos 2024-01-11 00:32:15 +01:00
Stefan Kangas
824cf54951 ; * etc/TODO: Add item to make play-sound non-blocking. 2024-01-11 00:25:38 +01:00
Mauro Aranda
4fadbfe300 Add examples to the Widget manual
* doc/misc/widget.texi (Widget Gallery, Defining New Widgets): Add
examples.  (Bug#66229)
2024-01-10 22:28:01 +01:00
Mauro Aranda
1bbb610821 Implement missing functions for custom-icon widget
* lisp/cus-edit.el (custom-icon-reset-saved, custom-icon-mark-to-save)
(custom-icon-state-set-and-redraw, custom-icon-reset-standard)
(custom-icon-mark-to-reset-standard): New functions.
(custom-icon, custom-icon-extended-menu): Register and add them to the
menu.  (Bug#66947)
2024-01-10 19:25:17 +01:00
Stephen Berman
29af214a75 Fix fontification of cgroup2 in fstab (bug#68367)
* lisp/generic-x.el (etc-fstab-generic-mode): Add cgroup2.
2024-01-10 16:24:53 +01:00
Philip Kaludercic
5567ce1a9f Handle package versions that are not version strings
* lisp/emacs-lisp/package.el (package-menu--version-predicate): Ignore
any errors raised by 'version-to-list', thus falling back to the
default version list.  (Bug#68317)

(cherry picked from commit eb913c7501)
2024-01-10 15:59:56 +02:00
Jim Porter
d58d0fa52f Introduce 'let' using lexical binding in the Lisp Introduction
* doc/lispintro/emacs-lisp-intro.texi (Prevent confusion): Rework the
explanation to discuss how things work under lexical binding.
(How let Binds Variables): Describe the differences between lexical
and dynamic binding (including how to configure it).
(defvar): Mention that 'defvar' declares variables as always
dynamically-bound (bug#66756).
2024-01-09 10:31:06 -08:00