1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 18:00:40 -08:00
Commit graph

165763 commits

Author SHA1 Message Date
Ikumi Keita
5c2d9ae48e ; * lisp/image-mode.el: Fix typos in doc strings (bug#66302). 2023-10-02 10:01:18 +03:00
Stefan Kangas
fa0d3f45ae ; Improve wording of last change
* doc/emacs/macos.texi (Mac / GNUstep Customization):
* src/nsfns.m (syms_of_nsfns): Improve wording.
Reported by Gerd Möllmann <gerd.moellmann@gmail.com>.
2023-10-01 18:27:11 +02:00
Stefan Kangas
3ef259e28a Improve documentation of ns-use-proxy-icon
* doc/emacs/macos.texi (Mac / GNUstep Customization):
* src/nsfns.m (syms_of_nsfns): Fix documentation of
'ns-use-proxy-icon'; explain what it does and how it's
used.  (Bug#66190)
2023-10-01 15:37:06 +02:00
Stefan Kangas
712505a82b Document assigning libraries to packages in make-tarball.txt
* admin/make-tarball.txt: Add new step to ensure that new libraries
are assigned to packages.
2023-10-01 15:09:38 +02:00
Stefan Kangas
6bdc5cfe38 Doc fix; more consistently refer to "text terminals"
In the Emacs Lisp manual, we refer to "text terminals" and "graphical
terminals" (see Info node `(elisp) Frames').  But in some places,
including the user manual, the alternative terminology "non-window
terminals" is used instead.

In other places, we use the terminology "non-windowing display"
instead of the more canonical "non-graphical display".

This is less clear than it could be.  Let's consolidate our
terminology to prefer the wording from the Emacs Lisp manual; in other
words, prefer "text" and "non-graphical" to "non-window".

* doc/emacs/frames.texi (Non-Window Terminals): Rename node from this...
(Text Terminals): ...to this.  (Bug#66282)
* doc/emacs/display.texi (Standard Faces):
* doc/emacs/emacs.texi (Top):
* doc/emacs/misc.texi (emacsclient Options):
* doc/misc/viper.texi (Rudimentary Changes)
(Packages that Change Keymaps):
* doc/emacs/frames.texi (Frames, Frame Commands, Mouse Avoidance):
Replace instances of "non-window terminals" with "text terminals".
* doc/misc/ediff.texi (Quick Help Customization):
(Window and Frame Configuration):
* lisp/vc/ediff.el (ediff-windows-wordwise)
(ediff-windows-linewise): Prefer saying 'non-graphical display' to
'non-windowing display'.
* lisp/net/tramp.el (tramp-default-method):
* lisp/printing.el (pr-find-command): Capitalize 'Windows' where it
clearly refers to the non-free operating system with that name.
2023-10-01 13:58:53 +02:00
Eli Zaretskii
d210d761b1 ; Fix doc strings of overlay-arrow variables
* src/xdisp.c (syms_of_xdisp) <overlay-arrow-string>
<overlay-arrow-variable-list>: Doc fixes.  (Bug#66282)
2023-10-01 08:08:03 +03:00
Mauro Aranda
4fd00ff1f7 Fix defcustoms in type-break.el (Bug#66210)
* lisp/type-break.el (type-break-good-rest-interval)
(type-break-file-name): Allow nil.
2023-10-01 01:49:50 +02:00
Mauro Aranda
47770b0eca Fix term-scroll-to-bottom-on-output :type
* lisp/term.el (term-scroll-to-bottom-on-output): Add missing choices.
Don't advertise the value 'all' in docstring.  (Bug#66071)
2023-10-01 01:35:23 +02:00
Stefan Kangas
f8bdc8dff0 ; Normalize GNU ELPA :core package statements
* lisp/emacs-lisp/let-alist.el:
* lisp/progmodes/project.el: Normalize GNU ELPA :core package
statement.
2023-10-01 01:35:23 +02:00
Eli Zaretskii
63ec6d998d ; * doc/emacs/custom.texi (Early Init File): Improve indexing. 2023-09-30 22:25:13 +03:00
Eshel Yaron
a4185f87bd ; Silence macOS 14 warning
* src/nsterm.m: Implement 'applicationSupportsSecureRestorableState'
to silence warning on macOS 14.  (Bug#66245)
2023-09-29 13:32:55 +02:00
Eli Zaretskii
d9d6e14a69 ; * lisp/vc/vc.el (vc-next-action): Improve commentary. 2023-09-29 10:08:04 +03:00
Eli Zaretskii
d558f38fe5 ; * lisp/emacs-lisp/let-alist.el (let-alist): Fix quoting in doc string. 2023-09-29 08:41:42 +03:00
Stefan Kangas
71feee7930 Doc fix in let-alist for keys with nil value
* lisp/emacs-lisp/let-alist.el (let-alist): Clarify that keys with a
nil value will give the same result as if they were missing.
2023-09-29 00:28:28 +02:00
Stefan Kangas
72cc9cf2cd ; Fix typos 2023-09-29 00:28:28 +02:00
Michael Albinus
356e79e47f Fix tramp-test.el (don't merge with master)
* test/lisp/net/tramp-tests.el (tramp--test-check-files):
Don't err out when "printenv" doesn't exist on remote side.
2023-09-28 09:56:13 +02:00
Michael Albinus
34550ea8ce Improve Emacs 30 compatibility in tramp-tests.el (don't merge)
* test/lisp/net/tramp-tests.el (tramp--test-deftest-direct-async-process)
(tramp-test30-make-process): Improve Emacs 30 compatibility.
2023-09-25 12:59:52 +02:00
Michael Albinus
4776d90c31 Add new Tramp test
* test/lisp/net/tramp-tests.el (tramp-test46-read-password):
Use `copy-tree' but `copy-sequence'.
(tramp-test46-read-otp-password): New test.
2023-09-25 12:48:32 +02:00
Mauro Aranda
ca5b48fd76 Fix tmm-mid-prompt :type (Bug#66179)
* lisp/tmm.el (tmm-mid-prompt): Allow nil.
2023-09-25 10:32:36 +03:00
Augustin Chéneau
7447d3df94
Fix tree-sitter indentation conflict with multiple languages
* lisp/treesit.el (treesit--indent-1): Use bol instead of point.

Copyright-paperwork-exempt: yes
2023-09-24 14:06:53 -07:00
Michael Albinus
bee18e5273 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.
2023-09-24 17:15:05 +02:00
Eli Zaretskii
7d5fee0fea 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'.
2023-09-24 15:30:01 +03:00
Manphiz
ead491d230 ; Handle authentication properly when reconnecting to IRC
* lisp/net/rcirc.el (rcirc-reconnect): Set 'rcirc-user-authenticated'
to nil before reconnecting.  (Bug#65882)
2023-09-23 14:54:26 +02:00
Eli Zaretskii
476933b235 ; * lisp/simple.el (shell-command-to-string): Fix quotation. 2023-09-23 09:09:03 +03:00
Basil L. Contovounesios
e27ec0e414 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.
2023-09-22 15:15:36 +02:00
Stefan Kangas
de50e2ad4c 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.
2023-09-22 12:32:13 +02:00
Michael Albinus
c966e7ec38 * lisp/net/tramp.el (tramp-skeleton-write-region): Fix missing comma.
(Bug#66123)
2023-09-21 09:21:20 +02:00
Eli Zaretskii
a2953ea300 Merge branch 'emacs-29' of git.savannah.gnu.org:/srv/git/emacs into emacs-29 2023-09-19 15:10:58 +03:00
Yuan Fu
5cba5ee890
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.
2023-09-18 20:48:54 -07:00
Michael Albinus
41333cb2d5 ; * etc/NEWS: Fix typos. 2023-09-18 18:00:07 +02:00
Eli Zaretskii
a3a9ed40d8 ; * CONTRIBUTE: Clarify "mark" wrt NEWS entries. (Bug#66067) 2023-09-18 14:21:22 +03:00
Eli Zaretskii
0a6a9ac6f1 ; * etc/NEWS: Fix last change. 2023-09-18 14:10:30 +03:00
Ihor Radchenko
5611274bbd Announce handling 'org-protocol' URI scheme in NEWS
* etc/NEWS: Document handling 'org-protocol' URI scheme.  The commit
implementing the new functionality is 05a7c91b91.  (Bug#65469)
2023-09-18 13:00:20 +02:00
Ihor Radchenko
1500e4b432 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 05a7c91b91)
2023-09-18 12:54:22 +02:00
Robert Pluim
6bc3800000 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
2023-09-18 11:55:10 +02:00
Shynur
93134bb9c2 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)
2023-09-18 10:19:49 +02:00
Kyle Meyer
85f49a9bc8 Update to Org 9.6.9 2023-09-17 22:11:36 -04:00
Stefan Kangas
2826c26537 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)
2023-09-18 02:02:59 +02:00
Stefan Kangas
9aab258b80 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 94b1de2774)
2023-09-18 01:55:28 +02:00
Stefan Kangas
71a1f0fdc9 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)
2023-09-18 01:14:01 +02:00
Stefan Kangas
94705f8300 ; 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>.
2023-09-17 20:43:37 +02:00
Eli Zaretskii
c3a7084573 ; * lisp/progmodes/flymake.el (flymake-mode): Fix 'cond'.
(cherry picked from commit 16453ed611)
2023-09-17 19:38:33 +03:00
Stefan Kangas
94bef169e2 Document shell-command-to-string security considerations
* lisp/simple.el (shell-command-to-string): Document security
considerations in docstring.
2023-09-17 17:06:43 +02:00
Mauro Aranda
b74d9e8bad Fix shell-indirect-setup-hook :type (Bug#66051)
* lisp/shell.el (shell-indirect-setup-hook): It's a hook, not a
boolean.
2023-09-17 15:08:15 +02:00
Thomas Hilke
f549d4330f Remove column quoting from sqlite-mode
* lisp/sqlite-mode.el (sqlite-mode--column-names): Unquote column
name.  (Bug#65998)

Copyright-paperwork-exempt: yes
2023-09-17 13:02:50 +03:00
Theodor Thornhill
cf7efabe3f Add indentation rules for type_arguments
* lisp/progmodes/java-ts-mode.el (java-ts-mode--indent-rules): Indent
as opening braces.
2023-09-17 08:19:05 +02:00
Dmitry Gutov
bcf287bd11 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).
2023-09-16 23:03:44 +03:00
Dmitry Gutov
67c8271076 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).
2023-09-16 23:03:44 +03:00
Stephen Berman
33ff4fed03 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.
2023-09-16 14:00:24 +02:00
Eli Zaretskii
755ae813a6 ; Declare some treesit.c functions in typescript-ts-mode.el. 2023-09-16 14:26:46 +03:00