]> git.eshelyaron.com Git - emacs.git/log
emacs.git
15 months agoImprove docstring of message-sendmail-envelope-from
Stefan Kangas [Wed, 6 Sep 2023 20:46:23 +0000 (22:46 +0200)]
Improve docstring of message-sendmail-envelope-from

* lisp/gnus/message.el (message-sendmail-envelope-from): Doc fix.

15 months agoUnbreak builds with CHECK_STRUCTS.
Philipp Stephani [Thu, 7 Sep 2023 09:30:52 +0000 (11:30 +0200)]
Unbreak builds with CHECK_STRUCTS.

* src/pdumper.c (dump_buffer): Fix hash for 'struct buffer'.  The
recent changes to that structure where commits
8f3091defb3ec4396ccea563f67c005044b822ca and
0bd46619413e83fe3c85c8a1dfbf5e20dfce8605, both of which just affected
comments.

15 months agoImprove documentation of EPG
Jens Schmidt [Tue, 29 Aug 2023 20:14:48 +0000 (22:14 +0200)]
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)

15 months ago; * lisp/completion.el (dynamic-completion-mode): Doc fix.
Eli Zaretskii [Thu, 7 Sep 2023 06:52:23 +0000 (09:52 +0300)]
; * lisp/completion.el (dynamic-completion-mode): Doc fix.

15 months agoAvoid crashes on macOS with context menus
Daniel Martín [Thu, 13 Jul 2023 08:47:35 +0000 (10:47 +0200)]
Avoid crashes on macOS with context menus

* src/nsmenu.m ([EmacsMenu menuNeedsUpdate:]): Avoid crashes with
context menus.  (Bug#63495)

15 months agoFix c-ts-mode BSD style indentation
Yuan Fu [Wed, 6 Sep 2023 03:12:19 +0000 (20:12 -0700)]
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 d392a5d3c11b7e7479d31421f8237f29952c909e)

15 months ago; Fix error in 'tex-recenter-output-buffer'
Eshel Yaron [Tue, 5 Sep 2023 16:58:02 +0000 (18:58 +0200)]
; 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)

15 months agoFix regexp for recognizing PBM images
David Ponce [Thu, 24 Aug 2023 10:55:03 +0000 (12:55 +0200)]
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)

15 months agoImprove wording in ELisp manual
Eli Zaretskii [Wed, 6 Sep 2023 12:49:11 +0000 (15:49 +0300)]
Improve wording in ELisp manual

* doc/lispref/objects.texi (Printed Representation): Improve
wording.  Suggested by Xie Shynur <one.last.kiss@outlook.com>.
(Bug# 60639)

15 months agoFix typo (Bug#65764)
Joseph Turner [Tue, 5 Sep 2023 19:05:58 +0000 (12:05 -0700)]
Fix typo (Bug#65764)

* lisp/subr.el (backward-word-strictly): Fix typo.

15 months ago; * lisp/ido.el (ido-completion-buffer): Fix :type (bug#65756).
Eli Zaretskii [Wed, 6 Sep 2023 10:49:32 +0000 (13:49 +0300)]
; * lisp/ido.el (ido-completion-buffer): Fix :type (bug#65756).

15 months agoFix libgccjit build on Haiku
Po Lu [Wed, 6 Sep 2023 03:19:32 +0000 (11:19 +0800)]
Fix libgccjit build on Haiku

* configure.ac (LIBGCCJIT_LIBS): Link only with -lgccjit under
Haiku.

15 months ago(regexp-tests-backtrack-optimization): Mark it as failing
Stefan Monnier [Tue, 5 Sep 2023 14:54:25 +0000 (10:54 -0400)]
(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.

15 months ago; Add regression test for bug#65726
Mattias Engdegård [Tue, 5 Sep 2023 13:39:29 +0000 (15:39 +0200)]
; Add regression test for bug#65726

* test/src/regex-emacs-tests.el
(regex-tests-mutual-exclusive-inf-rec): New test.

15 months ago* src/regex-emacs.c (mutually_exclusive_p): Fix inf-loop (bug#65726)
Stefan Monnier [Mon, 4 Sep 2023 17:11:31 +0000 (13:11 -0400)]
* src/regex-emacs.c (mutually_exclusive_p): Fix inf-loop (bug#65726)

15 months ago; * lisp/files.el (save-some-buffers-functions): Doc fix (bug#65414).
Eli Zaretskii [Mon, 4 Sep 2023 16:06:19 +0000 (19:06 +0300)]
; * lisp/files.el (save-some-buffers-functions): Doc fix (bug#65414).

15 months agoBump seq version to 2.24
Stefan Kangas [Mon, 4 Sep 2023 15:29:04 +0000 (17:29 +0200)]
Bump seq version to 2.24

* lisp/emacs-lisp/seq.el: Bump version to 2.24.  (Bug#60990)

15 months agoAdd note on ELPA to admin/notes/bug-triage
Stefan Kangas [Mon, 4 Sep 2023 15:28:53 +0000 (17:28 +0200)]
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.

15 months ago; * etc/PROBLEMS: Minor wording fix.
Eli Zaretskii [Sun, 3 Sep 2023 06:03:22 +0000 (09:03 +0300)]
; * etc/PROBLEMS: Minor wording fix.

15 months ago* etc/PROBLEMS: Mention bug#65432 and its remedy.
Po Lu [Sun, 3 Sep 2023 01:25:06 +0000 (09:25 +0800)]
* etc/PROBLEMS: Mention bug#65432 and its remedy.

15 months agoIgnore errors when checking for object initializers (bug#63379)
Theodor Thornhill [Sat, 2 Sep 2023 17:34:46 +0000 (19:34 +0200)]
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.

15 months ago; Fix typos
Stefan Kangas [Sat, 2 Sep 2023 16:57:11 +0000 (18:57 +0200)]
; Fix typos

15 months ago* CONTRIBUTE: Document making ChangeLogs with Magit.
Stefan Kangas [Sat, 2 Sep 2023 13:53:47 +0000 (15:53 +0200)]
* CONTRIBUTE: Document making ChangeLogs with Magit.

15 months agoDoc fixes for obsolete functions and variables
Stefan Kangas [Sat, 2 Sep 2023 13:37:08 +0000 (15:37 +0200)]
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.

15 months ago; * lisp/ffap.el (ffap-rfs-regexp): Fix :type (bug#65698).
Eli Zaretskii [Sat, 2 Sep 2023 12:01:23 +0000 (15:01 +0300)]
; * lisp/ffap.el (ffap-rfs-regexp): Fix :type (bug#65698).

15 months agoMerge branch 'emacs-29' of git.savannah.gnu.org:/srv/git/emacs into emacs-29
Eli Zaretskii [Sat, 2 Sep 2023 11:26:15 +0000 (14:26 +0300)]
Merge branch 'emacs-29' of git.savannah.gnu.org:/srv/git/emacs into emacs-29

15 months agoA revision to the Widget manual
Mauro Aranda [Sat, 2 Sep 2023 10:55:12 +0000 (07:55 -0300)]
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.

15 months agoFix fontification of " in edit-kbd-macro
Stefan Kangas [Sat, 2 Sep 2023 07:48:18 +0000 (09:48 +0200)]
Fix fontification of " in edit-kbd-macro

* lisp/edmacro.el (edit-kbd-macro): Fix fontification when editing
keyboard macros containing the " character.

15 months ago* lisp/emacs-lisp/gv.el (buffer-local-value): Unobsolete (bug#65555).
Eli Zaretskii [Sat, 2 Sep 2023 07:44:50 +0000 (10:44 +0300)]
* lisp/emacs-lisp/gv.el (buffer-local-value): Unobsolete (bug#65555).

15 months ago; Remove incorrect example from ELisp Reference manual
Eli Zaretskii [Sat, 2 Sep 2023 07:38:16 +0000 (10:38 +0300)]
; 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)

15 months agoAdd documentation to plstore.el
Jens Schmidt [Wed, 16 Aug 2023 21:31:30 +0000 (23:31 +0200)]
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)

15 months ago* lisp/help.el (substitute-quotes): Improve docstring.
Stefan Kangas [Sat, 2 Sep 2023 00:21:54 +0000 (02:21 +0200)]
* lisp/help.el (substitute-quotes): Improve docstring.

15 months agoFix two defcustom :types
Stefan Kangas [Fri, 1 Sep 2023 20:17:48 +0000 (22:17 +0200)]
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)

15 months agoFix `image-auto-resize-on-window-resize' custom :type
Manuel Giraud [Wed, 30 Aug 2023 15:38:57 +0000 (17:38 +0200)]
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)

15 months agoAdd "terraform-ls" LSP server to Eglot
Ross Timson [Thu, 31 Aug 2023 19:28:22 +0000 (20:28 +0100)]
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

15 months ago; Improve documentation of 'char-table-range'
Eli Zaretskii [Fri, 1 Sep 2023 13:33:40 +0000 (16:33 +0300)]
; 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.

15 months agoFix minor bugs in vc-git and vc-hg on Windows uncovered by vc-tests
Eli Zaretskii [Fri, 1 Sep 2023 13:08:36 +0000 (16:08 +0300)]
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.

15 months agoAdd syntax-propertize-function to js-ts-mode
Dmitry Gutov [Fri, 1 Sep 2023 01:41:15 +0000 (04:41 +0300)]
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.

15 months ago; * src/treesit.c: Add ts function boilerplate
Yuan Fu [Thu, 31 Aug 2023 23:00:54 +0000 (16:00 -0700)]
; * src/treesit.c: Add ts function boilerplate

15 months agoImprove performance of treesit_cursor_helper_1
Yuan Fu [Thu, 31 Aug 2023 03:53:03 +0000 (20:53 -0700)]
Improve performance of treesit_cursor_helper_1

* src/treesit.c: (treesit_cursor_helper_1): Use
ts_tree_cursor_goto_first_child_for_byte to speed up traversing among
siblings.  The "while (ts_node_end_byte (cursor_node) < end_pos)" can
be removed with the check added in the loop below.

15 months ago* lisp/subr.el (combine-change-calls-1): Fix bug#64989
Stefan Monnier [Mon, 28 Aug 2023 16:12:42 +0000 (12:12 -0400)]
* lisp/subr.el (combine-change-calls-1): Fix bug#64989

Silence the spurious warning, and improve the warning while at it.
Do not merge to master.

15 months agoUpdate to Org 9.6.8-3-g21171d
Kyle Meyer [Mon, 28 Aug 2023 02:38:34 +0000 (22:38 -0400)]
Update to Org 9.6.8-3-g21171d

16 months agoEscape percent character in treesit--inspect-name (bug#65540)
Yuan Fu [Sun, 27 Aug 2023 21:49:56 +0000 (14:49 -0700)]
Escape percent character in treesit--inspect-name (bug#65540)

* lisp/treesit.el (treesit-inspect-node-at-point): Escape percent.

16 months agoDon't add an extraneous slash in remote PATH list in Eshell
Jim Porter [Sun, 27 Aug 2023 19:49:25 +0000 (12:49 -0700)]
Don't add an extraneous slash in remote PATH list in Eshell

Previously, in a remote directory, '(eshell-get-path)' would return a
list of strings like "/ssh:localhost://usr/bin".  While that shouldn't
break most things, it's not strictly correct either.  See bug#65551.

* lisp/eshell/esh-util.el (eshell-get-path): Use 'concat' instead of
'file-name-concat'.

* test/lisp/eshell/esh-util-tests.el: Require 'tramp' and
'eshell-tests-helpers'.
(esh-util-test/path/get, eshell-util-test/path/get-remote): New tests.

16 months agoFix Tramp on MS Windows
Michael Albinus [Sun, 27 Aug 2023 18:06:13 +0000 (20:06 +0200)]
Fix Tramp on MS Windows

* lisp/net/tramp-sh.el (tramp-sh-handle-expand-file-name):
Apply `tramp-drop-volume-letter' consequently.

16 months ago* Fix native disassemble on Windows platforms (bug#65455)
Andrea Corallo [Sun, 27 Aug 2023 16:59:40 +0000 (18:59 +0200)]
* Fix native disassemble on Windows platforms (bug#65455)

* lisp/emacs-lisp/disass.el (disassemble-internal): Improve regexp.

16 months ago* Handle missing eln file when trying to disassble (bug#65455)
Andrea Corallo [Sun, 27 Aug 2023 14:51:16 +0000 (16:51 +0200)]
* Handle missing eln file when trying to disassble (bug#65455)

* lisp/emacs-lisp/disass.el (disassemble-internal): Handle missing
eln file.

16 months ago* lisp/emacs-lisp/comp.el (comp--native-compile): Fix OUTPUT for non abs paths
Andrea Corallo [Sun, 27 Aug 2023 14:07:30 +0000 (16:07 +0200)]
* lisp/emacs-lisp/comp.el (comp--native-compile): Fix OUTPUT for non abs paths

16 months agoUpdate to Transient v0.4.3
Jonas Bernoulli [Fri, 25 Aug 2023 20:22:47 +0000 (22:22 +0200)]
Update to Transient v0.4.3

16 months agoAdapt Eshell manual
Michael Albinus [Sun, 27 Aug 2023 11:20:37 +0000 (13:20 +0200)]
Adapt Eshell manual

* doc/misc/eshell.texi (Arguments): Mention more special
characters to be quoted in remote file names.  (Bug#65431)

16 months agoFix applying patches with Git on MS-Windows
Eli Zaretskii [Sun, 27 Aug 2023 05:24:39 +0000 (08:24 +0300)]
Fix applying patches with Git on MS-Windows

* lisp/vc/vc.el (vc-diff-internal): For Git, always suppress EOL
conversion when reading the diffs into a buffer.  Doc fix.
* lisp/vc/vc-git.el (vc-git-checkin): Make sure to suppress EOL
conversion when the patch file is written.  (Bug#65049)

16 months ago; Effect a safer version of that fix for Emacs 29
Po Lu [Sun, 27 Aug 2023 02:22:46 +0000 (10:22 +0800)]
; Effect a safer version of that fix for Emacs 29

* src/haikuterm.c (haiku_draw_stretch_glyph_string): Use
computed X value, as on X.

Do not merge to master.

16 months agoRepair bug#65068 on Emacs 29
Po Lu [Sat, 26 Aug 2023 10:12:24 +0000 (18:12 +0800)]
Repair bug#65068 on Emacs 29

* src/xterm.c (x_term_init): Disable ControlFallback library
control wherever present.  (bug#65068)

Do not merge to master.

16 months ago; * doc/emacs/sending.texi (Mail Aliases): Add some useful commands.
Eli Zaretskii [Sat, 26 Aug 2023 06:38:22 +0000 (09:38 +0300)]
; * doc/emacs/sending.texi (Mail Aliases): Add some useful commands.

16 months ago; Fix doc string of 'current-idle-time'
Eli Zaretskii [Fri, 25 Aug 2023 05:53:21 +0000 (08:53 +0300)]
; Fix doc string of 'current-idle-time'

* src/keyboard.c (Fcurrent_idle_time): Doc fix (bug#65512).

16 months agoFix custom :type of dired-mouse-drag-files
Stefan Kangas [Thu, 24 Aug 2023 20:42:19 +0000 (22:42 +0200)]
Fix custom :type of dired-mouse-drag-files

* lisp/dired.el (dired-mouse-drag-files): Fix :type to allow
specifying 'move'.  (Bug#65497)

16 months ago; Improve SMTPmail documentation about OAuth2
Eshel Yaron [Thu, 24 Aug 2023 17:17:51 +0000 (19:17 +0200)]
; Improve SMTPmail documentation about OAuth2

* doc/misc/smtpmail.texi (Authentication): Fix authentication
mechanism count and add index entries for OAuth 2.0.  (Bug#65507)

16 months agoAccount for string names in active file
James Thomas [Thu, 24 Aug 2023 07:05:51 +0000 (12:35 +0530)]
Account for string names in active file

Account also for strings when reading in group names from an active
file (bug#62812).
* lisp/gnus/nnmail.el (nnmail-parse-active): Make it similar to
gnus-active-to-gnus-format

16 months agoFix 'makefile-browser-client' variable initialization
Christoph Göttschkes [Wed, 23 Aug 2023 17:34:14 +0000 (19:34 +0200)]
Fix 'makefile-browser-client' variable initialization

* lisp/progmodes/make-mode.el (makefile-browser-client):
Initialize to nil.  (Bug#65487)

Copyright-paperwork-exempt: yes

16 months ago; Fix 'desktop-restore-reuses-frames' customize values
Eli Zaretskii [Mon, 21 Aug 2023 18:18:08 +0000 (21:18 +0300)]
; Fix 'desktop-restore-reuses-frames' customize values

* lisp/desktop.el (desktop-restore-reuses-frames): Fix defcustom's
value.  (Bug#65435)

16 months ago; Silence byte-compiler
Stefan Kangas [Wed, 16 Aug 2023 19:34:11 +0000 (21:34 +0200)]
; Silence byte-compiler

* test/src/comp-tests.el (native-comp-eln-load-path): Declare.

(cherry picked from commit 508d24c8b9aee2c2a4c78ccfef3b5f551a1b2115)

16 months ago; Another improvement for documentation of pixelwise scrolling
Eli Zaretskii [Sun, 20 Aug 2023 08:09:40 +0000 (11:09 +0300)]
; Another improvement for documentation of pixelwise scrolling

* doc/lispref/commands.texi (Misc Events): More details about
pixelwise mouse-wheel scrolling events.  (Bug#65070)

16 months agoSupport defun navigation for DEFUN in c-ts-mode (bug#64442)
Yuan Fu [Thu, 10 Aug 2023 21:27:29 +0000 (14:27 -0700)]
Support defun navigation for DEFUN in c-ts-mode (bug#64442)

Before this change, beginning/end-of-defun just ignores DEFUN in
c-ts-mode. After this change, beginning/end-of-defun can recognize
DEFUN, but a DEFUN definition is considered two defuns. Eg,
beginning/end-of-defun will stop at (1) (2) and (3) in the following
snippet:

(1)DEFUN ("treesit-node-parser",
       Ftreesit_node_parser, Streesit_node_parser,
       1, 1, 0,
       doc: /* Return the parser to which NODE belongs.  */)
  (Lisp_Object node)
(2){
  CHECK_TS_NODE (node);
  return XTS_NODE (node)->parser;
}
(3)

Ideally we want point to only stop at (1) and (3), but that'll be a
lot harder to do.

* lisp/progmodes/c-ts-mode.el:
(c-ts-mode--defun-valid-p): Refactor to take in account of DEFUN body.
(c-ts-mode--emacs-defun-body-p): New function.
(c-ts-base-mode): Add DEFUN and DEFUN body to recognized types.
(c-ts-mode--emacs-defun-at-point): Now that we recognize both parts of
a DEFUN as defun, c-ts-mode--emacs-defun-at-point needs to be updated
to adapt to it.

16 months agoFix touchpad scrolling on MS-Windows
Eli Zaretskii [Sat, 19 Aug 2023 14:01:18 +0000 (17:01 +0300)]
Fix touchpad scrolling on MS-Windows

* src/w32term.c (w32_construct_mouse_wheel): The number of lines
to scroll should always be positive in wheel-scroll events.
Whether to scroll up or down is encoded in the modifiers, which
produce either wheel-up or wheel-down event.  (Bug#65070)

* doc/lispref/commands.texi (Misc Events): Clarify the
documentation of 'wheel-up' and 'wheel-down' events.

16 months agoFix order in which package-vc dependencies are resolved
Philip Kaludercic [Sat, 19 Aug 2023 09:27:02 +0000 (11:27 +0200)]
Fix order in which package-vc dependencies are resolved

* lisp/emacs-lisp/package-vc.el (package-vc-install-dependencies):
Avoid a type-mismatch when comparing two packages.  (Bug#65283)

16 months agoFix building of VC package manuals with relative org links/includes
Joseph Turner [Sat, 12 Aug 2023 08:40:07 +0000 (01:40 -0700)]
Fix building of VC package manuals with relative org links/includes

* lisp/emacs-lisp/package-vc.el (package-vc--build-documentation):
Ensure that default-default is the docs-directory around
org-export-to-file to ensure that links to relative files work
correctly.  (Bug#65243)

16 months agoFix the documentation of 'cl-flet'
Eli Zaretskii [Sat, 19 Aug 2023 08:50:09 +0000 (11:50 +0300)]
Fix the documentation of 'cl-flet'

* doc/misc/cl.texi (Function Bindings): Update the description.
(Bug#65362)

16 months ago; * src/treesit.c (Ftreesit_node_parent): Improve commentary.
Eli Zaretskii [Fri, 18 Aug 2023 06:19:59 +0000 (09:19 +0300)]
; * src/treesit.c (Ftreesit_node_parent): Improve commentary.

16 months agoAvoid false "wrong passphrase" messages in EPA
Jens Schmidt [Tue, 15 Aug 2023 19:37:08 +0000 (21:37 +0200)]
Avoid false "wrong passphrase" messages in EPA

* lisp/epa-file.el (epa--wrong-password-p): Use a stricter regexp
to match "wrong passphrase" errors generated by GnuPG.  (Bug#65316)

16 months agoFix jsx font-lock in older tree-sitter-js grammars
dannyfreeman [Fri, 11 Aug 2023 20:43:58 +0000 (16:43 -0400)]
Fix jsx font-lock in older tree-sitter-js grammars

* lisp/progmodes/js.el (js--treesit-font-lock-settings): Use
queries that are backwards compatible with
tree-sitter-javascript bb1f97b.
* list/progmodes/js.el
(-jsx--treesit-font-lock-compatibility-bb1f97b): Delete unused
function.  (Bug#65234)

16 months agoFix cloning 'face-remapping-alist' for indirect buffers
Eli Zaretskii [Thu, 17 Aug 2023 07:51:36 +0000 (10:51 +0300)]
Fix cloning 'face-remapping-alist' for indirect buffers

* lisp/face-remap.el (face-remap--copy-face): Remove.
(face-attrs--make-indirect-safe): Use 'copy-tree'.  Suggested by
Stefan Monnier <monnier@iro.umontreal.ca>.

16 months agoImprove documentation of case transfer in replacement commands
Eli Zaretskii [Thu, 17 Aug 2023 07:07:48 +0000 (10:07 +0300)]
Improve documentation of case transfer in replacement commands

* doc/emacs/search.texi (Replacement and Lax Matches):
* src/search.c (Freplace_match):
* lisp/replace.el (query-replace, query-replace-regexp): Clarify
in the doc string and the manual how letter-case is transferred
from the replaced text to the replacement text.  (Bug#65347)

16 months agoFix horizontal scrolling of images with C-f
Eli Zaretskii [Wed, 16 Aug 2023 17:42:16 +0000 (20:42 +0300)]
Fix horizontal scrolling of images with C-f

* lisp/image-mode.el (image-forward-hscroll): Calculate the
window-width more accurately, as the number of full columns that
fits in the window's text-area.  (Bug#65187)

16 months ago; Fix defcustom in completion.el
Eli Zaretskii [Wed, 16 Aug 2023 17:19:34 +0000 (20:19 +0300)]
; Fix defcustom in completion.el

* lisp/completion.el (completion-search-distance): Fix doc string
and customization type.  (Bug#65327)

16 months ago; * src/fns.c (Fcopy_sequence): Doc fix. (Bug#64960)
Eli Zaretskii [Wed, 16 Aug 2023 12:42:24 +0000 (15:42 +0300)]
; * src/fns.c (Fcopy_sequence): Doc fix.  (Bug#64960)

16 months agoFix unpacking ZIP archives on MS-Windows
Eli Zaretskii [Wed, 16 Aug 2023 12:34:09 +0000 (15:34 +0300)]
Fix unpacking ZIP archives on MS-Windows

* lisp/arc-mode.el (archive-zip-summarize): Decode file names as
UTF-8 when bit 11 of flags is set, even on MS-Windows.
(Bug#65305)

16 months ago; Fix typos in lisp/keymap.el doc strings (bug#65329).
Thomas Voss [Tue, 15 Aug 2023 23:58:03 +0000 (01:58 +0200)]
; Fix typos in lisp/keymap.el doc strings (bug#65329).

Copyright-paper-exempt: yes

16 months agoFix command example in Eshell manual
Jim Porter [Wed, 16 Aug 2023 05:09:14 +0000 (22:09 -0700)]
Fix command example in Eshell manual

* doc/misc/eshell.texi (Introduction): Fix example (bug#65303).

Reported by Eric Gillespie <brickviking@gmail.com>.

16 months ago; lisp/progmodes/csharp-mode.el (treesit-query-capture): Declare (bug#65297).
Daniel Martín [Mon, 14 Aug 2023 19:46:11 +0000 (21:46 +0200)]
; lisp/progmodes/csharp-mode.el (treesit-query-capture): Declare (bug#65297).

16 months ago; Improve documentation of 'define-alternatives'
Eli Zaretskii [Tue, 15 Aug 2023 14:08:12 +0000 (17:08 +0300)]
; Improve documentation of 'define-alternatives'

* doc/lispref/commands.texi (Generic Commands):
* lisp/simple.el (define-alternatives): Improve documentation of
'define-alternatives'.

16 months agoAdd user options mentioned in the Eshell manual to the variable index
Jim Porter [Tue, 15 Aug 2023 00:12:23 +0000 (17:12 -0700)]
Add user options mentioned in the Eshell manual to the variable index

* doc/misc/eshell.texi: Make variable index entries use "code" style,
and add indexing for any options already in the manual.

16 months ago* Add missing alias to `native-comp-enable-subr-trampolines'.
Andrea Corallo [Mon, 14 Aug 2023 13:48:53 +0000 (15:48 +0200)]
* Add missing alias to `native-comp-enable-subr-trampolines'.

* lisp/subr.el (native-comp-deferred-compilation): Alias to
native-comp-jit-compilation.

16 months ago* Add missing alias to `native-comp-enable-subr-trampolines'.
Andrea Corallo [Mon, 14 Aug 2023 13:30:23 +0000 (15:30 +0200)]
* Add missing alias to `native-comp-enable-subr-trampolines'.

* lisp/subr.el (comp-enable-subr-trampolines): Alias to
native-comp-enable-subr-trampolines.

16 months ago; * etc/PROBLEMS: Fix typo and clarify wording.
Po Lu [Mon, 14 Aug 2023 08:04:03 +0000 (16:04 +0800)]
; * etc/PROBLEMS: Fix typo and clarify wording.

I-Bus is merely one of the many X input methods plagued with
crashes.

16 months ago; * lisp/net/tramp.el (tramp-skeleton-write-region): Fix last change.
Michael Albinus [Mon, 14 Aug 2023 07:42:43 +0000 (09:42 +0200)]
; * lisp/net/tramp.el (tramp-skeleton-write-region): Fix last change.

16 months agoUpdate to Org 9.6.7-13-g99cc96
Kyle Meyer [Mon, 14 Aug 2023 02:11:45 +0000 (22:11 -0400)]
Update to Org 9.6.7-13-g99cc96

16 months agoHandle last-coding-system-used in Tramp for all backends
Michael Albinus [Sun, 13 Aug 2023 14:48:00 +0000 (16:48 +0200)]
Handle last-coding-system-used in Tramp for all backends

* lisp/net/tramp.el (tramp-skeleton-write-region):
Handle `last-coding-system-used'.
(tramp-handle-write-region):
* lisp/net/tramp-adb.el (tramp-adb-handle-write-region):
* lisp/net/tramp-smb.el (tramp-smb-handle-write-region):
* lisp/net/tramp-sshfs.el (tramp-sshfs-handle-write-region):
Set `coding-system-used'.  (Bug#65022)

* lisp/net/tramp-sh.el (tramp-sh-handle-write-region):
Move `last-coding-system-used' handling to
`tramp-skeleton-write-region'.

16 months agoAdd 2 Welsh characters to iso-transl.el
Devon Sean McCullough [Sat, 12 Aug 2023 14:18:47 +0000 (10:18 -0400)]
Add 2 Welsh characters to iso-transl.el

* lisp/international/iso-transl.el (iso-transl-char-map): Add two
Welsh characters.  (Bug#65248)

16 months ago* Fix `batch-byte+native-compile' target directory.
Andrea Corallo [Sat, 12 Aug 2023 16:42:33 +0000 (18:42 +0200)]
* Fix `batch-byte+native-compile' target directory.

* lisp/emacs-lisp/comp.el (batch-native-compile): Don't shadow
`native-compile-target-directory' unless necessary.

16 months agoAvoid crashes in 'display_count_lines' when current buffer was killed
Eli Zaretskii [Sat, 12 Aug 2023 12:06:48 +0000 (15:06 +0300)]
Avoid crashes in 'display_count_lines' when current buffer was killed

* src/xdisp.c (Fformat_mode_line):
* src/fns.c (Fline_number_at_pos): Don't allow to count lines in a
dead buffer.  (Bug#65060)

16 months ago; * doc/emacs/mini.texi (Completion Commands): Fix a typo (bug#65242).
Daniel Martín [Sat, 12 Aug 2023 08:32:45 +0000 (10:32 +0200)]
; * doc/emacs/mini.texi (Completion Commands): Fix a typo (bug#65242).

16 months agoUpdate csharp tree-sitter support due to upstream changes
J M [Thu, 10 Aug 2023 22:23:20 +0000 (23:23 +0100)]
Update csharp tree-sitter support due to upstream changes

A change in tree-sitter-c-sharp grammar for csharp (commit
18a531), has removed the keyword void_keyword and advised
we should use predefined_type.
* lisp/progmodes/csharp-mode.el (csharp-ts-mode--font-lock-settings):
Support both old and new style of keywords in tree-sitter-c-sharp
grammar.  (Bug#65113)

16 months agoSubstitute command keys in 'ielm-header' at use time
Matthew Tromp [Thu, 10 Aug 2023 14:41:24 +0000 (10:41 -0400)]
Substitute command keys in 'ielm-header' at use time

Before, command keys were substituted into the ielm-header when
ielm.el was loaded, which resulted in the substitutions depending on
the user's current buffer instead of the ielm buffer.
For example, if the user was in an info-mode buffer, the key would
appear as 'H' instead of 'C-h m'.
Now, the command key is substituted after the ielm buffer has been
created.
* lisp/ielm.el (ielm-header): Remove substitute-command-keys.
(inferior-emacs-lisp-mode): Add substitute-command-keys.  (Bug#65213)

Copyright-paperwork-exempt: yes

16 months ago; * etc/PROBLEMS: Add entry about XIM problems (bug#65205).
Eli Zaretskii [Sat, 12 Aug 2023 07:04:55 +0000 (10:04 +0300)]
; * etc/PROBLEMS: Add entry about XIM problems (bug#65205).

16 months agoFix rare crashes in redisplay due to problems with fontsets
Eli Zaretskii [Sat, 12 Aug 2023 06:38:28 +0000 (09:38 +0300)]
Fix rare crashes in redisplay due to problems with fontsets

* src/xdisp.c (get_next_display_element): If we have no usable
face to display a character/composition, treat that as glyphless.
(produce_glyphless_glyph): If neither it->face nor its ASCII face
are usable, fall back to the frame's default font.  (Bug#65198)

16 months agoFix a typo in 'leuven-dark-theme.el'
Eli Zaretskii [Sat, 12 Aug 2023 06:27:23 +0000 (09:27 +0300)]
Fix a typo in 'leuven-dark-theme.el'

* etc/themes/leuven-dark-theme.el (leuven-dark): Fix a typo.
Reported by John Poole <saxcos@posteo.es>.  (Bug#65239)

16 months ago; * admin/git-bisect-start: Update failing commits
Gregory Heytings [Fri, 11 Aug 2023 14:22:17 +0000 (14:22 +0000)]
; * admin/git-bisect-start: Update failing commits

16 months ago; * admin/git-bisect-start: Update failing commits
Gregory Heytings [Thu, 10 Aug 2023 17:34:40 +0000 (17:34 +0000)]
; * admin/git-bisect-start: Update failing commits

16 months ago; * etc/PROBLEMS: Fix typo.
Robert Pluim [Thu, 10 Aug 2023 10:42:30 +0000 (12:42 +0200)]
; * etc/PROBLEMS: Fix typo.

16 months agoAdapt Tramp test
Michael Albinus [Thu, 10 Aug 2023 10:17:59 +0000 (12:17 +0200)]
Adapt Tramp test

* test/lisp/net/tramp-tests.el (tramp-test41-special-characters):
Skip for macOS.