]> git.eshelyaron.com Git - emacs.git/log
emacs.git
11 months agoFix tree-sitter indentation conflict with multiple languages
Augustin Chéneau [Wed, 20 Sep 2023 10:23:22 +0000 (12:23 +0200)]
Fix tree-sitter indentation conflict with multiple languages

* lisp/treesit.el (treesit--indent-1): Use bol instead of point.

Copyright-paperwork-exempt: yes

11 months agoFix bug#66093 in Tramp
Michael Albinus [Sun, 24 Sep 2023 15:15:05 +0000 (17:15 +0200)]
Fix bug#66093 in Tramp

* lisp/net/tramp-sshfs.el (tramp-methods): Use "%a".
(tramp-sshfs-handle-process-file): Replace ?a by "-t".

* lisp/net/tramp.el (tramp-methods): Adapt docstring.  (Bug#66093)
(tramp-handle-make-process): Replace ?a by "-t" if indicated.

11 months agoSupport regeneration of ja-dic.el under '--with-small-ja-dic'
Eli Zaretskii [Sun, 24 Sep 2023 12:30:01 +0000 (15:30 +0300)]
Support regeneration of ja-dic.el under '--with-small-ja-dic'

* lisp/international/ja-dic-cnv.el (skkdic-convert): Record the
value of SMALL_JA_DIC option used to produce ja-dic.el.
* leim/Makefile.in (small-ja-dic-option): New target, triggers
regeneration of ja-dic.el when the value of SMALL_JA_DIC option
changes by the configure script.  Suggested by Ulrich Mueller
<ulm@gentoo.org>.
(${leimdir}/ja-dic/ja-dic.el): Depend on 'small-ja-dic-option'.
(Bug#66125)

* make-dist (possibly_non_vc_files):
* .gitignore: Add 'leim/small-ja-dic-option'.

11 months ago; Handle authentication properly when reconnecting to IRC
Manphiz [Fri, 15 Sep 2023 07:51:57 +0000 (09:51 +0200)]
; Handle authentication properly when reconnecting to IRC

* lisp/net/rcirc.el (rcirc-reconnect): Set 'rcirc-user-authenticated'
to nil before reconnecting.  (Bug#65882)

11 months ago; * lisp/simple.el (shell-command-to-string): Fix quotation.
Eli Zaretskii [Sat, 23 Sep 2023 06:09:03 +0000 (09:09 +0300)]
; * lisp/simple.el (shell-command-to-string): Fix quotation.

11 months agoImprove remote-file-name-inhibit-cache :type
Basil L. Contovounesios [Fri, 22 Sep 2023 09:27:29 +0000 (11:27 +0200)]
Improve remote-file-name-inhibit-cache :type

* lisp/files.el (remote-file-name-inhibit-cache)
(shell-highlight-undef-remote-file-name-inhibit-cache): Avoid
duplicated :tag string.  Try to clarify wording and
formatting (bug#66150).
* lisp/shell.el (shell--highlight-undef-exec-cache): Reference
correct user option in docstring.

11 months agoEnsure bind-key is its own package
Stefan Kangas [Fri, 22 Sep 2023 09:19:07 +0000 (11:19 +0200)]
Ensure bind-key is its own package

* lisp/finder.el (finder--builtins-alist): Remove "use-package"
directory.
* lisp/use-package/bind-key.el: Declare library as part of the
'bind-key' package.
* lisp/use-package/use-package-bind-key.el:
* lisp/use-package/use-package-core.el:
* lisp/use-package/use-package-delight.el:
* lisp/use-package/use-package-diminish.el:
* lisp/use-package/use-package-ensure-system-package.el:
* lisp/use-package/use-package-ensure.el:
* lisp/use-package/use-package-jump.el:
* lisp/use-package/use-package-lint.el: Declare library as part of the
'use-package' package.  (Bug#62751)

Do not merge to master.

11 months ago* lisp/net/tramp.el (tramp-skeleton-write-region): Fix missing comma.
Michael Albinus [Thu, 21 Sep 2023 07:21:20 +0000 (09:21 +0200)]
* lisp/net/tramp.el (tramp-skeleton-write-region): Fix missing comma.

(Bug#66123)

12 months agoMerge branch 'emacs-29' of git.savannah.gnu.org:/srv/git/emacs into emacs-29
Eli Zaretskii [Tue, 19 Sep 2023 12:10:58 +0000 (15:10 +0300)]
Merge branch 'emacs-29' of git.savannah.gnu.org:/srv/git/emacs into emacs-29

12 months agoFix tree-sitter range update function
Yuan Fu [Sat, 16 Sep 2023 16:03:16 +0000 (09:03 -0700)]
Fix tree-sitter range update function

* lisp/treesit.el (treesit-update-ranges): If an embedded language
doesn't have any range, don't set its range to nil (which means whole
buffer), instead, set its range to a dummy (1 . 1) zero range.

12 months ago; * etc/NEWS: Fix typos.
Michael Albinus [Mon, 18 Sep 2023 16:00:07 +0000 (18:00 +0200)]
; * etc/NEWS: Fix typos.

12 months ago; * CONTRIBUTE: Clarify "mark" wrt NEWS entries. (Bug#66067)
Eli Zaretskii [Mon, 18 Sep 2023 11:21:22 +0000 (14:21 +0300)]
; * CONTRIBUTE: Clarify "mark" wrt NEWS entries.  (Bug#66067)

12 months ago; * etc/NEWS: Fix last change.
Eli Zaretskii [Mon, 18 Sep 2023 11:10:30 +0000 (14:10 +0300)]
; * etc/NEWS: Fix last change.

12 months agoAnnounce handling 'org-protocol' URI scheme in NEWS
Ihor Radchenko [Mon, 18 Sep 2023 08:26:27 +0000 (11:26 +0300)]
Announce handling 'org-protocol' URI scheme in NEWS

* etc/NEWS: Document handling 'org-protocol' URI scheme.  The commit
implementing the new functionality is 05a7c91b91c.  (Bug#65469)

12 months agoMake emacsclient handle org-protocol:// links
Ihor Radchenko [Wed, 23 Aug 2023 09:24:18 +0000 (12:24 +0300)]
Make emacsclient handle org-protocol:// links

Org mode provides a way to quickly capture bookmarks, notes, and links
using emacsclient:

    emacsclient "org-protocol://store-link?url=URL&title=TITLE"

* etc/emacsclient.desktop: Make Emacs the default application for
org-protocol.  (Bug#65469)

(cherry picked from commit 05a7c91b91c02c34ec6527119a465e5408dea2b1)

12 months agoEnsure ucs-names is consistent with Unicode names
Robert Pluim [Mon, 18 Sep 2023 08:41:01 +0000 (10:41 +0200)]
Ensure ucs-names is consistent with Unicode names

* lisp/international/mule-cmds.el (ucs-names): Skip adding an old-name
if it conflicts with the offical name of a codepoint.  Adjust the
ranges iterated over to account for new Unicode codepoints.
* test/lisp/international/mule-tests.el
(mule-cmds-tests--ucs-names-old-name-override,
mule-cmds-tests--ucs-names-missing-names): New tests for checking
'ucs-names' consistency.

Bug#65997

12 months agoMake key-translate actually work
Shynur [Thu, 7 Sep 2023 07:58:59 +0000 (09:58 +0200)]
Make key-translate actually work

* lisp/keymap.el (key-translate): Use the first element of the parsed
keys rather than the whole vector.  (Bug#65735)

12 months agoUpdate to Org 9.6.9
Kyle Meyer [Mon, 18 Sep 2023 02:11:36 +0000 (22:11 -0400)]
Update to Org 9.6.9

12 months agoAdd leim subdirectories to emacs package
Stefan Kangas [Mon, 18 Sep 2023 00:01:51 +0000 (02:01 +0200)]
Add leim subdirectories to emacs package

* lisp/finder.el (finder--builtins-alist): Add subdirectories
'leim/ja-dic' and 'leim/quail' as part of the 'emacs'
package.  (Bug#62751)

12 months agoAdd missing builtin package declarations
Stefan Kangas [Sat, 16 Sep 2023 12:34:20 +0000 (14:34 +0200)]
Add missing builtin package declarations

* lisp/finder.el (finder--builtins-alist): Add new package
directories 'leim' and 'obsolete' as part of the 'emacs' package.
Add new package directory 'use-package' as part of the
'use-package' package.
* lisp/net/eudc-capf.el:
* lisp/net/eudcb-ecomplete.el:
* lisp/net/eudcb-macos-contacts.el:
* lisp/net/eudcb-mailabbrev.el: Declare library as part of the
'eudc' package.
* lisp/mail/ietf-drums-date.el: Declare library as part of the
'ietf-drums' package.
* lisp/image/image-dired-dired.el:
* lisp/image/image-dired-external.el:
* lisp/image/image-dired-tags.el:
* lisp/image/image-dired-util.el: Declare library as part of the
'image-dired' package.
* lisp/emacs-lisp/oclosure.el:
* lisp/keymap.el:
* lisp/progmodes/c-ts-common.el: Declare library as part of the
'emacs' package.  (Bug#62751)

(cherry picked from commit 94b1de2774b5c1fa3c28285229900657638f5c3f)

12 months agoAdd more missing builtin package declarations
Stefan Kangas [Sun, 17 Sep 2023 23:11:50 +0000 (01:11 +0200)]
Add more missing builtin package declarations

* lisp/emacs-lisp/shorthands.el: Declare library as part of the
'emacs' package.
* lisp/epa-ks.el: Declare library as part of the 'epa'
package.  (Bug#55388)

12 months ago; Fix last change in shell-command-to-string
Stefan Kangas [Sun, 17 Sep 2023 18:39:11 +0000 (20:39 +0200)]
; Fix last change in shell-command-to-string

* lisp/simple.el (shell-command-to-string): Fix typo and improve
wording.  Problem reported by Eli Zaretskii <eliz@gnu.org>.

12 months ago; * lisp/progmodes/flymake.el (flymake-mode): Fix 'cond'.
Eli Zaretskii [Sun, 17 Sep 2023 16:35:30 +0000 (19:35 +0300)]
; * lisp/progmodes/flymake.el (flymake-mode): Fix 'cond'.

(cherry picked from commit 16453ed611b9d3be315a552c482848d1c9b1ce0e)

12 months agoDocument shell-command-to-string security considerations
Stefan Kangas [Sun, 17 Sep 2023 15:03:59 +0000 (17:03 +0200)]
Document shell-command-to-string security considerations

* lisp/simple.el (shell-command-to-string): Document security
considerations in docstring.

12 months agoFix shell-indirect-setup-hook :type (Bug#66051)
Mauro Aranda [Sun, 17 Sep 2023 13:00:20 +0000 (10:00 -0300)]
Fix shell-indirect-setup-hook :type (Bug#66051)

* lisp/shell.el (shell-indirect-setup-hook): It's a hook, not a
boolean.

12 months agoRemove column quoting from sqlite-mode
Thomas Hilke [Fri, 15 Sep 2023 08:30:25 +0000 (10:30 +0200)]
Remove column quoting from sqlite-mode

* lisp/sqlite-mode.el (sqlite-mode--column-names): Unquote column
name.  (Bug#65998)

Copyright-paperwork-exempt: yes

12 months agoAdd indentation rules for type_arguments
Theodor Thornhill [Sun, 17 Sep 2023 06:18:54 +0000 (08:18 +0200)]
Add indentation rules for type_arguments

* lisp/progmodes/java-ts-mode.el (java-ts-mode--indent-rules): Indent
as opening braces.

12 months agotypescript-ts-mode.el: Minor touches
Dmitry Gutov [Sat, 16 Sep 2023 20:03:26 +0000 (23:03 +0300)]
typescript-ts-mode.el: Minor touches

* lisp/progmodes/typescript-ts-mode.el
(tsx-ts-mode--indent-compatibility-b893426)
(tsx-ts-mode--font-lock-compatibility-bb1f97b):
Catch specific error.
(typescript-ts-base-mode): Improve docstring (bug#65470).

12 months agoImprove namespacing situation WRT to recent change in typescript-ts-mode.el
Dmitry Gutov [Sat, 16 Sep 2023 19:55:17 +0000 (22:55 +0300)]
Improve namespacing situation WRT to recent change in typescript-ts-mode.el

* lisp/progmodes/typescript-ts-mode.el
(typescript-ts--syntax-propertize):
Rename from ts-ts--syntax-propertize.
(tsx-ts--syntax-propertize-captures):
Rename from ts-ts--syntax-propertize-captures.
(typescript-ts--s-p-query):
Rename from ts-ts--s-p-query.
Update all references (bug#65470).

12 months agoMake move-end-of-line in minibuffer consistent (bug#65980)
Stephen Berman [Sat, 16 Sep 2023 12:00:24 +0000 (14:00 +0200)]
Make move-end-of-line in minibuffer consistent (bug#65980)

* lisp/simple.el (move-end-of-line): Always move to eol when
invoking `C-e' from within the minibuffer's prompt string.

12 months ago; Declare some treesit.c functions in typescript-ts-mode.el.
Eli Zaretskii [Sat, 16 Sep 2023 11:26:46 +0000 (14:26 +0300)]
; Declare some treesit.c functions in typescript-ts-mode.el.

12 months agoFix loss of encrypted data in plstore.el
Jens Schmidt [Tue, 30 May 2023 21:00:56 +0000 (23:00 +0200)]
Fix loss of encrypted data in plstore.el

* lisp/plstore.el (plstore--insert-buffer): Fix loss of encrypted
data when a plstore gets opened and saved without being decrypted
between these steps.  (Bug#63627)

12 months agoClose SQL database when corresponding 'sqlite-mode' buffer is killed
Thomas Hilke [Fri, 15 Sep 2023 08:30:25 +0000 (10:30 +0200)]
Close SQL database when corresponding 'sqlite-mode' buffer is killed

* lisp/sqlite-mode.el (sqlite-mode-open-file): Close DB when the
buffer is killed.  (Bug#65998)

Copyright-paperwork-exempt: yes

12 months agoFix Unicode normalization of characters
Eli Zaretskii [Sat, 16 Sep 2023 09:17:23 +0000 (12:17 +0300)]
Fix Unicode normalization of characters

* lisp/international/ucs-normalize.el
(ucs-normalize-composition-exclusions, check-range): Update from
Unicode 15.0 data.  (Bug#65996)

* test/lisp/international/ucs-normalize-tests.el
(ucs-normalize-tests--failing-lines-part1)
(ucs-normalize-tests--failing-lines-part2): Update to reflect
changes in ucs-normalize.el.

* admin/notes/unicode: Mention the updates in ucs-normalize.el.

12 months agoSupport one-time passwords in Tramp
Michael Albinus [Sat, 16 Sep 2023 07:59:31 +0000 (09:59 +0200)]
Support one-time passwords in Tramp

* doc/misc/tramp.texi (Remote shell setup):
Describe tramp-otp-password-prompt-regexp.

* lisp/net/tramp-sh.el (tramp-actions-before-shell)
(tramp-actions-copy-out-of-band):
Use `tramp-otp-password-prompt-regexp'.

* lisp/net/tramp.el (tramp-otp-password-prompt-regexp): New defcustom.
(tramp-action-otp-password): New defun.

12 months agoFix the 'C' and 'c' categories of characters
Eli Zaretskii [Sat, 16 Sep 2023 07:53:05 +0000 (10:53 +0300)]
Fix the 'C' and 'c' categories of characters

* lisp/international/characters.el: Fix categories of Chinese
characters.  (Bug65995)

12 months agoFix Emoji zooming commands
Eli Zaretskii [Sat, 16 Sep 2023 07:33:10 +0000 (10:33 +0300)]
Fix Emoji zooming commands

* lisp/international/emoji.el (emoji-zoom-increase): Handle the
case where face property at point is a list of faces.  (Bug#65994)

12 months ago; Fix last change.
Eli Zaretskii [Sat, 16 Sep 2023 06:26:30 +0000 (09:26 +0300)]
; Fix last change.

12 months ago; * etc/DEBUG: Improve the redisplay section.
Eli Zaretskii [Sat, 16 Sep 2023 06:25:08 +0000 (09:25 +0300)]
; * etc/DEBUG: Improve the redisplay section.

12 months ago; * doc/lispref/minibuf.texi (Text from Minibuffer): Mention alias.
Eli Zaretskii [Sat, 16 Sep 2023 05:55:17 +0000 (08:55 +0300)]
; * doc/lispref/minibuf.texi (Text from Minibuffer): Mention alias.

12 months agotsx-ts-mode--font-lock-compatibility-bb1f97b: Improve
Dmitry Gutov [Fri, 15 Sep 2023 13:30:58 +0000 (16:30 +0300)]
tsx-ts-mode--font-lock-compatibility-bb1f97b: Improve

* lisp/progmodes/typescript-ts-mode.el
(tsx-ts-mode--font-lock-compatibility-bb1f97b):
Test the more complex query, because the current one leads to
false positives (mentioned in bug#65470).

12 months agoAvoid using --display in emacsclient to reuse frames on PGTK
Davide Masserut [Thu, 24 Aug 2023 16:33:39 +0000 (18:33 +0200)]
Avoid using --display in emacsclient to reuse frames on PGTK

Using hard-coded display values can cause PGTK graphical frames to
open using the wrong backend or not open at all.
* Makefile.in (install-etc): Use --reuse-frame instead of
--display=$DISPLAY.  (Bug#65509)

12 months ago; * INSTALL: Don't advertise -O3. (Bug#65988)
Eli Zaretskii [Fri, 15 Sep 2023 11:28:09 +0000 (14:28 +0300)]
; * INSTALL: Don't advertise -O3.  (Bug#65988)

12 months ago; Fix doc string of 'lsh'
Eli Zaretskii [Fri, 15 Sep 2023 07:17:30 +0000 (10:17 +0300)]
; Fix doc string of 'lsh'

* lisp/subr.el (lsh): Doc fix.  Suggested by Richard Stallman
<rms@gnu.org>.

12 months agoSupport emacsclient on Windows with server on GNU or Unix systems
Eli Zaretskii [Fri, 15 Sep 2023 07:02:00 +0000 (10:02 +0300)]
Support emacsclient on Windows with server on GNU or Unix systems

* lisp/server.el (server-process-filter): If 'tty-name' is literally
"CONOUT$", assume the client runs on MS-Windows and force the
frame type to GUI.  This allows to run emacsclient on MS-Windows
when the server runs on a Posix host.  (Bug#65812)

12 months ago; * lisp/saveplace.el (save-place-ignore-files-regexp): Fix last change.
Eli Zaretskii [Thu, 14 Sep 2023 13:18:03 +0000 (16:18 +0300)]
; * lisp/saveplace.el (save-place-ignore-files-regexp): Fix last change.

12 months agoFix defcustom in saveplace.el (Bug#65977)
Mauro Aranda [Thu, 14 Sep 2023 11:24:43 +0000 (08:24 -0300)]
Fix defcustom in saveplace.el (Bug#65977)

* lisp/saveplace.el (save-place-ignore-files-regexp): Allow nil.

12 months ago; * lisp/subr.el (string-suffix-p, string-prefix-p): Doc fix.
Eli Zaretskii [Thu, 14 Sep 2023 13:08:54 +0000 (16:08 +0300)]
; * lisp/subr.el (string-suffix-p, string-prefix-p): Doc fix.

12 months agoFix 'window-text-pixel-size' when there are several images at START
Eli Zaretskii [Thu, 14 Sep 2023 09:52:14 +0000 (12:52 +0300)]
Fix 'window-text-pixel-size' when there are several images at START

* src/xdisp.c (window_text_pixel_size): Remove unnecessary call to
'move_it_to'.  (Bug#65899)  (Bug#54862)

12 months ago: Doc fix.
Eli Zaretskii [Thu, 14 Sep 2023 06:21:28 +0000 (09:21 +0300)]
: Doc fix.

* lisp/progmodes/prog-mode.el
(prettify-symbols-unprettify-at-point): Doc fix.

12 months agoDoc fix for prettify-symbols-unprettify-at-point
Stefan Kangas [Wed, 13 Sep 2023 20:45:02 +0000 (22:45 +0200)]
Doc fix for prettify-symbols-unprettify-at-point

* lisp/progmodes/prog-mode.el
(prettify-symbols-unprettify-at-point): Document that it has to be
set before enabling 'prettify-symbols-mode'.  (Bug#65884)

12 months ago(report_overlay_modification): Fix bug#65929
Stefan Monnier [Wed, 13 Sep 2023 22:49:55 +0000 (18:49 -0400)]
(report_overlay_modification): Fix bug#65929

Somehow the new overlay code in Emacs-29 changed slightly
the test to decide when to run the `modification-hooks` of overlays,
with the consequence that these hook functions end up being executed
also when text is deleted right after an empty overlay, which is
contrary to Emacs-28 behavior as well as contrary to the Texinfo doc.

* src/buffer.c (report_overlay_modification): Better reproduce the
Emacs-28 code.

* test/src/buffer-tests.el (overlay-modification-hooks):
Add corresponding test.

12 months agoFix SVG colors (bug#56182)
Alan Third [Mon, 11 Sep 2023 18:58:14 +0000 (19:58 +0100)]
Fix SVG colors (bug#56182)

* src/image.c (svg_load_image): Reverse the R and B bytes in the
Windows colors before using them to generate the SVG.

12 months ago* doc/emacs/text.texi (Outline Minor Mode): Add a note about value 'insert'.
Juri Linkov [Wed, 13 Sep 2023 16:49:29 +0000 (19:49 +0300)]
* doc/emacs/text.texi (Outline Minor Mode): Add a note about value 'insert'.

* lisp/outline.el (outline-minor-mode-use-buttons): Add a note and
a comment about the value 'insert' (bug#65874).

12 months agoImprove documentation of 'list-abbrevs'
Eli Zaretskii [Wed, 13 Sep 2023 14:23:03 +0000 (17:23 +0300)]
Improve documentation of 'list-abbrevs'

* doc/emacs/abbrevs.texi (Editing Abbrevs): Describe how system
abbrevs are shown by 'list-abbrevs'.  Suggested by Shynur Xie
<one.last.kiss@outlook.com>.  (Bug#65907)

12 months agoTweak s-p-f for js-ts-mode
Dmitry Gutov [Tue, 12 Sep 2023 23:21:04 +0000 (02:21 +0300)]
Tweak s-p-f for js-ts-mode

* lisp/progmodes/js.el (js-ts--s-p-query):
Consider two more contexts (bug#65470).

12 months agotypescript-ts-mode, tsx-ts-mode: Fix syntax properties for regexp and jsx
Jostein Kjønigsen [Tue, 5 Sep 2023 19:29:27 +0000 (21:29 +0200)]
typescript-ts-mode, tsx-ts-mode: Fix syntax properties for regexp and jsx

Propertize regexps as strings and JSX elements as generic strings.

* lisp/progmodes/typescript-ts-mode.el (ts-ts--s-p-query)
(tsx-ts--s-p-query): New variables.
(ts-ts--syntax-propertize, tsx-ts--syntax-propertize)
(ts-ts--syntax-propertize-captures): New functions.
(typescript-ts-mode, tsx-ts-mode): Use them (bug#65470).

12 months ago* lisp/progmodes/c-ts-mode.el (c++-ts-mode): Provide (bug#65895).
Eli Zaretskii [Tue, 12 Sep 2023 18:45:19 +0000 (21:45 +0300)]
* lisp/progmodes/c-ts-mode.el (c++-ts-mode): Provide (bug#65895).

12 months agoFix regression of treesit_cursor_helper_1
Yuan Fu [Mon, 11 Sep 2023 19:47:32 +0000 (12:47 -0700)]
Fix regression of treesit_cursor_helper_1

* src/treesit.c (treesit_cursor_helper_1)
(treesit_cursor_first_child_for_byte): Use
ts_tree_cursor_goto_first_child_for_byte first, and
ts_tree_cursor_goto_first_child second.

12 months ago; Fix doc typos (Bug#65868)
shynur [Mon, 11 Sep 2023 14:56:39 +0000 (22:56 +0800)]
; Fix doc typos (Bug#65868)

12 months agoUpdate docs for passing of Thien-Thi Nguyen
Stefan Kangas [Mon, 11 Sep 2023 00:35:31 +0000 (02:35 +0200)]
Update docs for passing of Thien-Thi Nguyen

* doc/emacs/ack.texi (Acknowledgments): Add Thien-Thi Nguyen.
* lisp/play/zone.el: Set maintainer to emacs-devel.

12 months agoUpdate defvar usage tips example in manual
Stefan Kangas [Sun, 10 Sep 2023 23:40:30 +0000 (01:40 +0200)]
Update defvar usage tips example in manual

* doc/lispref/variables.texi (Tips for Defining): Change example
to be about syntax tables instead of old way of defining keymaps
using 'defvar' and 'make-sparse-keymap'.  (Bug#59224)

12 months agoDocument using Flymake together with Eglot
Stefan Kangas [Sun, 10 Sep 2023 19:07:03 +0000 (21:07 +0200)]
Document using Flymake together with Eglot

* doc/misc/flymake.texi (Top, Using Flymake): Document using
Flymake together with Eglot.  (Bug#60040)

12 months ago; * src/font.h (struct font): Comment about use of average_width.
Eli Zaretskii [Sun, 10 Sep 2023 15:31:06 +0000 (18:31 +0300)]
; * src/font.h (struct font): Comment about use of average_width.

12 months ago; * admin/authors.el (authors-aliases): Update.
Stefan Kangas [Sun, 10 Sep 2023 09:38:46 +0000 (11:38 +0200)]
; * admin/authors.el (authors-aliases): Update.

12 months ago; tweak etc/TODO item
João Távora [Sat, 9 Sep 2023 16:59:18 +0000 (11:59 -0500)]
; tweak etc/TODO item

* etc/TODO (Support external rules for indentation): Add reference
to discussion.

12 months ago; Add missing space in the manual
Vincent Lefevre [Wed, 6 Sep 2023 11:57:07 +0000 (13:57 +0200)]
; Add missing space in the manual

* doc/lispref/compile.texi (Native-Compilation Variables): Add missing
space.  (Bug#65782)

Copyright-paperwork-exempt: yes

12 months agoFix defcustom :type of ielm-indirect-setup-hook
Mauro Aranda [Fri, 8 Sep 2023 15:44:42 +0000 (12:44 -0300)]
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)

12 months ago; Two updates of etc/TODO
Eli Zaretskii [Fri, 8 Sep 2023 13:31:14 +0000 (16:31 +0300)]
; 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.

12 months ago; Describe in PROBLEMS 2 problems with keyboard input
Eli Zaretskii [Fri, 8 Sep 2023 12:35:05 +0000 (15:35 +0300)]
; Describe in PROBLEMS 2 problems with keyboard input

* etc/PROBLEMS: Describe problems with WSL and PGTK keyboard
input.  (Bug#65802)  (Bug#65811)

12 months ago; Fix inaccuracy in ELisp reference manual
Eli Zaretskii [Fri, 8 Sep 2023 11:39:49 +0000 (14:39 +0300)]
; 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)

12 months agoDocument NonGNU ELPA in FAQ
Stefan Kangas [Fri, 8 Sep 2023 09:43:14 +0000 (11:43 +0200)]
Document NonGNU ELPA in FAQ

* doc/misc/efaq.texi (Packages that do not come with Emacs):
Document NonGNU ELPA.  (Bug#65818)

12 months agoFix remote path setting in Eshell
Jim Porter [Sun, 27 Aug 2023 19:53:40 +0000 (12:53 -0700)]
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.

12 months ago; * lisp/completion.el (dynamic-completion-mode): Fix last change.
Eli Zaretskii [Thu, 7 Sep 2023 15:52:35 +0000 (18:52 +0300)]
; * lisp/completion.el (dynamic-completion-mode): Fix last change.

12 months agoUpdate docs for (co-)maintainer changes
Stefan Kangas [Thu, 7 Sep 2023 15:48:14 +0000 (17:48 +0200)]
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.

12 months ago* doc/lispref/strings.texi (Text Comparison): Fix typo (bug#65799).
Sebastian Miele [Thu, 7 Sep 2023 11:51:12 +0000 (13:51 +0200)]
* doc/lispref/strings.texi (Text Comparison): Fix typo (bug#65799).

12 months agoAdapt Tramp manual
Michael Albinus [Thu, 7 Sep 2023 13:03:42 +0000 (15:03 +0200)]
Adapt Tramp manual

* doc/misc/tramp.texi (Frequently Asked Questions): Do not use
`defadvice'.  Add indices.  (Bug#65481)

12 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.

12 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.

12 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)

12 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.

12 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)

12 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)

12 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)

12 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)

12 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)

12 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.

12 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).

12 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.

12 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.

12 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.

12 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)

12 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).

12 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)

12 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.

12 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.

12 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.

12 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.

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

12 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.