1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
Commit graph

150557 commits

Author SHA1 Message Date
Lars Ingebrigtsen
7fb2789509 Fix substitution of pretty quotes in code in easy-mmode
* lisp/emacs-lisp/easy-mmode.el (easy-mmode--arg-docstring): Adjust.
(easy-mmode--mode-docstring): Avoid making quotes into pretty
quotes in code (bug#50968).
2021-10-03 11:35:28 +02:00
Lars Ingebrigtsen
b47d7ce1b8 Fix agent directory deletion
* lisp/gnus/gnus-agent.el (gnus-agent-expire-unagentized-dirs):
Delete directories in a simpler way that actually works (bug#50986).
2021-10-03 11:28:34 +02:00
Stefan Kangas
b1a8a66fb0 ; * etc/TODO: Fix previous commit; delete the right thing. 2021-10-03 02:16:15 +02:00
Stefan Kangas
6c01a21365 Clarify the purpose of internal--format-docstring-line
* test/lisp/subr-tests.el (subr-test-internal--format-docstring-line):
* lisp/subr.el (internal--format-docstring-line): Make it more clear
that this function is not intended for the first line of a docstring.
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Add comment explaining
why we use 'internal--format-docstring-line'.
Problem pointed out by Stefan Monnier <monnier@iro.umontreal.ca>.
2021-10-03 01:59:52 +02:00
Juri Linkov
55dadbc57e * lisp/net/dictionary.el (context-menu-dictionary): Move menu item down.
Place the dictionary menu item after middle-separator (bug#50552).
2021-10-02 22:22:41 +03:00
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
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
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
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
Glenn Morris
5c77cc9584 ; * admin/release-branch.txt: Tweak previous. 2021-10-01 09:31:40 -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
Michael Albinus
5ee5a90213 ; Fix oddities in etc/NEWS 2021-10-01 16:42:52 +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
Stefan Kangas
7cf1229706 ; * etc/TODO: Mention a relevant bug report. 2021-10-01 13:57:06 +02:00
Stefan Kangas
f733b909ff * etc/TODO: Remove outdated item. (Bug#50904) 2021-10-01 13:07:31 +02:00
Amin Bandali
94c247d659
; Oops, fix up last commit 2021-10-01 01:32:48 -04:00
Stefan Kangas
88378acbfc
Rename arguments of ERC's '/whois' and simplify doc string
* lisp/erc/erc.el (erc-cmd-WHOIS): Rename arguments and reword the doc
string to further clarify and simplify.
2021-10-01 01:21:45 -04:00
Dmitry Gutov
205eb7f801 ; s/class/type 2021-10-01 03:05:56 +03:00
Dmitry Gutov
86da812afb Migrate Xref off EIEIO
To improve performance and flexibility (bug#50777).

* lisp/progmodes/xref.el (xref-location): Remove.
(xref-file-location): Change to cl-struct.
(xref-buffer-location, xref-bogus-location): Ditto.
(xref-item, xref-match-item): Same.
And update all method definitions accordingly.
(xref--insert-xrefs): Don't use 'oref', use 'xref-item-location'.
(xref--insert-xrefs, xref-show-definitions-completing-read):
Insetad of 'with-slots', use 'xref-item-summary' and
'xref-item-location'.

* lisp/progmodes/etags.el (xref-etags-location):
Change from EIEIO class into a cl-struct.
(xref-etags-apropos-location): Ditto.
Update all method definitions.

* test/lisp/progmodes/elisp-mode-tests.el (xref-elisp-test-run):
Avoid using 'oref'.
2021-10-01 00:02:21 +03:00
Eli Zaretskii
5c73dfcbcb * admin/release-branch.txt: New file. 2021-09-30 22:19:14 +03:00
Eli Zaretskii
f060d1c9a4 * lisp/dired.el (dired-omit-mode): Declare, to avoid compiler warning. 2021-09-30 22:16:23 +03:00
Eli Zaretskii
2750d97543 Cut the emacs-28 release branch
* README:
* configure.ac:
* nt/README.W32:
* msdos/sed2v2.inp: Bump Emacs version to 28.0.60.

* lisp/cus-edit.el (customize-changed-options-previous-release):
Update the last released version of Emacs.
2021-09-30 20:05:09 +03:00
Michael Albinus
bd3a1c3134 ; Still working on emba CI
* test/infra/Dockerfile.emba (emacs-base): Install also acl.

* test/infra/gitlab-ci.yml (.test-template): Move 'allow_failure'
clause level up.
2021-09-30 18:28:31 +02:00
Nikolay Kudryavtsev
8477d3b339 Make checkdoc's docstring substitution consistent with other docs
* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
In error text, say "mapvar" instead of "keymap", and "command"
instead of "function", to be consistent with the ELisp manual.
(Bug#50903)
2021-09-30 19:24:35 +03:00
Mattias Engdegård
4f24dee675 ; Mark cl-flet indentation test as failing (bug#9622) 2021-09-30 17:23:20 +02:00
Mattias Engdegård
2075411edb Fix regexp snags in org
* lisp/org/org-element.el (org-element-citation-key-re):
* lisp/org/ox-org.el (org-org-identity):
Remove repeated chars in alternatives.
* lisp/org/ob-java.el (org-babel-execute:java):
Remove superfluous backslash.
* lisp/org/ob-java.el (org-babel-java--main-re)
(org-babel-java--any-method-re): Remove (0+ space) expressions
subsumed by adjacent expressions.
2021-09-30 17:16:41 +02:00
Mattias Engdegård
58102466e3 org-element: use correct function
* lisp/org/org-element.el (org-element-headline-parser):
Pretty sure this one should be `skip-chars-backward`, not
`skip-syntax-backward`, since \t isn't a valid syntax code.
2021-09-30 17:16:25 +02:00
Mattias Engdegård
6374943581 ; * test/lisp/emacs-lisp/bytecomp-tests.el: remove ineffective \ 2021-09-30 17:08:46 +02:00
Mattias Engdegård
41723a329e Revert "Indent bodies of local function definitions properly in elisp-mode"
This reverts commit 38037e04cb.
2021-09-30 16:52:16 +02:00
Mattias Engdegård
be493ea67a Revert "Fix regressions in cl-flet indentation"
This reverts commit c42af5aee7.
2021-09-30 16:52:16 +02:00
Philip Kaludercic
a1789fd67b Add rcirc-omit-unless-requested option
* doc/misc/rcirc.texi (Notices): Update documentation
* lisp/net/rcirc.el (rcirc-pending-requests): Add local variable
(rcirc-omit-unless-requested): Add user option
(rcirc-print): Respect rcirc-omit-unless-requested
(rcirc-define-command): Update rcirc-pending-requests
2021-09-30 16:25:48 +02:00
Stefan Monnier
b5e3cc3bc5 * lisp/org/ob-julia.el: Use lexical-binding
(ess-eval-visibly-p): Declare.
(org-babel-julia-assign-elisp): Remove unused vars `header` and
`row-names` and corespondingly remove now unused args `colnames-p` and
`rownames-p`.
(org-babel-variable-assignments:julia): Adjust call to
`org-babel-julia-assign-elisp` accordingly.
(org-babel-julia-initiate-session): Use `bound-and-true-p`.
(org-babel-julia-evaluate-external-process)
(org-babel-julia-evaluate-session, org-babel-julia-evaluate):
Remove unused arg `row-names-p`.
(org-babel-execute:julia): Adjust call to
`org-babel-julia-evaluate` accordingly.
2021-09-30 10:02:29 -04:00
Stefan Monnier
a5b761ec33 * lisp/org/ox-koma-letter.el: Use lexical-binding
And remove redundant `:group` args.
2021-09-30 09:58:04 -04:00