1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00
Commit Graph

166502 Commits

Author SHA1 Message Date
Po Lu
7c504d91d1 Merge remote-tracking branch 'origin/master' into feature/android 2023-04-27 18:52:25 +08:00
Po Lu
521386f920 ; * admin/charsets/mapconv (LC_ALL): Fix typo. 2023-04-27 18:51:40 +08:00
Po Lu
0e0fd0c38f Fix bootstrap on Unix
* admin/charsets/Makefile.in (${charsetdir}/JISX0201.map): Use
run_mapconv, which uses the correct awk.
* admin/charsets/mapconv (LC_ALL): Don't place assignment in
same line as export.
2023-04-27 18:50:47 +08:00
Po Lu
83a9e4cee1 Update Android port
* doc/emacs/android.texi (Android File System):
(Android Windowing): Make Emacs manual more portable.
2023-04-27 18:45:42 +08:00
Po Lu
04ac6e6be8 Update Android port
* doc/lispref/commands.texi (Misc Events):
* doc/lispref/frames.texi (Accessing Selections):
(X Selections): Fix pieces of the Info manual.
2023-04-27 16:23:57 +08:00
Stefan Kangas
dde576d731 ; Merge from origin/emacs-29
The following commit was skipped:

c46e93b1f5 Explain ERC 5.5 regressions in new version 5.5.0.29.1
2023-04-27 06:30:14 +02:00
Stefan Kangas
1c5140e813 Merge from origin/emacs-29
af43f0a295 * doc/misc/erc.texi: Elaborate on upgrading via ELPA.
10948948c1 Improve outline-default-state docstring
b5ace2eed8 Document problems with /bin/sh on Solaris 10
7b2ad8f199 ; Add missing <<inserted by help-with-tutorial>> line to ...
2023-04-27 06:30:14 +02:00
Po Lu
136ae23575 Merge remote-tracking branch 'origin/master' into feature/android 2023-04-27 09:07:19 +08:00
Eli Zaretskii
14d3431253 ; * lisp/help.el (describe-bindings-outline-rules): Fix :type tags. 2023-04-26 19:25:23 +03:00
Michael Albinus
022f50ebe6 New command 'tramp-cleanup-some-buffers'
* doc/misc/tramp.texi (Cleanup remote connections):
Document tramp-cleanup-some-buffers and
tramp-cleanup-some-buffers-hook.

* etc/NEWS: New command 'tramp-cleanup-some-buffers'.

* lisp/net/tramp.el (tramp-handle-make-process):
* lisp/net/tramp-adb.el (tramp-adb-handle-make-process):
* lisp/net/tramp-sh.el (tramp-sh-handle-make-process):
Use `tramp-taint-remote-process-buffer'.

* lisp/net/tramp.el (tramp-post-process-creation): New defun.
(tramp-handle-make-process):
* lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
* lisp/net/tramp-crypt.el (tramp-crypt-maybe-open-connection):
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
(tramp-gvfs-maybe-open-connection):
* lisp/net/tramp-rclone.el (tramp-rclone-maybe-open-connection):
* lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
(tramp-sh-handle-file-notify-add-watch)
(tramp-maybe-open-connection):
* lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory)
(tramp-smb-handle-file-acl, tramp-smb-handle-set-file-acl)
(tramp-smb-maybe-open-connection):
* lisp/net/tramp-sshfs.el (tramp-sshfs-maybe-open-connection):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-maybe-open-connection)
(tramp-sudoedit-send-command): Use it.

* lisp/net/tramp-cmds.el (tramp-tainted-remote-process-buffers):
New defvar.
(tramp-cleanup-dired-buffer-p)
(tramp-delete-tainted-remote-process-buffer-function)
(kill-buffer-hook, tramp-cleanup-remote-process-p)
(tramp-cleanup-some-buffers): New defuns.
(tramp-cleanup-some-buffers-hook): New defcustom.  Add
`buffer-file-name', `tramp-cleanup-dired-buffer-p' and
`tramp-cleanup-remote-process-p' to the hook.
(kill-buffer-hook):
Add `tramp-delete-tainted-remote-process-buffer-function'.
(tramp-cleanup-all-buffers): Rework.

* lisp/net/tramp-compat.el (tramp-compat-always): New defalias.

* test/lisp/net/tramp-tests.el (tramp--test-always): Delete.
(tramp-test10-write-region, tramp-test21-file-links)
(tramp--test-deftest-direct-async-process)
(tramp-test37-make-auto-save-file-name)
(tramp-test38-find-backup-file-name)
(tramp-test39-make-lock-file-name)
(tramp-test39-detect-external-change): Use `tramp-compat-always'.
2023-04-26 18:06:39 +02:00
F. Jason Park
c46e93b1f5 Explain ERC 5.5 regressions in new version 5.5.0.29.1
* doc/misc/erc.texi: Bump version to 5.5.0.29.1.
* etc/ERC-NEWS: Don't hype bugged option `erc-reconnect-display'.
* lisp/erc/erc-dcc.el (erc-dcc-do-GET-command): Add comment explaining
parsing bug in ERC 5.5 (bug#62444).
* lisp/erc/erc-networks.el (erc-networks-on-MOTD-end): Mention known
/MOTD bug in error notice so people don't waste energy reporting
it (bug#62151).
* lisp/erc/erc.el: Change Version header to 5.5.0.29.1.  Don't bother
updating the `customize-package-emacs-version-alist' entry
because no option defaults are affected.
(erc-version): Change version to 5.5.0.29.1.
(erc-reconnect-display, erc-query-on-unjoined-chan-privmsg): Add
warning to doc strings and `custom-set' functions.  It's believed that
these bugs degrade the user experience significantly enough to warrant
such mentions (bug#62833).
(erc-query): Fix erroneous redirect string in deprecation spec.
Do not merge to master.
2023-04-26 06:21:29 -07:00
F. Jason Park
af43f0a295 * doc/misc/erc.texi: Elaborate on upgrading via ELPA. 2023-04-26 06:21:29 -07:00
Robert Pluim
10948948c1 Improve outline-default-state docstring
* lisp/outline.el (outline-default-state): Explain which functions are
available to affect heading visibility.
2023-04-26 12:31:00 +02:00
Eli Zaretskii
b5ace2eed8 Document problems with /bin/sh on Solaris 10
* etc/PROBLEMS (Solaris): Document problems with '/bin/sh'.
Suggested by Paul Eggert <eggert@cs.ucla.edu>.  (Bug#63067)
2023-04-26 09:39:35 +03:00
Mohsen Banan
7b2ad8f199 ; Add missing <<inserted by help-with-tutorial>> line to TUTORIAL.fa. 2023-04-26 08:58:10 +03:00
Po Lu
a5e90e4eea Make two well known amusements work on Android
* lisp/play/doctor.el (text-conversion-style):
(doctor-mode):
* lisp/play/dunnet.el (text-conversion-style):
(dun-mode): Set `text-conversion-style' to `action'.
2023-04-26 09:55:32 +08:00
Po Lu
5f389f4b63 Merge remote-tracking branch 'origin/master' into feature/android 2023-04-26 08:48:12 +08:00
Eli Zaretskii
d07815a7cc Allow inserting #x6A58 using chinese-ctlaub IM
* leim/MISC-DIC/CTLau-b5.html (CTLau-b5 : Hanzi input by Cantonese
transcription (Lau style)): Add #x6A58 to GAT and GWAT.  (Bug#62898)
2023-04-25 17:39:23 +03:00
Eli Zaretskii
fa4eae191c ; * etc/NEWS: Fix last change. 2023-04-25 17:31:05 +03:00
Antero Mejr
c7fc4c8119 eww: Provide completions for bookmarks and suggested URIs.
* lisp/net/eww.el (eww): Add the result of 'eww-suggest-uris' to the
completion collection argument.
(eww-bookmark-urls): New procedure.
(eww-suggest-uris): Add "eww-bookmark-urls" to the default list.
* etc/NEWS (EWW): Add NEWS entry for the change.  (Bug#62800)
2023-04-25 17:29:23 +03:00
Antero Mejr
df6cc4d33b eww: Enable completion in URL/keyword prompt.
* lisp/net/eww.el (eww): Use 'completing-read' when prompting for a URL
or keywords.
(eww-minibuffer-url-keymap): New keymap for use in the URL/keyword
prompt.
* etc/NEWS (EWW): Add NEWS entry for the change.  (Bug#62800)
2023-04-25 17:28:10 +03:00
Eli Zaretskii
5741583f54 ; Auto-commit of loaddefs files. 2023-04-25 10:08:34 -04:00
Eli Zaretskii
095ec506d0 Merge from origin/emacs-29
524e161a53 Followup to addition of TUTORIAL.fa
76f50df153 Add Farsi/Persian translation of the tutorial
8eacfaea6d Add Mongolian language environments
fe8efbb8f7 Document the 'end-session' event on MS-Windows
d80f959bed Update to Org 9.6.4-9-g8eb209
98c6cfcbe4 Don't support versioned grammar libraries on MS-Windows
8f71c1546d Accept versioned tree-sitter language grammar files
99add09d5e tab-bar-new-tab: inhibit side-window checks
087e818194 * etc/NEWS: Fix outline level.  (Bug#63042)
d7f38558c4 ; Improve font selection for Traditional Mongolian
965c5e0231 Fix rendering of Traditional Mongolian script
9a0f10b5f8 Fix line-number-at-pos when POSITION is out of narrowing
4e0f4292aa ; * etc/tutorials/TUTORIAL: Fix punctuation.
dec2ac0c65 Fix exiting Emacs after saving a tutorial

# Conflicts:
#	etc/NEWS
2023-04-25 09:57:23 -04:00
Eli Zaretskii
f55ac7a745 ; Update authors.el
* admin/authors.el (authors-aliases): Update per
https://lists.gnu.org/archive/html/emacs-devel/2023-04/msg00692.html.
2023-04-25 16:45:31 +03:00
Po Lu
e6004ed30c Improve portability of pkg-config tests.
* configure.ac: Fix problems found after pkg-config was
installed on Solaris 10.
2023-04-25 20:41:05 +08:00
Your Name
b8f94eb0f1 Fix configure.ac for some Bourne shells
This fixes running configure under /bin/sh on Solaris 10, and
some other Unix systems.

* configure.ac: Avoid POSIX style command substitutions.
(emacs_major_version): Avoid POSIX style pattern substitution.
(PORT_PACKAGE, MAC_FLAGS, MAC_LIBS): Avoid POSIX style command
substitutions.
2023-04-25 20:28:38 +08:00
Eli Zaretskii
524e161a53 Followup to addition of TUTORIAL.fa
* etc/NEWS: Announce addition of TUTORIAL.fa.

* etc/tutorials/TUTORIAL.translators (TUTORIAL.fa): New entry.

* lisp/language/misc-lang.el ("Persian"): Add tutorial property.
2023-04-25 12:26:20 +03:00
Mohsen Banan
76f50df153 Add Farsi/Persian translation of the tutorial
* etc/tutorials/TUTORIAL.fa: New file.

* lisp/language/misc-lang.el (arabic-shaper-ZWNJ-handling): Fix
typo in doc string.
2023-04-25 12:19:24 +03:00
Eli Zaretskii
8eacfaea6d Add Mongolian language environments
* lisp/language/misc-lang.el ("Mongolian-traditional"):
* lisp/language/cyrillic.el ("Mongolian-cyrillic"): New
language environments.

* etc/HELLO: Add Mongolian Traditional.
* etc/NEWS: Announce the new language environments.

(Bug#63028)
2023-04-25 11:50:59 +03:00
Eli Zaretskii
fe8efbb8f7 Document the 'end-session' event on MS-Windows
* doc/lispref/commands.texi (Misc Events): Document the
'end-session' event.  (Bug#63058)
2023-04-25 09:35:30 +03:00
Po Lu
9043bef65f Merge remote-tracking branch 'origin/master' into feature/android 2023-04-25 08:33:56 +08:00
Kyle Meyer
d80f959bed Update to Org 9.6.4-9-g8eb209 2023-04-24 19:47:12 -04:00
Eli Zaretskii
98c6cfcbe4 Don't support versioned grammar libraries on MS-Windows
* src/treesit.c (treesit_load_language_push_for_each_suffix):
Don't append ".0.0" on WINDOWSNT.
2023-04-24 21:46:35 +03:00
Yuan Fu
8f71c1546d
Accept versioned tree-sitter language grammar files
By discussion on emacs-devel, titled "Versioned Tree-sitter parser
libraries".

* src/treesit.c (Vtreesit_str_dot_0): New variable.
(treesit_load_language_push_for_each_suffix): Additionally look for
lib_base_name.0 and lib_base_name.0.0.
(syms_of_treesit): Initialize Vtreesit_str_dot_0.
2023-04-24 10:38:40 -07:00
Eli Zaretskii
d18c4ef4fe ; Fix last change in help.el
* lisp/help.el (describe-bindings-outline-rules): Fix :type.
Reported by Robert Pluim <rpluim@gmail.com>.
2023-04-24 19:22:44 +03:00
Mattias Engdegård
de0b96c4ae ; * lisp/mail/uudecode.el (uudecode-use-external): Boolean value. 2023-04-24 16:06:14 +02:00
Mattias Engdegård
613591f384 Require custom values of boolean type to be nil or t
This helps detecting mistakes in types and/or initial values.

* lisp/wid-edit.el (boolean): Add :match function.
2023-04-24 16:03:47 +02:00
Benson Chu
99add09d5e tab-bar-new-tab: inhibit side-window checks
Previously, calling 'tab-bar-new-tab-to' only removed the
'window-side' property on the currently selected window,
and then a call to 'delete-other-windows' was made to
ensure that the selected window was the only window.
We can skip this check by shadowing 'window--sides-inhibit-check'
to t.
* lisp/tab-bar.el (tab-bar-new-tab-to): Inhibit side-window checks.
(Bug#62427)

Copyright-paperwork-exempt: yes
2023-04-24 14:47:14 +03:00
Eshel Yaron
2ef6f943ab Add option to control default outlining in 'C-h b'
* lisp/help.el (describe-bindings-outline-rules): New user option.
(describe-bindings): Use it instead of hardcoding "Key translations".
(Bug#62708)
2023-04-24 14:42:00 +03:00
Eli Zaretskii
62e4eb8fcf Fix build when Org's version changes
* lisp/org/org-macs.el (org--inhibit-version-check): Rename from
'org--built-in-p' and make it a defvar.  All users changed.
(Bug#62762)
2023-04-24 14:16:05 +03:00
Michael Albinus
087e818194 * etc/NEWS: Fix outline level. (Bug#63042)
Fix typos.
2023-04-24 09:40:43 +02:00
Po Lu
85a9757b3c Merge remote-tracking branch 'origin/master' into feature/android 2023-04-24 08:49:30 +08:00
Jim Porter
65735cee71 ; Fix last change 2023-04-23 12:08:32 -07:00
Jim Porter
3ce462c8fd When examining merge commits in our Git hooks, only check the first parent
This does two things:

  1. We can properly validate log entries in merge commits.
  2. We don't check commits that were merged in from other branches.

* build-aux/git-hooks/commit-msg-files.awk (get_commit_changes): Get
the changes compared to the first parent.

* build-aux/git-hooks/pre-push: Only get the first parent of merge
commits when returning the rev-list, and only check "master" or
"emacs-NN" branches.
2023-04-23 12:07:08 -07:00
Jim Porter
e26dcc0e14 ; Fix logic of Git pre-push hook when pushing a new branch
* build-aux/git-hooks/pre-push: Update the Git command to run on each
iteration.
2023-04-23 12:07:08 -07:00
Jim Porter
9914de503b Improve the logic of the file entry Git hooks to support more cases
In addition to starting with a "*", file entries now need a ":"
somewhere in them.  This helps reduce false positives with bulleted
lists.  Also, support multiple files separated by commas after a "*".

* build-aux/git-hooks/commit-msg-files.awk (check_commit_msg_files):
Accumulate file entries over multiple lines to support the above.
2023-04-23 12:07:08 -07:00
Eli Zaretskii
d7f38558c4 ; Improve font selection for Traditional Mongolian
* lisp/international/fontset.el (setup-default-fontset): Improve
the font spec for Traditional Mongolian.  (Bug#63028)
2023-04-23 19:11:49 +03:00
Eli Zaretskii
965c5e0231 Fix rendering of Traditional Mongolian script
* lisp/international/characters.el: Set punctuation syntax for Po
characters from the Mongolian block
* lisp/international/fontset.el (setup-default-fontset): Add
fontset setting for Traditional Mongolic.
* lisp/language/misc-lang.el (composition-function-table): Add
rules for Traditional Mongolic.  (Bug#63028)
2023-04-23 17:04:56 +03:00
Michael Albinus
2e85ac2b27 Add new Tramp method "flatpak"
* doc/misc/tramp.texi (Inline methods): Add flatpak.

* etc/NEWS: Add new Tramp method "flatpak".  Fix typos.

* lisp/net/tramp-container.el (tramp-flatpak-program): New defcustom.
(tramp-flatpak-method): New defconst.
(tramp-flatpak--completion-function): New defun.  Set it for "flatpak".
(tramp-methods) <flatpak>: Add.
(tramp-container-connection-local-default-flatpak-variables):
New defconst.  Set respective connection-local variables.
2023-04-23 13:37:39 +02:00
Po Lu
0a113a32c4 Merge remote-tracking branch 'origin/master' into feature/android 2023-04-23 08:36:11 +08:00