Kyle Meyer
bb209cd5ab
Update to Org 9.5-30-g10dc9d
...
The plan is to cut the Org 9.5.1 release and include it in Emacs 28.1,
but in the meantime regularly sync changes from Org's bugfix branch to
emacs-28.
This sync includes files from Org 9.5's new etc/csl/ directory that
should have been synced in bf9ec3d91a (Update to Org 9.5, 2021-09-29).
2021-10-02 14:41:27 -04:00
Glenn Morris
4341e79a5f
Remove bogus ":safe t" custom properties
...
* lisp/org/oc.el (org-cite-global-bibliography)
(org-cite-note-rules, org-cite-punctuation-marks):
* lisp/org/oc-csl.el (org-cite-csl-locales-dir)
(org-cite-csl-styles-dir, org-cite-csl-no-citelinks-backends):
* lisp/org/oc-natbib.el (org-cite-natbib-options):
* lisp/org/org-keys.el (org-mouse-1-follows-link):
Remove bogus ":safe t" properties that would largely need to be
replaced by custom predicates.
2021-10-02 11:00:23 -07:00
Eli Zaretskii
b6f6b593c6
Fix 'apropos-compact-layout'
...
* lisp/textmodes/fill.el (fill-region-as-paragraph): Fix filling
paragraphs that end at EOB without a newline. (Bug#50974)
2021-10-02 20:53:26 +03:00
Glenn Morris
62d6cecfcd
Remove bogus ":safe nil" custom properties
...
* lisp/org/oc.el (org-cite-activate-processor)
(org-cite-export-processors, org-cite-follow-processor)
(org-cite-insert-processor):
* lisp/org/ol.el (org-link-parameters, org-link-frame-setup)
(org-link-shell-confirm-function)
(org-link-shell-skip-confirm-regexp)
(org-link-elisp-confirm-function)
(org-link-elisp-skip-confirm-regexp):
* lisp/org/org-num.el (org-num-format-function):
Remove bogus ":safe nil" that do nothing but propagate a
misunderstanding of the safe-local-variable property.
2021-10-02 10:46:29 -07:00
Glenn Morris
f9111d8784
The safe-local-variable property is a function (bug#50944)
...
* lisp/org/oc-basic.el (org-cite-basic-sorting-field)
(org-cite-basic-author-year-separator)
(org-cite-basic-max-key-distance)
(org-cite-basic-author-column-end)
(org-cite-basic-column-separator)
(org-cite-basic-mouse-over-key-face):
* lisp/org/oc-biblatex.el (org-cite-biblatex-options):
* lisp/org/oc-csl.el (org-cite-csl-link-cites)
(org-cite-csl-html-hanging-indent)
(org-cite-csl-html-label-width-per-char)
(org-cite-csl-latex-hanging-indent):
* lisp/org/oc.el (org-cite-adjust-note-numbers):
* lisp/org/org-keys.el (org-return-follows-link):
* lisp/org/org.el (org-fontify-todo-headline):
* lisp/org/ox-html.el (org-html-equation-reference-format)
(org-html-wrap-src-lines):
* lisp/org/ox-latex.el (org-latex-reference-command)
(org-latex-default-quote-environment):
* lisp/textmodes/tildify.el (tildify-pattern)
(tildify-space-string): Fix :safe property.
2021-10-02 10:37:42 -07:00
Stefan Kangas
3dc094abee
; Some minor tweaks to TODO
...
* etc/TODO: Explain elpa.gnu.org items better. Delete fixed item
about dynamic embedded graphics. (Bug#50937)
2021-10-02 17:37:44 +02:00
Stefan Kangas
a5b4356d37
Revert "; * etc/TODO: Move elpa.gnu.org items to the end."
...
This reverts commit d73f0e96a7 .
These items are a priority for the project and should be before other,
less prioritized items, according to a private discussion with project
co-maintainer Eli Zaretskii <eliz@gnu.org>.
2021-10-02 17:37:39 +02:00
Stefan Kangas
7bc0cee115
Revert "* etc/TODO: Rearrange to start with "Simple tasks"."
...
This reverts commit 879ef5b19a .
Some of these items are a priority for the project and should be
before other, less prioritized items, according to a private
discussion with project co-maintainer Eli Zaretskii <eliz@gnu.org>.
2021-10-02 17:37:33 +02:00
Eli Zaretskii
3489471417
Fix selection of fonts for Arabic on Posix platforms
...
* lisp/international/fontset.el (script-representative-chars): Add
U+06C1 to representative-characters for Arabic. (Bug#50951)
2021-10-02 17:38:55 +03: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
Eli Zaretskii
13e5943386
; Fix a typo in a doc string
...
* lisp/files.el (hack-local-variables--find-variables): Fix typo
in the doc string.
2021-10-02 15:57:51 +03: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
Lars Ingebrigtsen
bd60fca2fa
Fix ox-koma-letter compilation warnings
...
* lisp/org/ox-koma-letter.el (org-koma-letter-export-block)
(org-koma-letter-export-snippet): Fix warning about two unused
parameter.
2021-10-02 10:37:55 +02:00
Eli Zaretskii
340e527bed
Preload paren.el
...
* lisp/Makefile.in (COMPILE_FIRST): Add the dependencies of
comp.el, so that they are natively-compiled in advance.
* lisp/loadup.el ("paren"): Preload paren.el. (Bug#50934)
2021-10-02 11:06:18 +03:00
Eli Zaretskii
a9052248da
Improve documentation of 'shift-select-mode'
...
* doc/emacs/mark.texi (Shift Selection): Document the 'permanent'
value of 'shift-select-mode'. Add index entry for that variable.
(Bug#50954)
* etc/NEWS: Update the entry for 'shift-select-mode'.
2021-10-02 09:40:44 +03: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
Glenn Morris
d505971894
; Standardize some license headers
2021-10-01 18:07:45 -07:00
João Távora
9307889d68
Simplify shorthand injection (bug#50946)
...
* lisp/loadup.el: Load "shorthands" relatively late. Set
load-source-file-function to load-with-shorthands-and-code-conversion
* lisp/international/mule.el (hack-elisp-shorthands)
(load-with-shorthands-and-code-conversion): Move to
lisp/shorthands.el
* lisp/shorthands.el: New file.
2021-10-02 01:43:16 +01: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
5c77cc9584
; * admin/release-branch.txt: Tweak previous.
2021-10-01 09:31:40 -07: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