Skip to content

Commit 6016967

Browse files
committed
Merge from origin/emacs-30
67903f5 Restore the old behavior of `bookmark-write-file' 062da70 ; Improve prompts and error messages in 'info-look' 52dc01f ; * admin/admin.el (set-version): Note about Android. fb282da Avoid double spaces around abbrevations in Texinfo bc1ab8a ; * doc/emacs/custom.texi (Init Rebinding): Fix spacing. b41ef43 ; Fix previous change 5638b1d Ispell: Use "personal dictionary" terminology consistently cc791e7 ; Check man pages for mistakes less frequently 4ed4792 ; * admin/release-process: Minor copy-edits. 4a867c8 Add language server "ruff server" for Python 9e687c2 Fix go-ts-mode type declaration indentation (Bug#75785) f751b3a ; Minor improvements for doc strings in map.el cda78ed ; Fix typos ce50a1d ; * src/w32.c (w32_memory_info): Fix coding style of last... 58d3d48 Fix bug in w32_memory_info 7738641 Avoid crashes in redisplay due to problematic font setups 0e3687e Improve 'key-valid-p' docstring 9878092 Minor copyedits in internals.texi 4726900 Better document side-effect free and pure C functions 04c475a ; Fix documentation about faces of tool-tip text # Conflicts: # admin/codespell/codespell.exclude
2 parents e8f173f + 67903f5 commit 6016967

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+185
-154
lines changed

ChangeLog.3

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47356,7 +47356,7 @@
4735647356
possible bug.
4735747357

4735847358
* lisp/progmodes/flymake.el (flymake--mode-line-counter): Must
47359-
explicily create a new string unpropertized string
47359+
explicitly create a new string unpropertized string
4736047360

4736147361
2020-12-31 João Távora <[email protected]>
4736247362

@@ -160588,7 +160588,7 @@
160588160588
to be replaced with an appropriate character reference. Make
160589160589
‘sgml-quote’ do that.
160590160590

160591-
While at it, fix entiteis not being unquoted if they lack closing
160591+
While at it, fix entities not being unquoted if they lack closing
160592160592
semicolon (e.g. ‘&amp’) occurring at the very end of a region.
160593160593
Even though unlikely, make ‘sgml-quote’ handle this scenario.
160594160594

@@ -186568,7 +186568,7 @@
186568186568
Delete a Flymake obsolete alias that can't possibly work
186569186569

186570186570
The function `flymake-ler-make-ler' can't possibly work as an backward
186571-
compatible interface to existing extensinos (even purely hypothetical
186571+
compatible interface to existing extensions (even purely hypothetical
186572186572
ones, since none are known). This is because every diagnostic
186573186573
considered by Flymake has to passed to a report-fn function.
186574186574

@@ -223233,7 +223233,7 @@
223233223233
called any longer.
223234223234

223235223235
Furthermore, when newline has whitespace syntax, ‘\s-$’ regular
223236-
expression ends up matching empty lins since ‘\s-’ matches newline
223236+
expression ends up matching empty lines since ‘\s-’ matches newline
223237223237
characetr of proceeding line. This leads to needless loop iterations.
223238223238

223239223239
Since previous change to ‘delete-trailing-whitespace’ already introduced

ChangeLog.4

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@
342342

343343
Improve documentation for 'while-let'
344344

345-
* doc/lispref/control.texi (Conditionals): Reorganise describing
345+
* doc/lispref/control.texi (Conditionals): Reorganize describing
346346
what's overlapping between the macros (and between the macros
347347
and let*), and then improve the documentation for 'while-let'.
348348

@@ -15155,7 +15155,7 @@
1515515155

1515615156
Remove unnecessary (delq nil...).
1515715157

15158-
This is presumed to be an artifacto of an old default.
15158+
This is presumed to be an artifact of an old default.
1515915159

1516015160
* lisp/which-key.el (which-key-replacement-alist):
1516115161
Remove unnecessary (delq nil...).
@@ -50535,7 +50535,7 @@
5053550535

5053650536
The Emacs regexp engine interprets character ranges from ASCII to raw
5053750537
bytes, such as [a-\xfe], as not including non-ASCII Unicode at all;
50538-
ranges from non-ACII Unicode to raw bytes, such as [ü-\x91], are
50538+
ranges from non-ASCII Unicode to raw bytes, such as [ü-\x91], are
5053950539
ignored entirely.
5054050540

5054150541
To make rx produce a translation that works as intended, split ranges
@@ -53275,7 +53275,7 @@
5327553275

5327653276
* lisp/emacs-lisp/cl-macs.el (cl--slet): Add `nowarn` arg.
5327753277
(cl--defsubst-expand): Use it.
53278-
(cl-defstruct): Silence warnings abour lexical shadowing when a slot's
53278+
(cl-defstruct): Silence warnings about lexical shadowing when a slot's
5327953279
name happens to be the same as a dynbound var.
5328053280

5328153281
2023-06-25 Stefan Monnier <[email protected]>
@@ -68708,7 +68708,7 @@
6870868708
works.
6870968709

6871068710
* lisp/emacs-lisp/byte-opt.el (byte-optimize-lapcode):
68711-
Instead of re-using local variables through mutation, bind them at
68711+
Instead of reusing local variables through mutation, bind them at
6871268712
point of use. This ensures that there is no value leakage by mistake
6871368713
and actually reduces the static size of the bytecode of this function
6871468714
somewhat.
@@ -75501,7 +75501,7 @@
7550175501
4004dde6ea Avoid positional arguments to define-minor-mode
7550275502
cb85f9c274 Fix typo in use-package docstring
7550375503
30b35d6d62 Update use-package.texi
75504-
9be2580f5f optimization: constand folding for read-kbd-macro
75504+
9be2580f5f optimization: constant folding for read-kbd-macro
7550575505
1143f14d65 bind-keys-form: error for repeat sub-keywords without :rep...
7550675506
c4bd2aa3b8 bind-key-form: allow :continue keyword inside repeat map
7550775507
5ef327ce9f bind-key-form: allow :exit keyword inside repeat map

admin/admin.el

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,11 @@ Root must be the root of an Emacs source tree."
131131
(set-version-in-file root "etc/refcards/ru-refcard.tex" newmajor
132132
"\\\\newcommand{\\\\versionemacs}\\[0\\]\
133133
{\\([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.)
134139
(let* ((oldversion
135140
(with-temp-buffer
136141
(insert-file-contents (expand-file-name "README" root))

admin/codespell/codespell.exclude

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1749,3 +1749,16 @@ All the characters whose Unicode general-category is Nd now have the
17491749
(skipp (or (erc--memq-msg-prop 'erc--skip 'stamp)
17501750
(when (and fullp culled (not skipp) (< 1 beg 3 end))
17511751
((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...

admin/make-tarball.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,6 @@ General steps (for each step, check for possible errors):
172172
4. autoreconf -i -I m4 --force
173173
make bootstrap
174174

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-
180175
Then do this:
181176

182177
make -C etc/refcards

admin/nt/dist-build/build-dep-zips.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
# Base URI for the package sources mapped in PKG_REQ
3131
SRC_REPO="https://repo.msys2.org/mingw/sources"
3232

33-
# Map items in `dynamic-library-alist' to source pakages
33+
# Map items in `dynamic-library-alist' to source packages
3434
PKG_REQ='''mingw-w64-x86_64-giflib
3535
mingw-w64-x86_64-gnutls
3636
mingw-w64-x86_64-harfbuzz
@@ -47,7 +47,7 @@
4747
mingw-w64-x86_64-tree-sitter
4848
mingw-w64-x86_64-sqlite3'''.split()
4949

50-
# Emacs style path to dependancy DLLs on build system
50+
# Emacs style path to dependency DLLs on build system
5151
DLL_SRC="c:/msys64/mingw64/bin"
5252

5353
# libraries we never include
@@ -110,7 +110,7 @@ def gather_deps():
110110
print("Deps updated in", os.getcwd(), "as", zipfile)
111111
os.chdir("../")
112112

113-
# Return dependancies listed in Emacs
113+
# Return dependencies listed in Emacs
114114
def init_deps():
115115
return '''libXpm-nox4.dll
116116
libpng16-16.dll
@@ -382,7 +382,7 @@ def clean():
382382
parser.add_argument("-l", help="list dependencies",
383383
action="store_true")
384384

385-
parser.add_argument("-e", help="extract direct dependancies",
385+
parser.add_argument("-e", help="extract direct dependencies",
386386
action="store_true")
387387

388388
args = parser.parse_args()

admin/nt/dist-build/emacs.nsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Section "Uninstall"
9292
# remove All Users shortcuts only
9393
# SetShellVarContext all
9494

95-
# retreive/recalculate uninstaller location
95+
# retrieve/recalculate uninstaller location
9696
StrCpy $UninstallerPath "$INSTDIR\Uninstall-${VERSION_BRANCH}.exe"
9797

9898
# remove registry key
@@ -101,7 +101,7 @@ Section "Uninstall"
101101
# delete uninstaller
102102
Delete "$INSTDIR\Uninstall-${VERSION_BRANCH}.exe"
103103

104-
# retreive/reclculate startmenu shortcuts location
104+
# retrieve/recalculate startmenu shortcuts location
105105
!insertmacro MUI_STARTMENU_GETFOLDER Application $StartMenuFolder
106106
StrCpy $StartMenuFolder "$SMPROGRAMS\$StartMenuFolder"
107107

@@ -120,7 +120,7 @@ Section "Uninstall"
120120
# we're basically using GOTO, above, so we should get here..
121121
startMenuDeleteLoopDone:
122122

123-
# next we remove stuff from program-files/instalation path
123+
# next we remove stuff from program-files/installation path
124124
# start with recursive delete of the Emacs we installed
125125
RMDir /r "$INSTDIR\emacs-${VERSION_BRANCH}"
126126

admin/release-process

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ documentation (or decide no updates are necessary) for those that aren't.
9090

9191
** Try to reorder NEWS: most important things first, related items together.
9292

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

9596
** cusver-check from admin.el can help find new defcustoms missing
9697
:version tags. This asks for new and old Lisp directories; use the one
@@ -113,14 +114,14 @@ Check for node names using problematic characters:
113114
Sadly makeinfo does not warn about such characters.
114115

115116
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
117118
doc/emacs/ack.texi and emacs.texi. To find new files, you could run a
118119
command such as this:
119120

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"
121122

122-
where NN.MM is the previous Emacs version, and XX.YY is the new version.
123-
This assumes you have the source trees of both versions available.
123+
where emacs-NN is the previous Emacs release branch, and emacs-XX is the
124+
new one.
124125

125126
For major releases, rewrite the "Antinews" appendix of the User Manual
126127
(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
129130
describe the "benefits" from losing those features. Be funny, use
130131
humor. The text written for the previous releases can serve as an example.
131132

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-
136133
Check cross-references between the manuals (e.g. from emacs to elisp)
137134
are correct. You can use something like the following in the info
138135
directory in the Emacs build tree:
@@ -225,6 +222,13 @@ https://publicsuffix.org/list/public_suffix_list.dat
225222
- leim/SKK-DIC/SKK-JISYO.L
226223
https://raw.githubusercontent.com/skk-dev/dict/master/SKK-JISYO.L
227224

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+
228232
* BUGS
229233

230234
** Check for modes which bind M-s that conflicts with a new global binding M-s

doc/emacs/custom.texi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2043,7 +2043,7 @@ sequences. For example, to bind @kbd{C-c h} to the string
20432043
@end example
20442044

20452045
Non-@acronym{ASCII} characters can be specified directly in the
2046-
string. To bind to e.g. @samp{ol@'a}, use:
2046+
string. To bind to, for example, @samp{ol@'a}, use:
20472047

20482048
@example
20492049
(keymap-global-set "C-c h" (key-description "ol@'a"))

doc/emacs/dired.texi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ window with a Dired buffer, or the most recently used window with
749749
a Dired buffer, or to use any other function. When the value is
750750
a function, it will be called with no arguments and is expected to
751751
return a list of directories which will be used as defaults
752-
(i.e. default target and ``future history'').
752+
(i.e., default target and ``future history'').
753753

754754
Here are the file-manipulating Dired commands that operate on files.
755755

0 commit comments

Comments
 (0)