1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-03 06:00:50 -08:00
Commit graph

151382 commits

Author SHA1 Message Date
Eli Zaretskii
7cb98ba057 ; * src/keyboard.c (make_lispy_position): Avoid GCC warning. (Bug#51076) 2021-10-07 16:09:37 +03:00
Michael Albinus
a067fa72ad ; Fix typo in test/Makefile.in 2021-10-07 14:15:01 +02:00
Stefan Monnier
b7a10b44ac Backport: * lisp/net/tramp-archive.el (tramp-archive-autoload-file-name-handler): Scope
Fix the scoping of `tramp-archive-enabled`.

(cherry picked from commit 8d53c23f90)
2021-10-07 13:13:47 +02:00
Eli Zaretskii
160e62a23c Improve documentation and customization of 'blink-matching-paren'
* lisp/simple.el (blink-matching-paren): Fix the wording of the
doc string and the descriptions in the value menu.  (Bug#51032)
2021-10-07 12:33:29 +03:00
Lars Ingebrigtsen
e338effc77 Fix syntax error in previous gnus-registry-install-shortcuts change
* lisp/gnus/gnus-registry.el (gnus-registry-install-shortcuts):
Fix syntax error in previous change.
2021-10-07 09:33:29 +02:00
Amin Bandali
1100fffcd3
* lisp/erc/erc.el: Don't error if 'erc-loaddefs' does not exist.
That autoload file is created as part of the Emacs compilation
process, however we would like ERC to be usable if used outside
emacs.git (e.g. if installed from GNU ELPA).
2021-10-06 23:14:25 -04:00
Amin Bandali
8865fc02ab
Add 'erc-bug' command for reporting ERC bugs
* etc/ERC-NEWS: Announce the new command, and mention it at the top of
the file along with 'report-emacs-bug'.
* lisp/erc/erc.el (erc-bug): New command for reporting ERC bugs.  It
prompts for a subject, and passes it on to 'report-emacs-bug' along
with the current ERC version, with the ERC mailing list in Cc.
2021-10-06 23:02:09 -04:00
Amin Bandali
5afa07919e
Add 'erc-version' and use it to display ERC version consistently
* lisp/erc/erc.el (erc-version): New constant holding the current ERC
version, now used in the function with the same name to produce a
version string for use across ERC for consistency.  Also, add another
optional argument, 'bold-erc', which when non-nil, marks the "ERC"
portion of the string with the control character for bold display.
(erc-quit/part-reason-default): Use the 'erc-version' function for a
consistent version string.
(erc-cmd-SV): Mention the ERC version number from the 'erc-version'
constant.
(erc-ctcp-query-VERSION): Use the 'erc-version' function for a
consistent version string.
2021-10-06 22:06:01 -04:00
Amin Bandali
bc941846d9
Small tweaks and improvements to etc/ERC-NEWS
* etc/ERC-NEWS: Small tweaks inspired by etc/NEWS, namely to add a
descriptive blurb at the top of the file to explain what it is about
and how to report ERC bugs, add a form feed before the section for
every release, and set the same Local Variables that etc/NEWS does.
2021-10-06 21:35:43 -04:00
Amin Bandali
30b5e0a514
Add NEWS items for changes to ERC since 5.3 to etc/ERC-NEWS
* etc/ERC-NEWS: copy ERC NEWS items from etc/NEWS, etc/NEWS.27,
etc/NEWS.26, etc/NEWS.25, and etc/NEWS.24 to here.  Future ERC NEWS
are also to be added here.  This is in motivated by preparation for
addition of ERC to GNU ELPA, along with the ERC manual and NEWS.
* etc/NEWS: remove ERC-related entries, and refer the reader to
ERC-NEWS instead.
2021-10-06 21:17:33 -04:00
Juri Linkov
f7e6c199bf Clone the frame window configuration in 'clone-frame'
* doc/emacs/frames.texi (Creating Frames): Mention the cloned
window configuration for clone-frame.

* lisp/frame.el (clone-frame): Change second arg to 'no-windows'
and clone window configuration when it's nil.

* lisp/tab-bar.el (tab-bar-mouse-context-menu)
(tab-bar-detach-tab): Replace "Detach" with "Move" in help/doc strings.

https://lists.gnu.org/archive/html/emacs-devel/2021-10/msg00408.html
2021-10-06 19:38:09 +03:00
Eli Zaretskii
5f626488d8 * lisp/tool-bar.el (tool-bar-position): Doc fix. 2021-10-06 19:18:51 +03:00
Stefan Monnier
8d53c23f90 * lisp/net/tramp-archive.el (tramp-archive-autoload-file-name-handler): Scope
Fix the scoping of `tramp-archive-enabled`.
2021-10-06 12:15:26 -04:00
Glenn Morris
1b11fcae92 Merge from origin/emacs-28
1ccd3eb721 (origin/emacs-28) ; Fix typo in etc/NEWS
0f28ee94ac * NEWS: Mention rcirc connects to #emacs by default
aacafbe267 Refactor mh-utils-tests macro 'with-mh-test-env'
ead5c5cc51 Avoid using variable before it has been initialized
b2c50d7cf3 Clarify docstring of blink-matching-paren
d2a34cabcf ; Very minor touch-up to a recent change
36a7ce4393 ; * doc/emacs/trouble.texi (After a Crash): Fix typo.
1cd1b2835b * doc/misc/gnus.texi (Loose Threads): Use regexp-opt in ex...
9f041cdfac Bump project.el version
ad2287e659 Retain compatibility with older project.el projects
d86b2e59c7 native-comp-available-p is the definitive test
1b383ac424 Minor fix of a recently installed documentation change
4d76765b6c Fix md5 issue in recent Gnulib merge
18308b739a Tweak recent 'configure' fix

# Conflicts:
#	etc/NEWS
2021-10-06 07:50:33 -07:00
Lars Ingebrigtsen
444dfc044f Reparent `gnus-article-mode-map' again
* lisp/gnus/gnus-art.el (:keymap): Make `button-buffer-map' the
parent of `gnus-article-mode-map' again.
2021-10-06 13:19:13 +02:00
Lars Ingebrigtsen
597b6deb29 Add new major mode 'clean-mode'
* doc/lispref/modes.texi (Major Modes): Document it.

* lisp/simple.el (clean-mode): New major mode.
2021-10-06 12:55:21 +02:00
Lars Ingebrigtsen
c0f7396588 Add an optional parameter to kill-all-local-variables
* doc/lispref/variables.texi (Creating Buffer-Local): Document it
(bug#30204).

* src/buffer.c (Fkill_all_local_variables): Allow killing
permanent local variables, too.

* src/print.c (temp_output_buffer_setup):
* src/minibuf.c (set_minibuffer_mode): Adjust callers.
2021-10-06 12:55:21 +02:00
Michael Albinus
ff31741b85 * admin/notes/emba (Emacs jobset): Update.
* test/infra/gitlab-ci.yml (.test-template): Uncomment
'allow_failure', it isn't needed anymore.
2021-10-06 12:24:45 +02:00
Lars Ingebrigtsen
5fb3064629 Make unused macro gnus-local-set-keys obsolete
* lisp/gnus/gnus-util.el (gnus-local-set-keys): Make obsolete.
2021-10-06 12:07:33 +02:00
Lars Ingebrigtsen
5eec541d6b Make unused gnus-define-keys-safe macro obsolete
* lisp/gnus/gnus-util.el (gnus-define-keys-safe): Make obsolete.
2021-10-06 12:05:38 +02:00
Lars Ingebrigtsen
453db25413 Use `define-keymap' in gnus-registry-install-shortcuts
* lisp/gnus/gnus-registry.el (gnus-registry-install-shortcuts):
Use `define-keymap'.
2021-10-06 12:04:37 +02:00
Lars Ingebrigtsen
2dd5fc85d1 Make `gnus-define-keymap' obsolete and adjust caller
* lisp/gnus/gnus-kill.el (gnus-kill-file-mode-map): Use
`define-keymap'.

* lisp/gnus/gnus-util.el (gnus-define-keymap): Make obsolete.
2021-10-06 12:01:43 +02:00
Lars Ingebrigtsen
e006d4a251 Fix gnus-start.el compilation warning
* lisp/gnus/gnus-start.el (gnus-save-newsrc-file-last-timestamp):
Move to avoid a compilation warning.
2021-10-06 11:58:16 +02:00
Lars Ingebrigtsen
550745b98b Finish conversion of Gnus from `gnus-define-keys'
* lisp/gnus/gnus-undo.el (gnus-undo-mode-map):
* lisp/gnus/gnus-salt.el (gnus-pick-mode-map):
(gnus-binary-mode-map):
(gnus-tree-mode-map):
* lisp/gnus/gnus-msg.el (gnus-summary-send-map):
* lisp/gnus/gnus-ml.el (gnus-mailing-list-mode-map):
* lisp/gnus/gnus-icalendar.el (gnus-icalendar-setup):
* lisp/gnus/gnus-art.el (gnus-article-mode-map):
(gnus-article-edit-mode-map): Use `define-keymap' instead of
* `gnus-define-keys'.
2021-10-06 11:57:22 +02:00
Lars Ingebrigtsen
8e37466efc Clear gnus-save-newsrc-file-last-timestamp on start and exit
* lisp/gnus/gnus-start.el (gnus-clear-system): Clear
`gnus-save-newsrc-file-last-timestamp' on start and exit (bug#51053).
2021-10-06 11:18:16 +02:00
Arash Esbati
74aaf8b727 Improve finding external documents in reftext
* lisp/textmodes/reftex-parse.el (reftex-parse-from-file): Extend
regexp in order to support \externalcitedocument macro and a
second optional argument provided by LaTeX package xr-hyper
(bug#51054).
2021-10-06 11:14:45 +02:00
Michael Albinus
1ccd3eb721 ; Fix typo in etc/NEWS 2021-10-06 10:57:02 +02:00
Miha Rihtaršič
c5c545e45e Add tests for incomplete escape sequences in ansi-color-tests
* test/lisp/ansi-color-tests.el
(ansi-color-tests-equal-props): New function.
(ansi-color-incomplete-sequences-test): New ert test (bug#50806).
2021-10-06 10:50:39 +02:00
Miha Rihtaršič
a8b2d85899 Documentation fixes for recent ansi-color additions
* lisp/ansi-color.el (ansi-color-context-region): Improve formatting.
* lisp/term.el
(term-ansi-face-already-done):
(term-handle-colors-array):
Fix obsoleting version (bug#50806).
2021-10-06 10:50:34 +02:00
Yuri D'Elia
8b67eef5a1 Document the improved scroll-margin behavior
* etc/NEWS: document the improved `scroll-margin' behavior.
2021-10-06 10:43:47 +02:00
Yuri D'Elia
dc5bb72958 Perform cleanup on errors in mouse-drag-track
* lisp/mouse.el (mouse-drag-track): Disable both scroll-margin and
auto-hscroll-mode in mouse-drag-region and do not re-enable them until
dragging is over, making selections work as expected when inside the
margins.
* lisp/mouse.el (mouse-drag-track): Correctly reset original values
changed during execution if errors occur.
2021-10-06 10:43:22 +02:00
Yuri D'Elia
e62d1fa983 Improve interaction between mouse-drag-region and scroll-margin
* lisp/mouse.el (mouse-drag-track): Disable both scroll-margin and
auto-hscroll-mode in mouse-drag-region and do not re-enable them until
dragging is over, making selections work as expected when inside the
margins.
2021-10-06 10:42:56 +02:00
Philip Kaludercic
0f28ee94ac * NEWS: Mention rcirc connects to #emacs by default 2021-10-06 09:16:17 +02:00
Lars Ingebrigtsen
405660e785 Fix up gnus-summary-mode-map after previous change
* lisp/gnus/gnus-sum.el (:keymap): Fix two sub-maps that were
moved to the wrong place.
2021-10-06 09:05:22 +02:00
Stephen Gildea
aacafbe267 Refactor mh-utils-tests macro 'with-mh-test-env'
* test/lisp/mh-e/mh-utils-tests.el (with-mh-test-env): Refactor to
reduce the size of the expanded macro.
(mh-test-utils-setup): New helper function.
(mh-ensure-native-trampolines): Absorbed by mh-test-utils-setup.
2021-10-05 20:34:03 -07:00
Stefan Kangas
ead5c5cc51 Avoid using variable before it has been initialized
* lisp/ibuffer.el (ibuffer-shrink-to-fit): Don't try to use
ibuffer-auto-mode variable before ibuf-ext.el has been loaded.
(Bug#51029)
2021-10-05 23:25:03 +02:00
Stefan Kangas
b2c50d7cf3 Clarify docstring of blink-matching-paren
* lisp/simple.el (blink-matching-paren): Clarify
docstring.  (Bug#51032)
2021-10-05 23:11:31 +02:00
Lars Ingebrigtsen
3ff29babbf Convert more parts of Gnus from gnus-define-keys' to define-keymap'
* lisp/gnus/spam.el (gnus-summary-mode-map):
* lisp/gnus/gnus-topic.el (gnus-topic-mode-map):
* lisp/gnus/gnus-sum.el (gnus-summary-mode-map):
* lisp/gnus/gnus-srvr.el (gnus-server-mode-map):
(gnus-server-mode-map):
(gnus-browse-mode-map):
* lisp/gnus/gnus-score.el (gnus-summary-score-map):
* lisp/gnus/gnus-draft.el (gnus-draft-mode-map):
* lisp/gnus/gnus-agent.el (gnus-agent-group-mode-map):
(gnus-agent-summary-mode-map):
(gnus-agent-server-mode-map):
(gnus-category-mode-map): Convert from `gnus-define-keys' to
`define-keymap'.

* lisp/gnus/gnus.el: Define more commands.
2021-10-05 21:49:32 +02:00
Stefan Kangas
d2a34cabcf ; Very minor touch-up to a recent change
* doc/lispintro/emacs-lisp-intro.texi (Design @value{COUNT-WORDS}):
Remove an unnecessary and potentially confusing "now".
2021-10-05 21:36:30 +02:00
Stefan Kangas
36a7ce4393 ; * doc/emacs/trouble.texi (After a Crash): Fix typo. 2021-10-05 21:11:19 +02:00
Stefan Kangas
1cd1b2835b * doc/misc/gnus.texi (Loose Threads): Use regexp-opt in example. 2021-10-05 19:32:32 +02:00
Dmitry Gutov
9f041cdfac Bump project.el version
* lisp/progmodes/project.el: Bump the version.
2021-10-05 19:58:26 +03:00
Dmitry Gutov
ad2287e659 Retain compatibility with older project.el projects
* lisp/progmodes/xref.el (xref--analyze):
Retain compatibility with older project.el and its compatible
project definitions (for standalone Xref from ELPA).
2021-10-05 19:50:55 +03:00
Stephen Gildea
d86b2e59c7 native-comp-available-p is the definitive test
* doc/lispref/compile.texi (Native Compilation): Document
native-comp-available-p as the way to test for native compilation.
* lisp/emacs-lisp/package.el (package--native-compile-async):
* test/lisp/mh-e/mh-utils-tests.el (mh-ensure-native-trampolines):
Test for native compilation with native-comp-available-p.

Thank you to Andrea Corallo for reviewing this patch.
2021-10-05 09:24:11 -07:00
Eli Zaretskii
1b383ac424 Minor fix of a recently installed documentation change
* doc/emacs/search.texi (Lax Search): Don't use ".." inside @samp,
it looks confusing, especially in print.  (Bug#51020)
2021-10-05 19:20:51 +03:00
Stefan Kangas
d30cbc1e37 Do interactive mode tagging for proced.el 2021-10-05 18:18:20 +02:00
Paul Eggert
4d76765b6c Fix md5 issue in recent Gnulib merge
When configured --with-native-compilation, Emacs needs md5_stream.
Problem reported by Andy Moreton (Bug#50985#23).
* admin/merge-gnulib (GNULIB_MODULES): Add crypto/md5,
needed for --with-native-compilation.
(AVOIDED_MODULES): Avoid crypto/af_alg, since Emacs doesn’t
need to bother with kernel-supported cryptography algorithms.
* lib/gnulib.mk.in, m4/gnulib-comp.m4:
Regenerate by running admin/merge-gnulib.
* lib/md5-stream.c: New file, copied from Gnulib.
2021-10-05 09:09:23 -07:00
Paul Eggert
18308b739a Tweak recent 'configure' fix
* configure.ac (gt_TYPE_WINT_T): Omit obsolete and
now-overridden definition.
2021-10-05 09:09:22 -07:00
Glenn Morris
2dc88a27a4 Merge from origin/emacs-28
63abe976ce (origin/emacs-28) Document minibuffer-default-prompt-forma...
b5afbedc90 Backward compatibility option for 'nobreak-char-display'
ea1b728a06 ; * lisp/dired.el: Fix typo.
984eafeb98 Unbreak the build after Gnulib update
5946370cd1 Check, whether an FUSE mount has been broken in Tramp
90575a6c0c Disable 'nobreak-char-display' in Eldoc buffers
570e2c9a17 Fix small error in comint-send-input
fd7bb31412 Update documentation of search-whitespace-regexp
1f4ced47a1 Fix cc-compat.el syntax error
b431f54c1b Mention `seq-uniq' in `delete-dups' documentation
0a7bab689c ; Minor stylistic fixes found by checkdoc
e2861e2d08 ; * etc/NEWS: Fix typo.
1a65d49931 Port recent Gnulib changes to MS-Windows
68a256c892 Update from Gnulib
63cb65dcce * Fix mh tests for native comp builds (bug#50975)
e606cc6f40 * Fix `batch-native-compile' not to spawn a subprocess
894dfe70da Fix native-compilation build from tarball on Cygwin
2ce5e08058 Remove U+FE0F from script-representative-chars

# Conflicts:
#	etc/NEWS
2021-10-05 07:50:22 -07:00
Glenn Morris
6090e0f23e ; Merge from origin/emacs-28
The following commit was skipped:

9750e78202 Fix problem with 'vertical-motion' and emoji
2021-10-05 07:50:20 -07:00