Juri Linkov
e726a00381
* lisp/vc/vc-dispatcher.el (vc-command-messages): Add choice 'log'.
...
(vc-do-command): Don't display messages but only write them to the *Messages*
buffer when vc-command-messages is 'log' (bug#52518).
2021-12-16 21:16:50 +02:00
Eli Zaretskii
0b43e7a493
Improve documentation of multisession variables
...
* doc/lispref/variables.texi (Multisession Variables): Improve
wording and markup, add indexing.
2021-12-16 11:13:03 +02:00
Lars Ingebrigtsen
81b589518c
Update files times in multisesssion properly
...
* lisp/emacs-lisp/multisession.el
(multisession--backend-set-value): Make cached/external files
times match up.
2021-12-16 08:05:37 +01:00
Lars Ingebrigtsen
ed77d1a8c0
Make the multisession files value read more resilient
...
* lisp/emacs-lisp/multisession.el
(multisession--update-file-value): Make more resilient towards errors.
2021-12-16 08:00:01 +01:00
Lars Ingebrigtsen
bc60ce7ffd
Skip extension tests on hosts without the function
2021-12-16 07:43:29 +01:00
Lars Ingebrigtsen
35dbc79cc3
Make emoji--recent use multisession variables
...
* lisp/international/emoji.el (emoji--recent): Make into a
multisession variable.
(emoji-recent, emoji--recent-transient): Use it.
(emoji--add-recent): Update it.
2021-12-16 07:23:52 +01:00
Lars Ingebrigtsen
3fd9d48f9b
Declare a couple more functions in multisession.el
...
* lisp/emacs-lisp/multisession.el: New file.
2021-12-16 07:22:00 +01:00
Lars Ingebrigtsen
bfc38ff058
Add support for multisession variables
...
* doc/lispref/elisp.texi (Top): Add to menu.
(Top):
* doc/lispref/variables.texi (Variables): Ditto.
(Multisession Variables): Document multisession variables.
* lisp/emacs-lisp/multisession.el: New file.
2021-12-16 07:20:04 +01:00
Po Lu
1c6363ff4b
Require xwidget.el in `make-xwidget'
...
* src/xwidget.c (Fmake_xwidget): Require `xwidget'.
2021-12-16 14:12:53 +08:00
Stefan Kangas
e7a6d6a546
Merge from origin/emacs-28
...
1e578267fb Fix control buffer window height in 'ediff-setup-control-b...
2021-12-16 06:31:48 +01:00
Stefan Kangas
ab33404c65
Prefer command remapping in ses.el
...
* lisp/ses.el (ses-mode-print-map): Use command remapping instead of
substitute-key-definition.
2021-12-16 03:14:31 +01:00
Stefan Kangas
2893cb6a21
Use defvar-keymap in hideif.el
...
* lisp/progmodes/hideif.el (hide-ifdef-mode-submap): Use
defvar-keymap. Use command remapping instead of
substitute-key-definition.
2021-12-15 21:38:55 +01:00
Michael Albinus
030a1a8bd5
Add errors in ert JUnit test reports
...
* lisp/emacs-lisp/ert.el (ert-write-junit-test-report)
(ert-write-junit-test-summary-report): Handle errors.
2021-12-15 18:54:31 +01:00
Martin Rudalics
1e578267fb
Fix control buffer window height in 'ediff-setup-control-buffer' (Bug#49277)
...
* lisp/vc/ediff-util.el (ediff-setup-control-buffer): Emulate
original 'shrink-window-if-larger-than-buffer' call by calling
'fit-window-to-buffer' with an appropriate maximum height
argument (Bug#49277).
2021-12-15 18:53:49 +01:00
Juri Linkov
6d8b6e67da
* lisp/outline.el (outline-minor-mode-use-buttons): Add :safe #'booleanp.
...
(outline-minor-mode-cycle, outline-minor-mode-highlight):
Replace `put safe-local-variable' with :safe tag.
2021-12-15 19:17:48 +02:00
Andrea Corallo
e6b93245fe
Have 'dlopen' use RTLD_GLOBAL in 'dynlib_open'
...
* src/pdumper.c (dump_do_dump_relocation): Use 'dynlib_open_for_eln'
in place of 'dynlib_open'.
* src/dynlib.h (dynlib_open_for_eln): Declare it.
* src/dynlib.c (dynlib_open_for_eln): New function.
(dynlib_open): Add RTLD_GLOBAL.
* src/comp.c (Fnative_elisp_load): Use 'dynlib_open_for_eln' in place
of 'dynlib_open'.
2021-12-15 15:55:01 +01:00
Arash Esbati
5a057f6716
Recognize starred environments
...
* lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
missing starred environments from sidecap and rotating packages.
2021-12-15 12:10:05 +01:00
Stefan Kangas
92ed2fe688
Merge from origin/emacs-28
...
7078f32b5b Fix crash when dumping charset_table with portable dumper ...
a4fcbf46a7 ; etc/NEWS: Move the note about Xref EIEIO change to the p...
f88c1d222f Remove maintainer comment from Emacs 28 module snippet.
# Conflicts:
# etc/NEWS
2021-12-15 06:30:41 +01:00
YAMAMOTO Mitsuharu
7078f32b5b
Fix crash when dumping charset_table with portable dumper (Bug#52461)
...
* src/charset.h:
* src/charset.c (charset_table_used): Now extern.
* src/pdumper.c (dump_charset): Don't dump code_space_mask for unused
slots of charset_table.
2021-12-15 13:12:02 +09:00
Po Lu
aab2477516
Prevent GDK from handling emulated button events
...
* src/xterm.c (handle_one_xevent): Drop emulated button events.
2021-12-15 10:34:51 +08:00
Po Lu
861eee4241
Work around pixel scrolling issues when line numbers are displayed
...
* lisp/pixel-scroll.el (pixel-point-and-height-at-unseen-line):
Compare start position against line number display width
instead.
2021-12-15 10:27:27 +08:00
Dmitry Gutov
a4fcbf46a7
; etc/NEWS: Move the note about Xref EIEIO change to the proper section
2021-12-15 04:05:11 +03:00
Dmitry Gutov
ad768d767b
project-kill-buffers-display-buffer-list: Fix :package-version value
...
* lisp/progmodes/project.el (project-kill-buffers-display-buffer-list):
Fix :package-version value.
2021-12-15 02:58:45 +03:00
Dmitry Gutov
38977b6134
Add 'comint-mode' and 'change-log-mode' to project-kill-buffer-conditions
...
* lisp/progmodes/project.el (project-kill-buffer-conditions):
Add 'comint-mode' and 'change-log-mode' to the list (bug#52465).
2021-12-15 02:57:20 +03:00
Stefan Monnier
0cc2c2dcdb
eieio-compat.el: Move to lisp/obsolete
...
The file only contains obsolete definitions, so it really belongs in
`lisp/obsolete`. Moving it there will also signal a warning for those
people who run old `.elc` files using EIEIO and generated with
Emacs<25 and who otherwise might not know about the obsolescence of
some of the functions they use.
* lisp/emacs-lisp/eieio-compat.el: Move to ...
* lisp/obsolete/eieio-compat.el: ... here.
2021-12-14 17:01:34 -05:00
Stefan Kangas
75eac285af
Prefer command remapping in allout.el
...
* lisp/allout.el (allout-compose-and-institute-keymap): Use command
remapping instead of substitute-key-definition.
2021-12-14 20:19:32 +01:00
Lars Ingebrigtsen
71ff4b97ab
Fix ert.texi error from previous change
...
* doc/misc/ert.texi (Running Tests in Batch Mode): Fix @r command.
2021-12-14 16:28:02 +01:00
Stefan Kangas
e07d69e2dc
* lisp/net/eudc.el (custom-menu-create): Remove unnecessary autoload.
2021-12-14 16:10:54 +01:00
Stefan Kangas
8704165197
Remove Emacs 21 compat code for command-remapping
...
* lisp/arc-mode.el (archive-mode-map):
* lisp/obsolete/iswitchb.el (iswitchb-global-map): Remove Emacs 21
compat code.
2021-12-14 16:10:54 +01:00
Michael Albinus
78a9d151b5
Minor Tramp cleanup
...
* lisp/net/tramp.el (tramp-get-buffer-string): Simplify.
(tramp-lock-pid): Fix docstring.
2021-12-14 14:40:18 +01:00
Michael Albinus
6a48ef0cbe
Explain JUnit test reports in ert doc
...
* doc/misc/ert.texi (Running Tests in Batch Mode): Explain
generation of JUnit test reports.
2021-12-14 14:39:53 +01:00
Stefan Kangas
1d67bbf6c9
Use defvar-keymap in elisp-mode.el
...
* lisp/progmodes/elisp-mode.el (emacs-lisp-mode-map)
(elisp--dynlex-modeline-map, lisp-interaction-mode-map): Use
defvar-keymap.
2021-12-14 12:27:57 +01:00
Stefan Kangas
b86ab35972
Prefer command remapping in cperl-mode.el
...
* lisp/progmodes/cperl-mode.el (cperl-mode-map): Use command remapping
instead of substitute-key-definition.
2021-12-14 12:27:54 +01:00
Philipp Stephani
f88c1d222f
Remove maintainer comment from Emacs 28 module snippet.
...
This is the same as 44c13eefe8 on
master. We should also remove this comment on the release branch,
otherwise it ends up in the emacs-module.h shipped to users.
* src/module-env-28.h: Remove maintainer comment.
2021-12-14 11:17:37 +01:00
Lars Ingebrigtsen
8c0f9be0d1
Only allow SQLite extensions from an allowlist
...
* src/sqlite.c (Fsqlite_load_extension): Only allow extensions
from an allowlist.
2021-12-14 09:29:13 +01:00
Stefan Kangas
b8e6beaab0
Merge from origin/emacs-28
...
3607508f3f Set calc-make-windows-dedicated to nil by default
9de8eec3bc * make-dist: Don't run "make --question info". (Bug#52322)
cea8deea72 ; * src/xdisp.c (move_it_vertically_backward): Clarify com...
6170c5036e Fix regression in help-mode prompt
# Conflicts:
# etc/NEWS
2021-12-14 06:31:37 +01:00
Stefan Kangas
3607508f3f
Set calc-make-windows-dedicated to nil by default
...
* lisp/calc/calc.el (calc-make-windows-dedicated):
Default to nil. (Bug#52016)
2021-12-14 03:40:10 +01:00
Stefan Kangas
9de8eec3bc
* make-dist: Don't run "make --question info". (Bug#52322)
2021-12-14 03:08:37 +01:00
Stefan Kangas
855f1bd176
completion.el: Make two compat aliases obsolete
...
* lisp/completion.el (cmpl-syntax-table, initialize-completions):
Make compat aliases obsolete.
2021-12-14 02:16:41 +01:00
Eli Zaretskii
cea8deea72
; * src/xdisp.c (move_it_vertically_backward): Clarify commentary.
2021-12-13 21:02:38 +02:00
Philipp Stephani
ae169bda2c
; Add a FIXME regarding the GMP memory allocation functions.
...
* src/bignum.c (init_bignum): Add a warning about the technically
incorrect use of the GMP memory allocation functions.
2021-12-13 18:28:13 +01:00
Michael Albinus
b30b33ed9b
ERT can generate JUnit test reports
...
* .gitignore: Add test/**/*.xml.
* admin/notes/emba: Mention JUnit test report.
* etc/NEWS: ERT can generate JUnit test reports.
* lisp/emacs-lisp/ert.el (xml-escape-string): Autoload.
(ert-write-junit-test-report)
(ert-write-junit-test-summary-report): New defuns.
(ert-run-tests-batch, ert-summarize-tests-batch-and-exit): Call them.
* test/Makefile.in (clean): Remove *.xml.
* test/README: Mention $EMACS_TEST_JUNIT_REPORT environment variable.
* test/infra/Makefile.in ($(FILE)): Generate header commentary.
(clean): Remove.
* test/infra/gitlab-ci.yml (variables): Set EMACS_TEST_JUNIT_REPORT.
(.job-template): Use it in script and after_script.
(.build-template, .gnustep-template, .filenotify-gio-template)
(.native-comp-template): Adapt rules.
(.test-template): Trigger JUnit test report.
* test/infra/test-jobs.yml: Regenerate.
2021-12-13 16:09:56 +01:00
Stefan Kangas
c1476afb99
Make alias obsolete in xscheme.el
...
* lisp/progmodes/xscheme.el (xscheme-yank-previous-send): Make
obsolete.
2021-12-13 15:58:49 +01:00
Stefan Kangas
7c4c72fa52
Make two aliases obsolete in lisp/international/robin.el
...
* lisp/international/robin.el (robin-transliterate-region)
(robin-transliterate-buffer): Make obsolete.
2021-12-13 15:58:49 +01:00
Stefan Monnier
0c24ccc9d8
* lisp/emacs-lisp/generator.el (iter-yield): Simplify
2021-12-13 09:32:01 -05:00
Stefan Monnier
c952f8b059
lisp/pcomplete.el: Mark obsolete some unused functions
...
* lisp/pcomplete.el (pcomplete-match-beginning, pcomplete-match-end):
Mark as obsolete.
(pcomplete-opt, pcomplete--here, pcomplete--help): Use lexical-binding.
2021-12-13 09:32:01 -05:00
Eli Zaretskii
6170c5036e
Fix regression in help-mode prompt
...
* lisp/help-macro.el (make-help-screen): Restore SPC and DEL in
prompt. Reported by Colin Baxter <m43cap@yandex.com>.
2021-12-13 15:51:38 +02:00
Eli Zaretskii
57efc5d1bb
* src/sqlite.c (Fsqlite_open, Fsqlite_load_extension): Use ENCODE_FILE.
2021-12-13 15:35:31 +02:00
Stefan Kangas
38f782f48d
* lisp/ielm.el (ielm-map): Use defvar-keymap.
2021-12-13 14:16:03 +01:00
Stefan Kangas
3a773cbbf5
* lisp/ielm.el (ielm-header): Show key binding for describe-mode.
2021-12-13 14:16:03 +01:00