Lars Ingebrigtsen
8b4a6a722a
Add new command 'ensure-empty-lines'.
...
* doc/lispref/text.texi (Commands for Insertion): Document it.
* lisp/emacs-lisp/subr-x.el (ensure-empty-lines): New command.
2021-10-04 13:23:22 +02:00
Michael Albinus
909f2a4b92
* test/infra/gitlab-ci.yml (test-native-comp-speed0): Fix thinko.
2021-10-04 13:19:38 +02:00
Lars Ingebrigtsen
069749bed7
Add new user option 'translate-upper-case-key-bindings'
...
* doc/lispref/commands.texi (Key Sequence Input): Document it.
* lisp/cus-start.el (standard): defcustom it.
* src/keyboard.c (read_key_sequence): Use it.
(syms_of_keyboard): New variable 'translate-upper-case-key-bindings'.
2021-10-04 12:33:53 +02:00
Lars Ingebrigtsen
39d9b96a60
Remove MozRepl stuff from js.el
...
* lisp/progmodes/js.el: Remove all the mozrepl stuff from js.el
(bug#40771).
2021-10-04 11:56:23 +02:00
Carlos Pita
60e817e78d
Avoid a warning in python-eldoc-setup-code
...
* lisp/progmodes/python.el (python-eldoc-setup-code): Avoid a
deprecation warning about formatargspec (bug#50996).
2021-10-04 11:43:17 +02:00
Gregory Heytings
1428962590
Fix problem with outputting error messages while dumping Emacs
...
* src/print.c (print_error_message): Don't call
substitute-command-keys while bootstrapping.
2021-10-04 11:18:07 +02:00
Lars Ingebrigtsen
b421e086ca
Allow computing :doc-spec info-look elements at run time
...
* lisp/info-look.el (info-lookup--expand-info): New function.
(:mode, info-lookup-add-help): Adjust doc string.
(info-lookup-add-help*): Allow adding a dynamic expansion.
(info-lookup): Expand.
(:mode): Use a dynamic expansion for Python to postpone the lookup.
(info-complete): Expand.
2021-10-04 10:53:39 +02:00
Lars Ingebrigtsen
84192b6716
Update NEWS for 'define-keymap'
2021-10-04 10:17:03 +02:00
Lars Ingebrigtsen
859190f03e
Convert some keymaps to defvar-keymap
...
* lisp/simple.el (special-mode-map):
* lisp/net/shr.el (shr-map):
* lisp/net/eww.el (eww-link-keymap):
(eww-mode-map):
(eww-submit-map):
(eww-bookmark-mode-map):
(eww-history-mode-map):
(eww-buffers-mode-map):
* lisp/gnus/message.el (message-mode-map): Use defvar-keymap.
* lisp/gnus/gnus-eform.el (gnus-edit-form-mode-map):
* lisp/gnus/gnus-dired.el (gnus-dired-mode-map):
* lisp/gnus/gnus-bookmark.el (gnus-bookmark-bmenu-mode-map): Use
defvar-keymap.
* lisp/gnus/gnus-group.el (gnus-group-mode-map): Use define-keymap.
* lisp/gnus/gnus-html.el (gnus-html-image-map): Use defvar-keymap.
* lisp/gnus/gnus.el: Autoload gnus-score-edit-all-score.
2021-10-04 10:15:11 +02:00
Lars Ingebrigtsen
192f9357f2
Add 'define-keymap' and 'defvar-keymap'
...
* doc/lispref/keymaps.texi (Changing Key Bindings): Document
define-keymap and defvar-keymap.
* lisp/subr.el (define-keymap): New function.
(define-keymap--define): New function.
(defvar-keymap): New macro.
* lisp/emacs-lisp/lisp-mode.el (lisp-indent--defvar-keymap): New
function.
(lisp-indent-function): Use it to indent defvar-keymap.
2021-10-04 10:15:11 +02:00
Michael Albinus
c6be44d9b3
* test/infra/gitlab-ci.yml (.native-comp-template): Revert change.
2021-10-03 19:53:17 +02:00
Michael Albinus
9d77dea374
Improve native compilation on emba
...
* test/infra/Dockerfile.emba (emacs-native-comp)
(emacs-native-comp-speed1, emacs-native-comp-speed2): New stages.
(emacs-native-comp-speed0): Adapt.
* test/infra/gitlab-ci.yml (.build-template): Add 'needs: []'.
(.native-comp-template): Use 'only:' instead of 'rules:'.
(build-native-comp-speed0): Rename from 'build-native-bootstrap-speed0'.
(build-native-comp-speed1, build-native-comp-speed2)
(test-native-comp-speed0): New jobs.
2021-10-03 19:40:14 +02:00
Lars Ingebrigtsen
72491495e7
Obsolete the light-blue theme
...
* etc/themes/light-blue-theme.el (light-blue): Make theme obsolete
since it's not maintained and seems to serve no particular use
case (bug#47047).
2021-10-03 11:04:04 +02:00
Lars Ingebrigtsen
344634d7cc
Allow obsoleting themes
...
* lisp/cus-theme.el (customize-themes): Don't list obsolete themes.
* lisp/custom.el (load-theme): Issue a warning if the theme is
obsolete (bug#47047).
2021-10-03 11:04:04 +02:00
Stefan Kangas
ea3e51732d
Expand internal--format-docstring-line test
...
* test/lisp/subr-tests.el (subr-test-internal--format-docstring-line):
Check for error on newline.
2021-10-02 16:20:06 +02:00
Stefan Kangas
6d0ea5e307
Support 'strong-italic' facemenu face in html-mode
...
* lisp/textmodes/sgml-mode.el (sgml-face-tag-alist)
(sgml-mode-facemenu-add-face-function, html-face-tag-alist):
Support 'strong-italic' facemenu face.
2021-10-02 15:27:29 +02:00
Alexandre Duret-Lutz
89d9f466dd
gnus-icalendar: Missing attendees are not REQ-PARTICIPANT
...
* lisp/gnus/gnus-icalendar.el (gnus-icalendar-event--get-attendee-names)
(gnus-icalendar-event-from-ical): Do not default to REQ-PARTICIPANT
if the user was not found as an attendee.
* test/lisp/gnus/gnus-icalendar-tests.el
(gnus-icalendary-weekly-byday): Remove the ROLE property to test
that it correctly defaults to REQ-PARTICIPANT. The case where the
user is not listed is covered by gnus-icalendar-parse already
(bug#50749).
2021-10-02 10:55:44 +02:00
Stefan Monnier
58f8c3affc
* lisp/emacs-lisp/cl-generic.el: Fix test/lisp/loadhist-tests
...
Revert 2fcd34f202 which was redundant anyway since e165bf3d4
had fixed it in a better way anyway (a way which doesn't litter the
`load-history`).
2021-10-01 23:53:20 -04:00
Stefan Monnier
2fcd34f202
* lisp/emacs-lisp/cl-generic.el (cl--generic-get-dispatcher): Fix regression
2021-10-01 15:34:09 -04:00
Tassilo Horn
e165bf3d49
; If Invalid function: with-memoization error introduced in 3c972723
2021-10-01 21:15:51 +02:00
Stefan Monnier
3c972723e4
* lisp/emacs-lisp/subr-x.el (with-memoization): New macro
...
Extracted from `cl-generic.el`.
* lisp/emacs-lisp/cl-generic.el (cl--generic-get-dispatcher)
(cl--generic-build-combined-method, cl-generic-generalizers): Use it.
(cl--generic-with-memoization): Delete.
2021-10-01 14:33:37 -04:00
Glenn Morris
99884c2264
Merge from origin/emacs-28
...
626696c3c8 (origin/emacs-28) * doc/lispref/control.texi (pcase Macro)...
2895cb8d49 ; * lisp/time-stamp.el: Fix wording in some documentation ...
1e79c9e9c0 ; * admin/release-branch.txt: Small edits.
f1f57a541e Fix some custom types
2021-10-01 09:27:47 -07:00
Glenn Morris
626696c3c8
* doc/lispref/control.texi (pcase Macro): Fix cross-reference.
2021-10-01 09:27:09 -07:00
Stephen Gildea
2895cb8d49
; * lisp/time-stamp.el: Fix wording in some documentation strings.
2021-10-01 08:56:41 -07:00
Glenn Morris
1e79c9e9c0
; * admin/release-branch.txt: Small edits.
2021-10-01 08:46:09 -07:00
Glenn Morris
f1f57a541e
Fix some custom types
...
* lisp/mpc.el (mpc-cover-image-re):
* lisp/org/oc-csl.el (org-cite-csl-locales-dir)
(org-cite-csl-styles-dir):
* lisp/org/org-plot.el (org-plot/preset-plot-types): Fix :type.
2021-10-01 08:33:32 -07:00
Glenn Morris
8968bf8e12
Merge from origin/emacs-28
...
5ee5a90213 (origin/emacs-28) ; Fix oddities in etc/NEWS
# Conflicts:
# etc/NEWS
2021-10-01 07:50:25 -07:00
Glenn Morris
38ef6da38f
; Merge from origin/emacs-28
...
The following commit was skipped:
35e6b8d357 (emacs-28) ; Auto-commit of loaddefs files.
2021-10-01 07:50:25 -07:00
Glenn Morris
823bc66e74
Merge from origin/emacs-28
...
ad0798a395 * etc/TODO: Add interactive mode tagging.
879ef5b19a * etc/TODO: Rearrange to start with "Simple tasks".
d73f0e96a7 ; * etc/TODO: Move elpa.gnu.org items to the end.
7cf1229706 ; * etc/TODO: Mention a relevant bug report.
f733b909ff * etc/TODO: Remove outdated item. (Bug#50904)
94c247d659 ; Oops, fix up last commit
88378acbfc Rename arguments of ERC's '/whois' and simplify doc string
205eb7f801 ; s/class/type
86da812afb Migrate Xref off EIEIO
5c73dfcbcb * admin/release-branch.txt: New file.
f060d1c9a4 * lisp/dired.el (dired-omit-mode): Declare, to avoid compi...
# Conflicts:
# etc/NEWS
2021-10-01 07:50:25 -07:00
Glenn Morris
e50f5d51f5
; Merge from origin/emacs-28
...
The following commit was skipped:
2750d97543 Cut the emacs-28 release branch
2021-10-01 07:50:18 -07:00
Michael Albinus
6d74e751ec
; Fix oddities in etc/NEWS
2021-10-01 16:45:54 +02:00
Michael Albinus
5ee5a90213
; Fix oddities in etc/NEWS
2021-10-01 16:42:52 +02:00
Lars Ingebrigtsen
decabae2df
Fix one-clause movement in erts-mode--goto-start-of-test
...
* lisp/progmodes/erts-mode.el (erts-mode--goto-start-of-test): Fix
so this works in one-clause tests.
2021-10-01 15:38:35 +02:00
Glenn Morris
d62beccbbf
; Auto-commit of loaddefs files.
2021-10-01 06:31:20 -07:00
Lars Ingebrigtsen
d617e3388a
Fix text in erts-run-test message
...
* lisp/progmodes/erts-mode.el (erts-run-test): New command and
keystroke.
2021-10-01 15:25:05 +02:00
Lars Ingebrigtsen
09ec95c53b
Add new command erts-run-test
...
* lisp/progmodes/erts-mode.el (erts-run-test): New command and
keystroke.
2021-10-01 15:24:01 +02:00
Lars Ingebrigtsen
4b90aacf79
Refactor out ert-test--erts-test
...
* lisp/emacs-lisp/ert.el (ert-test--erts-test): Refactor out the
bulk of the function for easier reuse.
2021-10-01 15:23:32 +02:00
Glenn Morris
35e6b8d357
; Auto-commit of loaddefs files.
2021-10-01 06:18:45 -07:00
Stefan Kangas
ad0798a395
* etc/TODO: Add interactive mode tagging.
2021-10-01 15:09:31 +02:00
Stefan Kangas
879ef5b19a
* etc/TODO: Rearrange to start with "Simple tasks".
2021-10-01 15:01:19 +02:00
Stefan Kangas
d73f0e96a7
; * etc/TODO: Move elpa.gnu.org items to the end.
...
It makes no sense to have them before "easy" items intended for
beginners, especially since we miss some things to make this happen.
2021-10-01 14:58:12 +02:00
Peter Münster
a2a6c7abcb
New command for unmarking all images in image-dired
...
* lisp/image-dired.el (image-dired-unmark-all-marks): Remove marks from
Dired buffer and update the view of the thumbnails (bug#50920).
2021-10-01 14:49:28 +02:00
Alexandre Duret-Lutz
6c0824f711
default role for attendees is REQ-PARTICIPANT
...
* lisp/gnus/gnus-icalendar.el
(gnus-icalendar-event--get-attendee-names,
gnus-icalendar-event-from-ical): When the ROLE property
is missing from an ATTENDEE line, follow RFC5546 and default
to REQ-PARTICIPANT.
2021-10-01 14:07:58 +02:00
Alexandre Duret-Lutz
16e51ad6bf
allow party crashers to respond to ical events
...
If an ical invitation is sent to a mailing list, the recipients
are probably not listed as attendees. However there are
legitimate situations where these unlisted (or indirectly listed)
recipients are still expected to respond. RFC5546 allows that,
calling those respondents "party crashers".
* lisp/gnus/gnus-icalendar.el
(gnus-icalendar-event:inline-reply-buttons): Display the response
buttons even if the user was not found in the list of attendees,
but change the labels of those buttons to make clear they are
not explicitly invited.
(gnus-icalendar-event--build-reply-event-body): Add an attendee
line for the user in case one was not found.
2021-10-01 14:07:35 +02:00
Alexandre Duret-Lutz
51226e4280
reply to the organizer of an ical event
...
RFC5546 specifies that participant status (accepted, tentative,
declined) should be sent to the organizer of the event. That
organizer is not necessarily the sender of the invitation; for
instance Google Calendar uses custom email addresses to receive these
notifications.
* lisp/gnus/gnus-icalendar.el (gnus-icalendar-send-buffer-by-mail):
Replace the default recipient of the reply by the organizer of the
event.
(gnus-icalendar-reply) Pass that organizer to the previous function.
2021-10-01 14:07:16 +02:00
Stefan Kangas
7cf1229706
; * etc/TODO: Mention a relevant bug report.
2021-10-01 13:57:06 +02:00
akater
5988d6fa26
Restore the flet indentation fixes
...
* lisp/emacs-lisp/lisp-mode.el (lisp--local-defform-body-p): New
function.
(lisp-indent-function): Use it to fix cl-flet indentation.
2021-10-01 13:25:42 +02:00
Lars Ingebrigtsen
efd239c147
Add a new command to mark a region as a test in erts-mode
...
* lisp/progmodes/erts-mode.el (erts-mode--in-test-p): Fix test.
(erts-tag-region): New command and keystroke.
2021-10-01 13:22:03 +02:00
Lars Ingebrigtsen
295d552e4e
Allow skipping erts tests
...
* doc/misc/ert.texi (erts files): Document it.
* lisp/emacs-lisp/ert.el (ert-test-erts-file): Allow skipping tests.
2021-10-01 13:20:20 +02:00
Stefan Kangas
f733b909ff
* etc/TODO: Remove outdated item. (Bug#50904)
2021-10-01 13:07:31 +02:00