Commit graph

148068 commits

Author SHA1 Message Date
Stefan Kangas
e1541b5cb4 Rename abnormal hook to comp-async-cu-done-functions
* lisp/emacs-lisp/comp.el (comp-async-cu-done-functions): Rename
from 'comp-async-cu-done-hook' to reflect that it is an abnormal
hook.  Doc fix and update single caller.
2021-04-27 03:37:43 +02:00
Lars Ingebrigtsen
bd5aebce03 Fix failing subr test
* test/lisp/subr-tests.el (subr-tests-bug22027): Fix mocked
signature of `read-string' (bug#48022).
2021-04-27 01:31:52 +02:00
Lars Ingebrigtsen
e1562bbab3 Fix failing auth-source test
* test/lisp/auth-source-tests.el
(auth-source-test-secrets-create-secret): Fix test failing because
the mocked `read-string' had the wrong interface.
2021-04-27 01:27:58 +02:00
Adam Sjøgren
cbd95b9a41 Ensure that we get an X-Draft-From headers
* lisp/gnus/gnus-msg.el (gnus-setup-message): Ensure that we get an
X-Draft-From headers (bug#48049).
2021-04-27 01:18:07 +02:00
Stefan Monnier
7f03ee8de1 * lisp/emacs-lisp/package.el: Fix use of find-library-name
That function caused a warning for a good reason.
Don't just declare it and hope it will be available.

(package--list-of-conflicts): Require `find-func` explicitly before
declaring the function.  Also don't ignore all errors but only
the `file-error`s which will be emitted by `find-library-name`
in normal circumstances.

* lisp/emacs-lisp/find-func.el (find-library-name): Signal a `file-error`
Instead of a generic `error`.
2021-04-26 18:40:09 -04:00
Andrea Corallo
40c71e574a * lisp/emacs-lisp/comp-cstr.el (comp-ctxt): Initialize it. 2021-04-26 23:13:41 +02:00
Andrea Corallo
edf42af2cc Rework where `comp-ctxt' is defined.
* test/lisp/emacs-lisp/comp-cstr-tests.el (comp-ctxt): Remove
	`comp-ctxt' definition.
	* lisp/emacs-lisp/comp.el (comp-ctxt): Likewise.
	* lisp/emacs-lisp/comp-cstr.el (comp-ctxt): Define it here.
2021-04-26 23:01:39 +02:00
Andrea Corallo
4396ef5a38 * lisp/emacs-lisp/comp.el: Make it loadable in vanilla builds (bug#48021). 2021-04-26 22:45:08 +02:00
Andrea Corallo
fbfb503012 * lisp/emacs-lisp/comp.el (comp-known-type-specifiers): Fix string-search. 2021-04-26 22:32:05 +02:00
Eric Abrahamsen
6546ebcb97 Small tweaks to gnus-registry reindexing messaging
* lisp/gnus/gnus-registry.el (gnus-registry-fixup-registry): Use
`seq-set-equal-p' so we don't care about list element ordering.  Don't
show messages within `registry-reindex' if we aren't at gnus-verbose
level 9.
2021-04-26 12:08:14 -07:00
Lars Ingebrigtsen
a139f14c05 Fix previous emake adjustment 2021-04-26 20:51:52 +02:00
Andrea Corallo
449045b2a6 Make use of ert-resource-file' ert-resource-directory' in comp-tests
* test/src/comp-resources/comp-test-pure.el: Rename.
	* test/src/comp-resources/comp-test-funcs.el: Likewise.
	* test/src/comp-resources/comp-test-funcs-dyn.el: Likewise.
	* test/src/comp-resources/comp-test-45603.el: Likewise.
	* test/src/comp-tests.el (comp-test-src, comp-test-dyn-src): Use
	`ert-resource-file'.
	(comp-tests-bootstrap): Use ert-resource-directory.
	(comp-tests-45603-1, comp-tests-pure): Use `ert-resource-file'.
2021-04-26 20:01:50 +02:00
Andrea Corallo
9d34fd8b33 * Use expand-file-name' in place of concat' in comp-tests.el
* test/src/comp-tests.el (comp-test-src,
	comp-test-dyn-src) (comp-tests-bootstrap, comp-tests-pure,
	comp-test-src): Use `expand-file-name' in place of `concat'.
2021-04-26 17:28:38 +02:00
Andrea Corallo
244e97d5f8 Move native compiler test data into proper directory (bug#48031)
* test/src/comp-tests-resources/comp-test-45603.el: Rename.
	* test/src/comp-tests-resources/comp-test-funcs-dyn.el: Likewise.
	* test/src/comp-tests-resources/comp-test-funcs.el: Likewise.
	* test/src/comp-tests-resources/comp-test-pure.el: Likewise.
	* test/src/comp-tests.el (comp-test-directory): Update.
2021-04-26 17:28:18 +02:00
Andrea Corallo
d164436b2a * test/src/comp-tests.el: Fix it for non native compiled build (bug#48031). 2021-04-26 16:59:17 +02:00
Andrea Corallo
a390a4965f * Fix comp-cstr tests for vanilla build (bug#48021)
* test/lisp/emacs-lisp/comp-cstr-tests.el (comp-ctxt): Fix tests
	for vanilla build (bug#48021)
2021-04-26 16:52:10 +02:00
Andrea Corallo
58fc16063c * lisp/emacs-lisp/comp.el (comp-accept-and-process-async-output): Fix regexp. 2021-04-26 16:00:03 +02:00
Michael Albinus
de80086b95 Some rearrangement in gitlab-ci.yml
* test/infra/gitlab-ci.yml (test-filenotify-gio, test-gnustep):
Add 'needs:' clause.
(build-native-bootstrap-speed0, build-native-bootstrap-speed1)
(build-native-bootstrap-speed2): Rename from 'test-*'.  Do not use
'--without-makeinfo'.
2021-04-26 15:53:59 +02:00
Dario Gjorgjevski
a9560a2b51 Fix typo in tramp-get-remote-gid
* lisp/net/tramp.el (tramp-get-remote-gid): Pass the correct
operation to find-file-name-handler.  (Bug#48026)
2021-04-26 09:57:23 +02:00
Stefan Kangas
50f29f6a28 * src/editfns.c (Fpropertize): Doc fix; reference Info manual. 2021-04-26 04:40:48 +02:00
Glenn Morris
890631bc6a ; NEWS copyedits 2021-04-25 17:49:42 -07:00
Glenn Morris
b7c22fab7d ; Add 2021 to copyright years 2021-04-25 17:24:48 -07:00
Stefan Monnier
8e2faa74ce * lisp/url/url-proxy.el (url-find-proxy-for-url): Minor simplification 2021-04-25 17:29:01 -04:00
Andrea Corallo
83a915d3df * lisp/startup.el (comp-eln-load-path): Silence a warning. 2021-04-25 20:58:37 +02:00
Lars Ingebrigtsen
6bfe589078 Hack around problems in Turkish environments in url-proxy
* lisp/url/url-proxy.el (url-find-proxy-for-url): Work around a
problem in Turkish language environments (where a downcased I is
?ı (bug#44604).
2021-04-25 20:54:56 +02:00
Stefan Kangas
ec2ccae3e6 * lisp/emacs-lisp/comp.el (no-native-compile): Minor doc fixes. 2021-04-25 20:47:44 +02:00
Stefan Kangas
230f90d6e2 * lisp/help-macro.el: Remove stale Change Log. 2021-04-25 20:47:44 +02:00
Lars Ingebrigtsen
2a33fc8d19 Adjust regexp to extra native-comp lines 2021-04-25 20:36:01 +02:00
Andrea Corallo
289000eee7 Merge branch 'feature/native-comp' into into trunk 2021-04-25 20:06:22 +02:00
Lars Ingebrigtsen
8f63f0078a Revert window/winner changes (Revert 0454bfd331)
See bug#23621 for an explanation.
2021-04-25 19:47:14 +02:00
Alan Mackenzie
142babb9bd CC Mode: Get proper search limits in c-font-lock-cut-off-declarators
* lisp/progmodes/cc-fonts.el (c-font-lock-cut-off-declarators): Instead of
using a crude 2,000 characters back limit for backward searching, which is
erroneous when that point is in a literal, use the already calculated
c-determine-limit result.
2021-04-25 17:40:16 +00:00
Glenn Morris
6dabbddb5f Merge from origin/emacs-27
7d5b973959 (origin/emacs-27) * doc/misc/cl.texi (For Clauses): Minor ...
4570781f8d ; * doc/lispref/files.texi (Directory Names): Add missing ...
1b52fd538d Minor update for make-tarball.txt
8efb8491b2 * doc/misc/cl.texi (Iteration Clauses): fix `never' clause...
0873134682 ; Fix Texinfo in last change to minibuf.texi.
cad8913c89 Improve filling-related documentation
2b7eed23eb ; * doc/lispref/keymaps.texi (Easy Menu): Fix typo.
47fc92cefc Fix reference to "yanking" in the main Emacs manual
1789dcdb35 Improve documentation of 'map-y-or-n-p'
2021-04-25 09:16:09 -07:00
Stefan Kangas
6f9180ecb6 Add more scroll key bindings to make-help-screen
* lisp/help-macro.el (make-help-screen): Add bindings to scroll on
<PageUp>, <PageDown>, <up>, <down>.
2021-04-25 17:04:29 +02:00
Gregory Heytings
a6d40a289e Fix the handling of the Delete key in help screens.
* lisp/help-macro.el (make-help-screen): Handle the Delete key
in help screens as in Emacs 23 and earlier.

Copyright-paperwork-exempt: yes
2021-04-25 16:43:44 +03:00
Stefan Kangas
13a248f7e7 ; * lisp/help.el (help-for-help): Fix thinko. 2021-04-25 13:57:47 +02:00
Stefan Kangas
bbe8cb8849 * lisp/ses.el: Doc fixes. 2021-04-25 13:12:48 +02:00
Stefan Kangas
34367cc8af Don't hard-code face of "Install" button
* lisp/emacs-lisp/package.el (package-make-button): Use the
'custom-button' face for the "Install" button.  (Bug#47944)
2021-04-25 13:00:29 +02:00
Stefan Kangas
33ba69cd76 Remove redundant #' before lambda in printing.el
* lisp/printing.el (pr-menu-create, pr-eval-setting-alist)
(pr-complete-alist, pr-file-list, pr-ps-file-list)
(pr-insert-section-1, pr-insert-section-2)
(pr-insert-section-4, pr-insert-section-5, pr-choice-alist)
Remove redundant #' before lambda.
2021-04-25 12:16:49 +02:00
Stefan Kangas
e1f0da91ab * src/keyboard.c (Flossage_size): Improve prompt. 2021-04-25 11:52:40 +02:00
Stefan Kangas
39bea8b59c Show correct lossage size in help-for-help
* lisp/help.el (help-for-help): Show correct lossage size.  Add
trailing newline.
Suggested by Gregory Heytings <gregory@heytings.org>.
2021-04-25 11:52:40 +02:00
Štěpán Němec
bda866009b * doc/lispref/macros.texi (Eval During Expansion): Copy edit. 2021-04-25 09:30:16 +02:00
Daniel Mendler
86d1b4d88f (completion-all-sorted-completions): Fix history use with boundaries
Preprocess the history (and the default) through the new function
`minibuffer--sort-preprocess-history` to filter out the completion
base for completion tables with boundaries (in particular the file
completion table).

* lisp/minibuffer.el (minibuffer--sort-preprocess-history_: New function.
(completion-all-sorted-completions): Use it.
* test/lisp/minibuffer-tests.el (completion-all-sorted-completions):
Add tests for various combinations of with/without history/base/default.
2021-04-24 18:15:24 -04:00
Juri Linkov
bc026835df * lisp/progmodes/project.el: Use project-prefixed-buffer-name in more places.
(project-shell, project-eshell): Use project-prefixed-buffer-name (bug#47975).
(project-compilation-buffer-name-function): Add :version tag.
2021-04-25 00:54:01 +03:00
Philipp Stephani
7d5b973959 * doc/misc/cl.texi (For Clauses): Minor copyedits. 2021-04-24 23:29:58 +02:00
Philipp Stephani
4570781f8d ; * doc/lispref/files.texi (Directory Names): Add missing parenthesis 2021-04-24 23:24:08 +02:00
Stefan Monnier
48b6cec61c * lisp/mpc.el: Avoid (implicit) eval; prefer #' to quote function names
(mpc-format): Compose functions instead of constructing
source-code expressions at run time.
Rename `mpc-pred` property to `mpc--uptodate-p`.
(mpc-status-buffer-refresh): Adjust to the new property name.
2021-04-24 15:57:22 -04:00
Stefan Monnier
d398eca44e * lisp/svg.el: Fix typo in sample code; add minor optimization
(svg--elliptical-arc-command, svg--moveto-command)
(svg--lineto-command): Use `mapcan`.
2021-04-24 14:07:12 -04:00
Stefan Monnier
dec8a4775d * doc/lispref/macros.texi (Eval During Expansion): Fix fixme 2021-04-24 13:45:08 -04:00
Glenn Morris
9b8dc629d3 Simlify top-level Makefile since admin is always included
* Makefile.in (clean_dirs, distclean_dirs, maintainer_clean_dirs):
Add admin directories.
(clean, distclean, bootstrap-clean, maintainer-clean): Simplify.
(maybeclean_dirs): Remove - this dates to when admin/ was not
included in tar files.
2021-04-24 10:05:17 -07:00
Štěpán Němec
2c2dfbbbf0 ; Fix some typos in doc strings and manuals 2021-04-24 18:26:07 +02:00