diff options
| author | Eli Zaretskii | 2025-01-25 10:06:19 -0500 |
|---|---|---|
| committer | Eli Zaretskii | 2025-01-25 10:06:19 -0500 |
| commit | 6016967e858e12f07c3cf4ade35cddef7b91a0d4 (patch) | |
| tree | eafea5f10d6432b3de53dab534604193cafe98e8 /admin | |
| parent | e8f173f0ba9327033781429ea9a1d99ff8d2f751 (diff) | |
| parent | 67903f5909db5c6140eeffebfaf818b4f93625d5 (diff) | |
| download | emacs-6016967e858e12f07c3cf4ade35cddef7b91a0d4.tar.gz emacs-6016967e858e12f07c3cf4ade35cddef7b91a0d4.zip | |
Merge from origin/emacs-30
67903f5909d Restore the old behavior of `bookmark-write-file'
062da7003f9 ; Improve prompts and error messages in 'info-look'
52dc01f1c8b ; * admin/admin.el (set-version): Note about Android.
fb282da2a07 Avoid double spaces around abbrevations in Texinfo
bc1ab8ac3d8 ; * doc/emacs/custom.texi (Init Rebinding): Fix spacing.
b41ef43af19 ; Fix previous change
5638b1d6bd4 Ispell: Use "personal dictionary" terminology consistently
cc791e7499f ; Check man pages for mistakes less frequently
4ed4792e3b9 ; * admin/release-process: Minor copy-edits.
4a867c823b7 Add language server "ruff server" for Python
9e687c2871f Fix go-ts-mode type declaration indentation (Bug#75785)
f751b3afa4f ; Minor improvements for doc strings in map.el
cda78edc7d9 ; Fix typos
ce50a1d3c18 ; * src/w32.c (w32_memory_info): Fix coding style of last...
58d3d4820ad Fix bug in w32_memory_info
77386412050 Avoid crashes in redisplay due to problematic font setups
0e3687e6006 Improve 'key-valid-p' docstring
9878092d2b9 Minor copyedits in internals.texi
4726900fdc5 Better document side-effect free and pure C functions
04c475a39f2 ; Fix documentation about faces of tool-tip text
# Conflicts:
# admin/codespell/codespell.exclude
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/admin.el | 5 | ||||
| -rw-r--r-- | admin/codespell/codespell.exclude | 13 | ||||
| -rw-r--r-- | admin/make-tarball.txt | 5 | ||||
| -rwxr-xr-x | admin/nt/dist-build/build-dep-zips.py | 8 | ||||
| -rw-r--r-- | admin/nt/dist-build/emacs.nsi | 6 | ||||
| -rw-r--r-- | admin/release-process | 22 |
6 files changed, 38 insertions, 21 deletions
diff --git a/admin/admin.el b/admin/admin.el index a6a6aa76bb8..5cbf5ed3f5c 100644 --- a/admin/admin.el +++ b/admin/admin.el | |||
| @@ -131,6 +131,11 @@ Root must be the root of an Emacs source tree." | |||
| 131 | (set-version-in-file root "etc/refcards/ru-refcard.tex" newmajor | 131 | (set-version-in-file root "etc/refcards/ru-refcard.tex" newmajor |
| 132 | "\\\\newcommand{\\\\versionemacs}\\[0\\]\ | 132 | "\\\\newcommand{\\\\versionemacs}\\[0\\]\ |
| 133 | {\\([0-9]\\{2,\\}\\)}.+%.+version of Emacs"))) | 133 | {\\([0-9]\\{2,\\}\\)}.+%.+version of Emacs"))) |
| 134 | ;; Note: There's also the "android:versionCode=" property in | ||
| 135 | ;; java/AndroidManifest.xml, whose value is the major Emacs version, | ||
| 136 | ;; but if we increase it, upgraded installation will be unable to be | ||
| 137 | ;; downgraded to previous Emacs releases. (The corresponding | ||
| 138 | ;; "android:versionName=" value there is updated by configure.) | ||
| 134 | (let* ((oldversion | 139 | (let* ((oldversion |
| 135 | (with-temp-buffer | 140 | (with-temp-buffer |
| 136 | (insert-file-contents (expand-file-name "README" root)) | 141 | (insert-file-contents (expand-file-name "README" root)) |
diff --git a/admin/codespell/codespell.exclude b/admin/codespell/codespell.exclude index f11918f53f3..5ebe467bcfe 100644 --- a/admin/codespell/codespell.exclude +++ b/admin/codespell/codespell.exclude | |||
| @@ -1749,3 +1749,16 @@ All the characters whose Unicode general-category is Nd now have the | |||
| 1749 | (skipp (or (erc--memq-msg-prop 'erc--skip 'stamp) | 1749 | (skipp (or (erc--memq-msg-prop 'erc--skip 'stamp) |
| 1750 | (when (and fullp culled (not skipp) (< 1 beg 3 end)) | 1750 | (when (and fullp culled (not skipp) (< 1 beg 3 end)) |
| 1751 | ((not skipp)) | 1751 | ((not skipp)) |
| 1752 | (elisp--safe-macroexpand-all): Make the warning more discrete. | ||
| 1753 | |PACK|UNPK|INDX|BLD |LEN |... | | ||
| 1754 | @key{INDX} removes an integer @var{n}, then builds a vector of | ||
| 1755 | integers from 1 to @var{n}. @kbd{INV INDX} takes three numbers | ||
| 1756 | (sref STRING INDX) returns the character in STRING at INDEX. INDEX | ||
| 1757 | ;; |PACK|UNPK|INDX|BLD |LEN |... | | ||
| 1758 | ( "INDX" (progn calc-num-prefix calc-index) "\C-u\excalc-index\r" ) | ||
| 1759 | (calc-enter-result 3 "indx" (cons 'calcFunc-index (calc-top-list-n 3))) | ||
| 1760 | (calc-enter-result 0 "indx" (list 'calcFunc-index | ||
| 1761 | (elisp--safe-macroexpand-all): Make the warning more discreet. | ||
| 1762 | dee6b36286 If use-package-verbose is t, show loading times when :afte... | ||
| 1763 | 267fc6d00c4 ruby-smie-rules: Fix misindentation of a method call afte... | ||
| 1764 | b0181dafb9e Improve documentation of 'enable-local-variables' in Emac... | ||
diff --git a/admin/make-tarball.txt b/admin/make-tarball.txt index 8e23165b257..858f381cb61 100644 --- a/admin/make-tarball.txt +++ b/admin/make-tarball.txt | |||
| @@ -172,11 +172,6 @@ General steps (for each step, check for possible errors): | |||
| 172 | 4. autoreconf -i -I m4 --force | 172 | 4. autoreconf -i -I m4 --force |
| 173 | make bootstrap | 173 | make bootstrap |
| 174 | 174 | ||
| 175 | The below script checks for any mistakes in the source text of | ||
| 176 | manual pages. Fix any errors and re-run the script to verify. | ||
| 177 | |||
| 178 | ./admin/check-man-pages | ||
| 179 | |||
| 180 | Then do this: | 175 | Then do this: |
| 181 | 176 | ||
| 182 | make -C etc/refcards | 177 | make -C etc/refcards |
diff --git a/admin/nt/dist-build/build-dep-zips.py b/admin/nt/dist-build/build-dep-zips.py index 567e8eb2133..af3036eb8e6 100755 --- a/admin/nt/dist-build/build-dep-zips.py +++ b/admin/nt/dist-build/build-dep-zips.py | |||
| @@ -30,7 +30,7 @@ EMACS_MAJOR_VERSION= os.getenv('EMACS_MAJOR_VERSION') or "30" | |||
| 30 | # Base URI for the package sources mapped in PKG_REQ | 30 | # Base URI for the package sources mapped in PKG_REQ |
| 31 | SRC_REPO="https://repo.msys2.org/mingw/sources" | 31 | SRC_REPO="https://repo.msys2.org/mingw/sources" |
| 32 | 32 | ||
| 33 | # Map items in `dynamic-library-alist' to source pakages | 33 | # Map items in `dynamic-library-alist' to source packages |
| 34 | PKG_REQ='''mingw-w64-x86_64-giflib | 34 | PKG_REQ='''mingw-w64-x86_64-giflib |
| 35 | mingw-w64-x86_64-gnutls | 35 | mingw-w64-x86_64-gnutls |
| 36 | mingw-w64-x86_64-harfbuzz | 36 | mingw-w64-x86_64-harfbuzz |
| @@ -47,7 +47,7 @@ mingw-w64-x86_64-xpm-nox | |||
| 47 | mingw-w64-x86_64-tree-sitter | 47 | mingw-w64-x86_64-tree-sitter |
| 48 | mingw-w64-x86_64-sqlite3'''.split() | 48 | mingw-w64-x86_64-sqlite3'''.split() |
| 49 | 49 | ||
| 50 | # Emacs style path to dependancy DLLs on build system | 50 | # Emacs style path to dependency DLLs on build system |
| 51 | DLL_SRC="c:/msys64/mingw64/bin" | 51 | DLL_SRC="c:/msys64/mingw64/bin" |
| 52 | 52 | ||
| 53 | # libraries we never include | 53 | # libraries we never include |
| @@ -110,7 +110,7 @@ def gather_deps(): | |||
| 110 | print("Deps updated in", os.getcwd(), "as", zipfile) | 110 | print("Deps updated in", os.getcwd(), "as", zipfile) |
| 111 | os.chdir("../") | 111 | os.chdir("../") |
| 112 | 112 | ||
| 113 | # Return dependancies listed in Emacs | 113 | # Return dependencies listed in Emacs |
| 114 | def init_deps(): | 114 | def init_deps(): |
| 115 | return '''libXpm-nox4.dll | 115 | return '''libXpm-nox4.dll |
| 116 | libpng16-16.dll | 116 | libpng16-16.dll |
| @@ -382,7 +382,7 @@ parser.add_argument("-d", help="dry run", | |||
| 382 | parser.add_argument("-l", help="list dependencies", | 382 | parser.add_argument("-l", help="list dependencies", |
| 383 | action="store_true") | 383 | action="store_true") |
| 384 | 384 | ||
| 385 | parser.add_argument("-e", help="extract direct dependancies", | 385 | parser.add_argument("-e", help="extract direct dependencies", |
| 386 | action="store_true") | 386 | action="store_true") |
| 387 | 387 | ||
| 388 | args = parser.parse_args() | 388 | args = parser.parse_args() |
diff --git a/admin/nt/dist-build/emacs.nsi b/admin/nt/dist-build/emacs.nsi index b8226d69423..4a5de4f85f9 100644 --- a/admin/nt/dist-build/emacs.nsi +++ b/admin/nt/dist-build/emacs.nsi | |||
| @@ -92,7 +92,7 @@ Section "Uninstall" | |||
| 92 | # remove All Users shortcuts only | 92 | # remove All Users shortcuts only |
| 93 | # SetShellVarContext all | 93 | # SetShellVarContext all |
| 94 | 94 | ||
| 95 | # retreive/recalculate uninstaller location | 95 | # retrieve/recalculate uninstaller location |
| 96 | StrCpy $UninstallerPath "$INSTDIR\Uninstall-${VERSION_BRANCH}.exe" | 96 | StrCpy $UninstallerPath "$INSTDIR\Uninstall-${VERSION_BRANCH}.exe" |
| 97 | 97 | ||
| 98 | # remove registry key | 98 | # remove registry key |
| @@ -101,7 +101,7 @@ Section "Uninstall" | |||
| 101 | # delete uninstaller | 101 | # delete uninstaller |
| 102 | Delete "$INSTDIR\Uninstall-${VERSION_BRANCH}.exe" | 102 | Delete "$INSTDIR\Uninstall-${VERSION_BRANCH}.exe" |
| 103 | 103 | ||
| 104 | # retreive/reclculate startmenu shortcuts location | 104 | # retrieve/recalculate startmenu shortcuts location |
| 105 | !insertmacro MUI_STARTMENU_GETFOLDER Application $StartMenuFolder | 105 | !insertmacro MUI_STARTMENU_GETFOLDER Application $StartMenuFolder |
| 106 | StrCpy $StartMenuFolder "$SMPROGRAMS\$StartMenuFolder" | 106 | StrCpy $StartMenuFolder "$SMPROGRAMS\$StartMenuFolder" |
| 107 | 107 | ||
| @@ -120,7 +120,7 @@ Section "Uninstall" | |||
| 120 | # we're basically using GOTO, above, so we should get here.. | 120 | # we're basically using GOTO, above, so we should get here.. |
| 121 | startMenuDeleteLoopDone: | 121 | startMenuDeleteLoopDone: |
| 122 | 122 | ||
| 123 | # next we remove stuff from program-files/instalation path | 123 | # next we remove stuff from program-files/installation path |
| 124 | # start with recursive delete of the Emacs we installed | 124 | # start with recursive delete of the Emacs we installed |
| 125 | RMDir /r "$INSTDIR\emacs-${VERSION_BRANCH}" | 125 | RMDir /r "$INSTDIR\emacs-${VERSION_BRANCH}" |
| 126 | 126 | ||
diff --git a/admin/release-process b/admin/release-process index d66bc48f70d..7240ff10a29 100644 --- a/admin/release-process +++ b/admin/release-process | |||
| @@ -90,7 +90,8 @@ documentation (or decide no updates are necessary) for those that aren't. | |||
| 90 | 90 | ||
| 91 | ** Try to reorder NEWS: most important things first, related items together. | 91 | ** Try to reorder NEWS: most important things first, related items together. |
| 92 | 92 | ||
| 93 | ** For a major release, add a "New in Emacs XX" section to faq.texi. | 93 | ** For a major release, add a "New in Emacs XX" section to efaq.texi. |
| 94 | This should highlight some of the more significant changes. | ||
| 94 | 95 | ||
| 95 | ** cusver-check from admin.el can help find new defcustoms missing | 96 | ** cusver-check from admin.el can help find new defcustoms missing |
| 96 | :version tags. This asks for new and old Lisp directories; use the one | 97 | :version tags. This asks for new and old Lisp directories; use the one |
| @@ -113,14 +114,14 @@ Check for node names using problematic characters: | |||
| 113 | Sadly makeinfo does not warn about such characters. | 114 | Sadly makeinfo does not warn about such characters. |
| 114 | 115 | ||
| 115 | Check for major new features added since the last release (e.g. new | 116 | Check for major new features added since the last release (e.g. new |
| 116 | lisp files), and add the relevant authors to the Acknowledgments in | 117 | Lisp files), and add the relevant authors to the Acknowledgments in |
| 117 | doc/emacs/ack.texi and emacs.texi. To find new files, you could run a | 118 | doc/emacs/ack.texi and emacs.texi. To find new files, you could run a |
| 118 | command such as this: | 119 | command such as this: |
| 119 | 120 | ||
| 120 | $ diff -rq emacs-NN.MM emacs-XX.YY | grep "^Only in emacs-XX" | 121 | $ git diff --name-status emacs-NN emacs-XX | grep -E "^A" |
| 121 | 122 | ||
| 122 | where NN.MM is the previous Emacs version, and XX.YY is the new version. | 123 | where emacs-NN is the previous Emacs release branch, and emacs-XX is the |
| 123 | This assumes you have the source trees of both versions available. | 124 | new one. |
| 124 | 125 | ||
| 125 | For major releases, rewrite the "Antinews" appendix of the User Manual | 126 | For major releases, rewrite the "Antinews" appendix of the User Manual |
| 126 | (doc/emacs/anti.texi) to describe features lost by downgrading to the | 127 | (doc/emacs/anti.texi) to describe features lost by downgrading to the |
| @@ -129,10 +130,6 @@ significant changes and new features in the upcoming release, then | |||
| 129 | describe the "benefits" from losing those features. Be funny, use | 130 | describe the "benefits" from losing those features. Be funny, use |
| 130 | humor. The text written for the previous releases can serve as an example. | 131 | humor. The text written for the previous releases can serve as an example. |
| 131 | 132 | ||
| 132 | The Emacs FAQ (doc/misc/efaq.texi) also has a "What's new" section; | ||
| 133 | for major releases a new section should be added listing the | ||
| 134 | significant changes. | ||
| 135 | |||
| 136 | Check cross-references between the manuals (e.g. from emacs to elisp) | 133 | Check cross-references between the manuals (e.g. from emacs to elisp) |
| 137 | are correct. You can use something like the following in the info | 134 | are correct. You can use something like the following in the info |
| 138 | directory in the Emacs build tree: | 135 | directory in the Emacs build tree: |
| @@ -225,6 +222,13 @@ https://publicsuffix.org/list/public_suffix_list.dat | |||
| 225 | - leim/SKK-DIC/SKK-JISYO.L | 222 | - leim/SKK-DIC/SKK-JISYO.L |
| 226 | https://raw.githubusercontent.com/skk-dev/dict/master/SKK-JISYO.L | 223 | https://raw.githubusercontent.com/skk-dev/dict/master/SKK-JISYO.L |
| 227 | 224 | ||
| 225 | ** Check for mistakes in man pages. | ||
| 226 | |||
| 227 | The below script checks for any mistakes in the source text of | ||
| 228 | manual pages. Fix any errors and re-run the script to verify. | ||
| 229 | |||
| 230 | ./admin/check-man-pages | ||
| 231 | |||
| 228 | * BUGS | 232 | * BUGS |
| 229 | 233 | ||
| 230 | ** Check for modes which bind M-s that conflicts with a new global binding M-s | 234 | ** Check for modes which bind M-s that conflicts with a new global binding M-s |