1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 18:40:39 -08:00
Commit graph

150522 commits

Author SHA1 Message Date
Lars Ingebrigtsen
1a65320903 Add new functionality to write buffer-based tests
* doc/misc/ert.texi (erts files): New node.

* lisp/files.el (auto-mode-alist): Map .erts to erts-mode.

* lisp/emacs-lisp/ert.el (ert-test-erts-file): New function.

* lisp/emacs-lisp/ert.el (ert--erts-specifications)
(ert--erts-unquote): Helper functions.

* lisp/progmodes/erts-mode.el: New mode and file.
2021-10-01 12:17:47 +02:00
Ihor Radchenko
2e92f90a5d Save position in mark ring before jumping to definition
* lisp/help-mode.el (help-function-def--button-function): Current
point is saved in the mark ring before jumping to definition.
2021-10-01 09:11:37 +02:00
Eli Zaretskii
44c13eefe8 Update emacs-module sources for Emacs 29
* configure.ac (module_env_snippet_29): New.

* src/module-env-28.h: Remove the comment with instructions for
the next release.
* src/module-env-29.h: New file.
2021-09-30 20:26:00 +03:00
Eli Zaretskii
3478e64c88 Bump Emacs version to 29.0.50
* README:
* configure.ac:
* nt/README.W32:
* msdos/sed2v2.inp:
* src/msdos.c (internal_terminal_init):
* etc/refcards/ru-refcard.tex:
* etc/NEWS: Bump Emacs version to 29.0.50.
* etc/NEWS.28: New file.

* lisp/cus-edit.el (customize-changed-options-previous-release):
Update the reference version of Emacs.
2021-09-30 20:11:43 +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
Eli Zaretskii
6e3017d7de Fix a recent change of 'undo-redo' binding
* lisp/bindings.el (global-map): Fix the binding of 'undo-redo'.
(Bug#50911)
2021-09-30 14:32:58 +03:00
Eli Zaretskii
b9464a9237 Merge Org 9.5 from branch 'origin/scratch/org-sync'. 2021-09-30 13:26:50 +03:00
Mattias Engdegård
c006286780 ; * src/nsterm.h: Use objc-mode. 2021-09-30 10:58:01 +02:00
Juri Linkov
a20e013d56 ; * lisp/help.el (help--analyze-key): Add comment. 2021-09-30 10:05:00 +03:00
Lars Ingebrigtsen
ad27c4c663 Fix previous `newline' patch
* lisp/simple.el (newline): Signal an error earlier to avoid
peculiar behaviour after getting a backtrace (bug#50900).
2021-09-30 09:04:11 +02:00
Lars Ingebrigtsen
d1aacceae9 Make `newline' check the argument earlier
* lisp/simple.el (newline): Signal an error earlier to avoid
peculiar behaviour after getting a backtrace (bug#50900).
2021-09-30 09:03:18 +02:00
akater
c42af5aee7 Fix regressions in cl-flet indentation
* lisp/emacs-lisp/lisp-mode.el (lisp--local-defform-body-p):
Rename (from -p-less form) and fix indentation regression
introduced by 38037e04cb
(bug#9622).  Also add cl-macrolet cl-flet* cl-symbol-macrolet.
2021-09-30 08:33:14 +02:00
dickmao
d94ab4949c Fix bootstrap after recent undo-redo change
* lisp/bindings.el (global-map): Don't use `kbd' here -- it breaks
bootstrap (bug#50911).
2021-09-30 06:59:10 +02:00
Kyle Meyer
164aac0a99 * etc/NEWS: Announce Org update. 2021-09-29 23:21:21 -04:00
Kyle Meyer
bf9ec3d91a Update to Org 9.5 2021-09-29 23:21:21 -04:00
Amin Bandali
dc94ca7b2b
Add new '/wii' convenience ERC command
* etc/NEWS: Announce the addition of the command.
* lisp/erc/erc.el (erc-cmd-WII): Add '/wii' convenience command which
calls the '/whois' command with the given nick as both arguments,
which is useful for displaying the whois information for the nick
along with idle time, even if the nick is on a different server than
the one we are currently connected to.
2021-09-29 23:11:49 -04:00
Amin Bandali
9fc1fdcbf3
Restore the previous order of ERC's '/whois' arguments
* etc/NEWS: Remove unneeded entry.
* lisp/erc/erc.el (erc-cmd-WHOIS): Restore the previous order of
arguments sent to the server, so that there's no change in the
function's behavior.  Instead, rename the arguments to be more
accurate, and expand upon them in the doc string.
2021-09-29 22:17:18 -04:00
Stefan Kangas
758753431a New command mpc-goto-playing-song
* lisp/mpc.el (mpc-goto-playing-song): New command to go to the
currently playing song.
(mpc-mode-map): Bind it to "o".
2021-09-30 01:17:53 +02:00
Stefan Kangas
49c748e336 * lisp/linum.el: Recommend `display-line-numbers-mode'. 2021-09-29 23:50:01 +02:00
Dmitry Gutov
6fecf6ef25 Add bindings for 'undo-redo'
* etc/NEWS: Describe the change.

* lisp/bindings.el (global-map): Add bindings for 'undo-redo'.

* lisp/simple.el (undo-no-redo): Turn into a user option.
2021-09-29 22:45:07 +03:00
Juri Linkov
fd244c9e46 * lisp/tab-bar.el (tab-bar-move-tab-to-frame): Delete frame with last tab. 2021-09-29 22:40:20 +03:00
Adam Porter
ab1e11fe79 * lisp/tab-bar.el: (tab-bar-detach-tab) New command
(tab-bar-detach-tab): New command.
(tab-bar-mouse-context-menu): Add menu entry.

With thanks to Matt Beshara <m@mfa.pw> for his feedback.
https://lists.gnu.org/archive/html/emacs-devel/2021-09/msg02141.html
2021-09-29 22:37:38 +03:00
Lars Ingebrigtsen
b0f7a27a91 Tweak previous message-newline-and-reformat change
* lisp/gnus/message.el (message-newline-and-reformat): Only search
for previous/next cited lines that have space, because it's the
space we're trying to find.
2021-09-29 20:48:41 +02:00
Lars Ingebrigtsen
923b89248c Cross reference `dired-do-revert-buffer'
* lisp/dired-aux.el (dired-do-copy):
(dired-do-symlink):
(dired-do-hardlink):
(dired-do-rename): Mention `dired-do-revert-buffer'.
2021-09-29 19:10:00 +02:00
Lars Ingebrigtsen
78649d7198 Do some NEWS taggin 2021-09-29 19:07:14 +02:00
Stefan Kangas
aa3a1cee65 * etc/TODO: Delete ImageMagick items. (Bug#50891) 2021-09-29 19:00:04 +02:00
Lars Ingebrigtsen
6788d7b015 Make `M-q' in message-mode work better
* lisp/gnus/message.el (message-newline-and-reformat): Fix
bug#43299 differently.
(message-newline-and-reformat): Revert change for bug#43299.  This
fixes bug#50842.
2021-09-29 18:45:15 +02:00
Stefan Kangas
e72a8c6426 Force volume to an integer divisible by mpc-volume-step
* lisp/mpc.el (mpc-volume-mouse-set): Force volume to an integer
divisible by 'mpc-volume-step'.
(mpc-volume-step): Add docstring.
2021-09-29 18:23:32 +02:00
Lars Ingebrigtsen
1aaeed903a Signal an error in `search-forward-help-for-help'
* lisp/help.el (search-forward-help-for-help): Error out instead
of showing an empty buffer (bug#50881).
2021-09-29 17:43:16 +02:00
Lars Ingebrigtsen
dab846e04f Add a comment about bug#50877 for gnus-set-difference 2021-09-29 17:28:02 +02:00
Lars Ingebrigtsen
b4b4cc98ac Revert "Obsolete local set difference functions in favor of seq-difference"
This reverts commit 20f7fa691b.

gnus-set-difference is orders of magnitude faster than seq-difference
(on these sets), and using seq-difference makes nnimap too
slow.
2021-09-29 17:28:02 +02:00
Michael Albinus
e457cff3f4 * test/Makefile.in (WRITE_LOG): Add emacs-module-tests as problematic. 2021-09-29 14:51:39 +02:00
Protesilaos Stavrou
7c79eea51d Update modus-themes to version 1.6.0
* doc/misc/modus-themes.org (Customization Options): Document new user
options in code sample.
(Option for inhibiting theme reload): Remove trailing space.
(Option for mode line presentation): Include new possible value.
(Option for Org agenda constructs): Include new symbols for the
'modus-themes-org-agenda' alist.
(Control the scale of headings): Document 'modus-themes-scale-small'.
(Override color saturation (DIY)): Fix markup for proper texi output.
(Custom Org user faces (DIY)): Update code samples.
(Full support for packages or face groups): Note names of newly
supported packages or face groups.
(Indirectly covered packages): Document indirectly supported packages.
(Note on highlight-parentheses.el): Provide detailed instructions on
how to use 'highlight-parentheses' with the Modus themes.
(Note on prism.el): Refine code samples.
(What is the best setup for legibility?): Minor rewording.
(Sources of the themes): Mention only Emacs28 without explaining that
it is the development target---in preparation of the emacs-28 branch
cut.
(Acknowledgements): Name new contributors to code/ideas.  Stephen
Gildea's patch was a couple lines long.  The others have assigned
copyright to the FSF.
(Meta): Include another link to the development notes of the themes
about 'modus-themes-org-agenda'.

* etc/themes/modus-operandi-theme.el,
  etc/themes/modus-vivendi-theme.el: Bump file version.

* etc/themes/modus-themes.el (modus-themes-operandi-colors)
(modus-themes-vivendi-colors): Recalibrate some colour values and add
a few new ones.
(modus-themes-slanted-constructs): Remove obsolete user option.
Superseded by the alias 'modus-themes-italic-constructs'.
(modus-themes-org-agenda, modus-themes-mode-line): Update user option.
(modus-themes-scale-headings, modus-themes-scale-4): Update doc
string.
(modus-themes-scale-5): Remove obsolete user option.  Superseded by
the alias 'modus-themes-scale-title'.
(modus-themes-scale-small, modus-themes-tabs-accented): Add new user
option.
(modus-themes--agenda-date, modus-themes--mode-line-attrs)
(modus-themes--tab): Update internal functions.
(modus-themes-faces): Update variousface attributes.

Detailed change log here:
<https://protesilaos.com/codelog/2021-09-29-modus-themes-1-6-0/>.
2021-09-29 12:55:46 +02:00
Philip Kaludercic
1a0f4b3f23 Remove rcirc-omit-responses-after-join option
The implementation does not work as expected and behaves
unpredictably.

* rcirc.el (rcirc-omit-responses-after-join): Remove option
(rcirc-joined): Remove variable
(rcirc-reconnect): Remove rcirc-joined code
(rcirc-get-buffer-create): Remove rcirc-joined code
(rcirc-print): Remove rcirc-omit-responses-after-join check
* doc/misc/rcirc.texi (Notices): Remove documentation
* etc/NEWS: Remove mention
2021-09-29 12:18:54 +02:00
Stefan Kangas
f11f358213 ; * etc/NEWS: Re-arrange slightly and fix formatting. 2021-09-29 11:28:02 +02:00
Stefan Kangas
902f31d32b New user option mpc-cover-image-re
* lisp/mpc.el (mpc-cover-image-re): New user option.
(mpc-format): Find cover image based on regexp given by above new user
option.  Treat "folder.png" as a valid cover image name.
2021-09-29 11:28:02 +02:00
Martin Rudalics
dcabf95275 Fix 'window-toggle-side-windows' (Bug#50867)
* lisp/window.el (window-toggle-side-windows): Bind
'window-combination-resize' to t around 'window-state-put'
calls (Bug#50867).
2021-09-29 10:43:29 +02:00
Michael Albinus
0d72beec9b Some inmprovements in emba CI files
* test/infra/Dockerfile.emba: Remove superfluous "make -j4".

* test/infra/gitlab-ci.yml (.test-template): Add 'allow_failure' clause.
(test-all-inotify): Add 'needs' clause.
2021-09-29 09:48:01 +02:00
Juri Linkov
afee49fa08 * lisp/net/dictionary.el (context-menu-dictionary): Add autoload cookie.
(context-menu-functions): Remove context-menu-dictionary from hook (bug#50552)
2021-09-29 10:19:22 +03:00
Lars Ingebrigtsen
c4866ad1ac Tweak the whitespace before "This is a generic function"
* lisp/emacs-lisp/cl-generic.el (cl--generic-describe): Make the
number of blank lines before this section consistent (whether
there's an indented section before it or not).
2021-09-29 08:25:14 +02:00