1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-02 10:11:05 -08:00
Commit graph

165763 commits

Author SHA1 Message Date
Jens Schmidt
89fa204b70 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)
2023-09-16 14:05:36 +03:00
Thomas Hilke
d9a1175a61 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
2023-09-16 13:20:45 +03:00
Eli Zaretskii
cbd8fac283 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.
2023-09-16 12:17:23 +03:00
Michael Albinus
825be05b37 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.
2023-09-16 09:59:31 +02:00
Eli Zaretskii
f880b94e64 Fix the 'C' and 'c' categories of characters
* lisp/international/characters.el: Fix categories of Chinese
characters.  (Bug65995)
2023-09-16 10:53:05 +03:00
Eli Zaretskii
58fd212d8a 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)
2023-09-16 10:33:10 +03:00
Eli Zaretskii
8970cdd009 ; Fix last change. 2023-09-16 09:26:30 +03:00
Eli Zaretskii
ba924be452 ; * etc/DEBUG: Improve the redisplay section. 2023-09-16 09:25:08 +03:00
Eli Zaretskii
e110312ad9 ; * doc/lispref/minibuf.texi (Text from Minibuffer): Mention alias. 2023-09-16 08:55:17 +03:00
Dmitry Gutov
65f4810003 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).
2023-09-15 16:30:58 +03:00
Davide Masserut
6fe11b88ed 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)
2023-09-15 14:31:10 +03:00
Eli Zaretskii
2fc7463c0e ; * INSTALL: Don't advertise -O3. (Bug#65988) 2023-09-15 14:28:09 +03:00
Eli Zaretskii
29055412f2 ; Fix doc string of 'lsh'
* lisp/subr.el (lsh): Doc fix.  Suggested by Richard Stallman
<rms@gnu.org>.
2023-09-15 10:17:30 +03:00
Eli Zaretskii
738d854333 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)
2023-09-15 10:02:00 +03:00
Eli Zaretskii
f0a89fa1d0 ; * lisp/saveplace.el (save-place-ignore-files-regexp): Fix last change. 2023-09-14 16:18:03 +03:00
Mauro Aranda
c9cb8ee0fc Fix defcustom in saveplace.el (Bug#65977)
* lisp/saveplace.el (save-place-ignore-files-regexp): Allow nil.
2023-09-14 16:14:51 +03:00
Eli Zaretskii
5ec8be1d58 ; * lisp/subr.el (string-suffix-p, string-prefix-p): Doc fix. 2023-09-14 16:08:54 +03:00
Eli Zaretskii
809305e6d8 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)
2023-09-14 12:52:14 +03:00
Eli Zaretskii
ea14b0dcc2 : Doc fix.
* lisp/progmodes/prog-mode.el
(prettify-symbols-unprettify-at-point): Doc fix.
2023-09-14 09:21:28 +03:00
Stefan Kangas
01e8a0c6cb 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)
2023-09-14 08:03:13 +02:00
Stefan Monnier
0065621d0d (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.
2023-09-13 18:49:55 -04:00
Alan Third
6cc6455e93 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.
2023-09-13 20:19:44 +01:00
Juri Linkov
9396d73942 * 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).
2023-09-13 19:49:29 +03:00
Eli Zaretskii
a65d1a5a16 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)
2023-09-13 17:23:03 +03:00
Dmitry Gutov
5dcc4b7eab Tweak s-p-f for js-ts-mode
* lisp/progmodes/js.el (js-ts--s-p-query):
Consider two more contexts (bug#65470).
2023-09-13 02:21:04 +03:00
Jostein Kjønigsen
1fb2fb501f 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).
2023-09-13 01:54:45 +03:00
Eli Zaretskii
946b395e7e * lisp/progmodes/c-ts-mode.el (c++-ts-mode): Provide (bug#65895). 2023-09-12 21:45:19 +03:00
Yuan Fu
33ee3e588f
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.
2023-09-11 12:50:31 -07:00
shynur
d11d81dfcc ; Fix doc typos (Bug#65868) 2023-09-11 17:16:23 +02:00
Stefan Kangas
6554ec2246 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.
2023-09-11 02:37:54 +02:00
Stefan Kangas
5ab2792d5c 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)
2023-09-11 01:49:36 +02:00
Stefan Kangas
35d88c657e Document using Flymake together with Eglot
* doc/misc/flymake.texi (Top, Using Flymake): Document using
Flymake together with Eglot.  (Bug#60040)
2023-09-10 21:07:36 +02:00
Eli Zaretskii
3f04efe9e7 ; * src/font.h (struct font): Comment about use of average_width. 2023-09-10 18:31:06 +03:00
Stefan Kangas
459b5f6b6d ; * admin/authors.el (authors-aliases): Update. 2023-09-10 11:40:09 +02:00
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