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

151382 commits

Author SHA1 Message Date
Eli Zaretskii
7c7a47b86e ; * etc/NEWS: Fix a recent change. 2021-09-05 13:33:46 +03:00
Lars Ingebrigtsen
3d0276e98b Improve the documentation around the read-key/minibuffer prompting
* lisp/subr.el (read-char-choice-use-read-key): Explain the
difference.
(read-char-choice): Mention the variables.
(y-or-n-p-use-read-key): Explain the difference.
(y-or-n-p): Mention the variable (bug#50390).
2021-09-05 12:02:20 +02:00
Lars Ingebrigtsen
73a90cda4a Clarify completion-list-mode NEWS entry
* etc/NEWS: Clarify completion-list-mode entry (bug#50394).
2021-09-05 12:02:20 +02:00
Eli Zaretskii
8f2e8add98 ; * doc/emacs/maintaining.texi (Looking Up Identifiers): Fix last change. 2021-09-05 12:30:35 +03:00
Juri Linkov
0972cbe42f * lisp/progmodes/xref.el: Fix defcustoms (bug#50067)
* lisp/progmodes/xref.el (xref-auto-jump-to-first-definition)
(xref-auto-jump-to-first-xref, xref-search-program): Fix defcustoms.
2021-09-05 11:36:30 +03:00
Eli Zaretskii
2ed2999ce5 Improve documentation of new Xref options
* doc/emacs/maintaining.texi (Looking Up Identifiers):
* etc/NEWS: Document the new Xref user options.  Move a lost
Xref-related entry to the rest of them.
2021-09-05 10:59:07 +03:00
Augusto Stoffel
1fdd898704 Fixes for 'python-shell-send-string' and 'python-shell-send-file'
* lisp/progmodes/python.el (python-shell-send-string): use a temporary
file for sufficiently long strings.
(python-shell-send-file, python-shell-eval-file-setup-code): Avoid
showing "plumbing code" in the traceback (bug#32042).
2021-09-05 09:43:13 +02:00
Ian W
ba84ec8bd9 Fix error handling in 'ispell-init-process'
* lisp/textmodes/ispell.el (ispell-init-process): When Ispell
initialization reports an error, call 'ispell-accept-output' only
if the Ispell process is still alive.  (Bug#50370)

Copyright-paperwork-exempt: yes
2021-09-05 10:25:22 +03:00
Michael Albinus
e6f936eb4d Cleanup tramp-tests.el
* test/lisp/net/tramp-tests.el
(tramp--test--deftest-direct-async-process): Fix macro declaration.
(tramp-test29-start-file-process, tramp-test30-make-process):
Do not run connection type test for direct async processes.
2021-09-05 09:23:30 +02:00
Glenn Morris
76300b87d4 * test/lisp/vc/vc-tests.el (vc-test-sccs06-version-diff): Fix it. 2021-09-04 18:39:20 -07:00
Dmitry Gutov
94530e7ea9 Belated fix
* lisp/progmodes/xref.el: (xref--show-xref-buffer):
Fix support for xref-auto-jump-to-first-xref.
2021-09-05 03:52:29 +03:00
Dmitry Gutov
c298337505 * lisp/progmodes/xref.el: Bump version. 2021-09-05 03:36:30 +03:00
Dmitry Gutov
1be8bfae6b Xref: automatic jumping to the first definition or reference
* lisp/progmodes/xref.el (xref-auto-jump-to-first-definition)
(xref-auto-jump-to-first-xref): New user options.
Discussed in bug#50067.
(xref--show-xrefs, xref--show-defs): Use them here.
(xref--auto-jump-first): New function, handles different values.
(xref-show-definitions-buffer)
(xref-show-definitions-buffer-at-bottom): Use it.
2021-09-05 03:35:43 +03:00
Dmitry Gutov
1d36043809 Fix test on machines with Bzr not set up
* test/lisp/vc/vc-tests.el (vc-test--version-diff):
Add EMAIL= to the environment to avoid potential failure.
2021-09-05 02:44:08 +03:00
Philip Kaludercic
608b2ec9be
Replace with-current-buffer with buffer-local-value where applicable
* rcirc.el (rcirc-buffer-process): Use buffer-local-value
(rcirc-last-quit-line): Use buffer-local-value
(rcirc-bury-buffers): Use buffer-local-value
(rcirc-record-activity): Use buffer-local-value
2021-09-05 01:39:52 +02:00
Matthias Meulien
ea53f0df65 Add tests for vc-version-diff
* test/lisp/vc/vc-tests.el (vc-test--version-diff):
New function.
(vc-test-%s06-version-diff): New family of tests.
2021-09-05 02:32:49 +03:00
Dmitry Gutov
88795df552 Rename xref-select-and-{goto,show}-xref
* lisp/progmodes/xref.el (xref-select-and-show-xref):
Rename from xref-select-and-goto-xref (bug#35376).
Update all references.
2021-09-05 01:45:46 +03:00
Basil L. Contovounesios
534e631b00 Avoid segfault in command-modes
* src/data.c (Fcommand_modes): Check that bytecode object is
interactive before accessing its interactive spec to avoid
segfaulting (bug#50376).
2021-09-04 21:28:31 +02:00
Stefan Kangas
0fe03c4740 ; * etc/NEWS: Fix copyright year; file recreated in 2019 for 28.1. 2021-09-04 20:11:12 +02:00
Basil L. Contovounesios
16a36732b8 ; * etc/NEWS: Fix markup in recent example. 2021-09-04 18:03:48 +01:00
Stefan Monnier
c78969d31b * lisp/emacs-lisp/timer.el (timer-create): Don't inline it 2021-09-04 12:52:16 -04:00
Eli Zaretskii
0daad76704 Improve documentation of line truncation and wrapping
* doc/emacs/display.texi (Line Truncation, Visual Line Mode):
* doc/lispref/display.texi (Truncation): Document that turning on
line truncation disables wrapping, and vice versa.

* src/buffer.c (syms_of_buffer) <truncate-lines>:
* src/xdisp.c (syms_of_xdisp) <truncate-partial-width-windows>:
Warn against turning on when 'visual-line-mode' is in effect.
* lisp/simple.el (visual-line-mode): Document that this mode
disables line truncation.  (Bug#29664)
2021-09-04 13:34:32 +03:00
Lars Ingebrigtsen
a8de88e330 Allow killing the diff buffer after `C-x v u'
* doc/emacs/maintaining.texi (VC Undo): Document this.
* lisp/vc/vc.el (vc-revert-show-diff): Allow a `kill' value.
(vc-revert): Use it (bug#16902).
2021-09-04 11:14:12 +02:00
Lars Ingebrigtsen
56c98a4ad8 Improve error message in ielm on printing errors
* lisp/ielm.el (ielm-eval-input): Don't claim that there's a bug
on pp -- it may just be something that nests too far (bug#18012).
2021-09-04 10:38:50 +02:00
Lars Ingebrigtsen
239ca285f9 Add a customization group link from whitespace-mode
* lisp/whitespace.el (whitespace-mode): Add a link to the
whitespace customization group to see the faces (bug#18296).
2021-09-04 10:19:39 +02:00
Lars Ingebrigtsen
3f999c03c2 Add support for customization group hyperlinks in doc strings
* lisp/help-mode.el (help-customization-group): New button.
(help-xref-customization-group-regexp): New const.
(help-make-xrefs): Use them to allow making customization group
buttons.
2021-09-04 10:19:03 +02:00
Lars Ingebrigtsen
7e7723796c Make multi-frame M-x calendar' setup work when pop-up-frames'
* lisp/calendar/calendar.el (calendar): Make the calendar frame
setup work when pop-up-frames is non-nil (bug#19256).
2021-09-04 09:34:29 +02:00
Lars Ingebrigtsen
7ca949b7ef Tweak hi-lock-mode doc string
* lisp/hi-lock.el (hi-lock-mode): Tweak the doc string so that
running hi-lock-mode in a *Help* buffer showing this help text
won't issue an error (bug#20977).
2021-09-04 09:12:10 +02:00
Lars Ingebrigtsen
c6b1f8daa7 Make `M-x term' offer completion
* lisp/term.el (term): Have completion in the prompt (bug#21296).
2021-09-04 09:12:10 +02:00
Yuchen Pei
ca7e76c6f9 Add diary-offset to diary-lib.el
* doc/emacs/calendar.texi: Document the change.
* lisp/calendar/diary-lib.el (diary-offset):
* test/lisp/calendar/icalendar-tests.el: Add a test (bug#50195).
2021-09-04 09:12:10 +02:00
Stefan Kangas
f9dcde3906 * etc/DISTRIB: Refer to gnu.org instead of the deleted file etc/GNU. 2021-09-04 09:08:54 +02:00
Glenn Morris
e1050492d1 * doc/misc/efaq.texi (Reporting bugs): Refer to the Emacs manual.
That is better than having a separate, outdated text.
2021-09-03 08:45:16 -07:00
Glenn Morris
b66d4616f0 Merge from origin/emacs-27
0aa0410372 (origin/emacs-27, emacs-27) Fix "Finder" description for m...
2021-09-03 07:50:25 -07:00
Augusto Stoffel
e32c7d2a8d Change Python eval to send directly instead of using temporary files
* lisp/progmodes/python.el (python-shell-eval-setup-code): New
const for setting up eval (bug#49822).
(python-shell--encode-string): New function.
(python-shell-send-string): Use it to send commands directly
instead of writing to a temporary file.
(python-shell-send-string-no-output): Adjust sending.
(python-shell-send-file): Ditto.
2021-09-03 14:26:51 +02:00
Theodor Thornhill
34550b4492 Update to CSS Flexible Box Layout Module Level 2
* css-mode.el (css-property-alist): Update link.
2021-09-03 14:06:02 +02:00
Theodor Thornhill
0a7424360c Update to CSS Containment Module Level 2
* css-mode.el (css-property-alist): Update contain, and add
content-visibility.
2021-09-03 14:05:49 +02:00
Theodor Thornhill
538a401b0c Update to CSS Grid Layout Module Level 2
* css-mode.el (css-property-alist): Update to the newer spec, and add
the subgrid keywords
2021-09-03 14:05:37 +02:00
Theodor Thornhill
1778c90b57 Clean up css-property-alist for alignment
* css-mode.el (css-property-alist, css-value-class-alist): Provide new
position related entries for use in css-property-alist.  Make sure
that property-alist reflect the spec:
https://www.w3.org/TR/css-align-3/#property-index
2021-09-03 14:05:25 +02:00
Lars Ingebrigtsen
d0eaf7a3cf Fix `describe-function' for autoloaded adviced functions
* lisp/emacs-lisp/nadvice.el (advice--make-single-doc): Factor
out.
(advice--make-docstring): From here (bug#23523).  Also include
advices for autoloads.
2021-09-03 13:48:44 +02:00
Lars Ingebrigtsen
6dad558a9d Allow gud-mi to edit two executables with the same name
* lisp/progmodes/gud.el (gud-common-init): Allow editing two
executables with the same name (bug#22772).
2021-09-03 12:44:22 +02:00
Stefan Kangas
0cabf8bc36 ; Fix typos 2021-09-03 13:05:32 +02:00
Lars Ingebrigtsen
d1f3247666 Make recent timer changes more backwards-compatible
* lisp/emacs-lisp/timer.el (timerp, timer-event-handler): Make
backwards-compatible with old .elc files that have their own
versions of `timer-create'd structures.
2021-09-03 10:40:21 +02:00
Lars Ingebrigtsen
d67ce5ef10 Fix message in previous toggle-truncate-lines change
* lisp/simple.el (toggle-truncate-lines): Fix message in previous
change.
2021-09-03 10:15:05 +02:00
Lars Ingebrigtsen
e1c893f4a3 Allow not putting pasted text onto the kill ring under xterm
* lisp/term/xterm.el (xterm-paste): Don't put pasted text onto the
kill ring (bug#28868).
(xterm-store-paste-on-kill-ring): New user option.
2021-09-03 09:47:18 +02:00
Eli Zaretskii
4bdae17a74 * etc/NEWS: Announce recent change in 'toggle-truncate-lines'. 2021-09-03 10:04:40 +03:00
Stefan Kangas
41db6943b9 Sync latest SKK-JISYO.L
* leim/SKK-DIC/SKK-JISYO.L: Sync to current upstream version.
2021-09-03 10:40:57 +02:00
Stefan Kangas
f4805be0b9 Update publicsuffix.txt from upstream
* etc/publicsuffix.txt: Update from
https://publicsuffix.org/list/public_suffix_list.dat
dated 2021-09-02 22:13:03 UTC.
2021-09-03 10:40:57 +02:00
Lars Ingebrigtsen
0d3ae350c9 Make toggle-truncate-lines disable visual-line-mode
* lisp/simple.el (toggle-truncate-lines): Disable
`visual-line-mode' (bug#29664).
2021-09-03 08:37:03 +02:00
Stefan Kangas
0034067f47 Avoid cl-lib alias for cadadr and friends
* lisp/edmacro.el (edmacro-fix-menu-commands):
* lisp/frameset.el (frameset-move-onscreen):
* lisp/htmlfontify.el (hfy-face-at, hfy-merge-adjacent-spans)
(hfy-mark-tag-names):
* lisp/mail/footnote.el (footnote--make-hole)
(footnote-back-to-message):
* lisp/net/eudc.el (eudc-get-email, eudc-get-phone):
* lisp/net/rcirc.el (rcirc-make-trees, rcirc-handler-333)
(rcirc-authenticate):
* lisp/play/5x5.el (5x5-draw-grid, 5x5-solver):
* lisp/play/decipher.el (decipher-insert-frequency-counts):
* lisp/ses.el (ses-relocate-range):
* test/lisp/emacs-lisp/edebug-tests.el (edebug-tests-step-into-macro-error)
(edebug-tests-error-stepping-into-subr): Avoid using cl-lib aliases
for cadadr and friends that now reside in subr.el.
2021-09-03 10:18:54 +02:00
Stefan Kangas
07e8ff7f0f Move cl-lib tests for caaXr to subr-tests.el
* test/lisp/emacs-lisp/cl-lib-tests.el (cl-test-caaar)
(cl-test-caadr): Move tests using a cl-lib alias from here...
* test/lisp/subr-tests.el (subr-test-caaar, subr-test-caadr): ...to
here.  The functions under test are in subr.el.
2021-09-03 10:18:54 +02:00