1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-05 23:21:22 -08:00
Commit graph

149741 commits

Author SHA1 Message Date
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
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
Theodor Thornhill
e588fa45ce Add CSS Box Alignment Module Level 3 to css-mode
* lisp/textmodes/css-mode.el (css-property-alist): Consolidate
`align-{contents, items, self}', as well as the corresponding
values for `justify-{contents, items, self}' and `place-{contents,
items, self}'.  Values extracted from the flex part and into its
own block (bug#50345).
2021-09-03 08:14:48 +02:00
Theodor Thornhill
5ae02f90fe Add selection to css-pseudo-element-ids
* lisp/textmodes/css-mode.el (css-pseudo-element-ids): Add
selection as an element id (bug#50345).
2021-09-03 08:13:49 +02:00
Lars Ingebrigtsen
7a4d823b39 Fix revert-buffer' message in find-file-select'
* lisp/files.el (find-file-noselect): Refer to revert-buffer-quick
here since we're in a file-based buffer.
2021-09-03 07:48:10 +02:00
Lars Ingebrigtsen
d9dabdb381 Fix memory-report test failure
* test/lisp/emacs-lisp/memory-report-tests.el: Fix test build failure.
2021-09-03 07:46:46 +02:00
Dmitry Gutov
0a18899f06 Fix recently broken vc-delete-file with Git
* lisp/vc/vc-git.el (vc-git-delete-file):
Treat FILE as string, not list (bug#50334).
2021-09-03 03:34:18 +03:00
Glenn Morris
926e69b207 More fixes for recently added vc-rename test
* test/lisp/vc/vc-tests.el (vc-test-cvs05-rename-file): Skip.
(vc-test-sccs05-rename-file): Treat like RCS.
2021-09-02 17:16:53 -07:00
Tassilo Horn
0db50c3fd5 Support forges by type rather than by host
Formerly, bug-reference-setup-from-vc-alist basically had one entry
per host (like gitlab.com).  Restructure so that it's easy to add new
hosts being just an instance of some type of forge such as SourceHut,
Gitea, or GitLab.

While we're at it, add support for gitea.com, salsa.debian.org, and
framagit.org, the latter two being GitLab instances.

* lisp/progmodes/bug-reference.el (bug-reference-gitea-instances)
(bug-reference-gitlab-instances,bug-reference-sourcehut-instances):
New variables listing online instances of those forges.
(bug-reference--setup-from-vc-alist): New function (and variable for
caching) using the former three new variables to generate suitable VC
auto-setup alist.
(bug-reference-try-setup-from-vc): Use both
bug-reference-setup-from-vc-alist and
bug-reference--setup-from-vc-alist.
2021-09-02 22:07:16 +02:00
Juri Linkov
6372a3f6e5 * lisp/abbrev.el: Improve docstrings of inverse commands (bug#50303)
* lisp/abbrev.el (add-mode-abbrev, add-global-abbrev)
(inverse-add-mode-abbrev, inverse-add-global-abbrev):
Add interlinking to opposite commands in docstrings.
2021-09-02 20:34:28 +03:00
Eli Zaretskii
c7997c8c98 ; * doc/emacs/dired.texi (Operating on Files): Fix last change. 2021-09-02 19:07:25 +03:00
Eli Zaretskii
3d26490749 Fix expansion of non-ASCII $HOME
* src/fileio.c (Fexpand_file_name): Make the file name multibyte
if the value of $HOME is multibyte.  (Bug#50266)
2021-09-02 18:49:01 +03:00
Eli Zaretskii
110db95e13 Fix 'clone-frame' on TTY frames
* src/frame.c (Fmake_terminal_frame): Make a separate copy of the
faces for the new frame before calling modify-frame-parameters, as
on TTY frames that needs the faces already set up.  (Bug#34715)
2021-09-02 14:58:41 +03:00
Eli Zaretskii
bfb2dd0e9d Improve a recent change in 'mule-cmds.el'
* lisp/international/mule-cmds.el
(select-safe-coding-system--format-list): Display codepoints in
hex and as characters.  Display the ellipsis in a better place.
Enlarge the limit to 5 codepoints, as the display is now easier to
grasp.
(select-safe-coding-system-interactively): Don't use
'select-safe-coding-system--format-list' for "rejected"
coding-systems, as those don't come with characters and positions.
2021-09-02 13:43:00 +03:00
Lars Ingebrigtsen
28dc18a553 Make the coding system warning prettier
* lisp/international/mule-cmds.el
(select-safe-coding-system--format-list): New function to display
the coding system information in a more readable format (bug#31062).
(select-safe-coding-system-interactively): Use it.
2021-09-02 10:51:39 +02:00
Lars Ingebrigtsen
d7fb11b6d7 Reformat up-list and backward-up-list doc strings
* lisp/emacs-lisp/lisp.el (backward-up-list): Reformat the doc
string into several paragraphs (bug#31349).
(up-list): Ditto and fix the "start" to be "end".
2021-09-02 10:22:52 +02:00
Lars Ingebrigtsen
b099942113 isearch*-lax-whitespace doc string improvements
* lisp/isearch.el (isearch-regexp-lax-whitespace):
* lisp/isearch.el (isearch-lax-whitespace): Mention the key binding
in the doc string (bug#31790).
2021-09-02 09:57:30 +02:00
Lars Ingebrigtsen
0f3e34ec37 Fix documentation of `dired-do-touch'
* doc/emacs/dired.texi (Operating on Files): Fix documentation of
`dired-do-touch' (bug#50323).
2021-09-02 09:49:06 +02:00
Yikai Zhao
d8d5dc4565 memory-report: support calculating size for structures
* lisp/emacs-lisp/memory-report.el (memory-report--object-size-1): Add
support for cl-defstruct types (bug#50301).
2021-09-02 09:37:06 +02:00
Lars Ingebrigtsen
891be6f140 Fix up previous ebfn2ps tweak
* lisp/progmodes/ebnf2ps.el (ebnf-print-buffer): Remove NOOP decode
step.
2021-09-02 09:19:54 +02:00
Lars Ingebrigtsen
7d7e8a9c15 Add a test for bug#50320 in sh-script 2021-09-02 08:43:48 +02:00
Lars Ingebrigtsen
f143260d04 Revert "Tweak sh-script-mode indentation further"
This reverts commit 6392bc37ab.

The changes led to errors throughout (bug#50320).
2021-09-02 08:41:30 +02:00
Stephen Gildea
f3c5355c6b tramp-auto-save-directory: make private
* lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
chmod 0700 tramp-auto-save-directory when creating

Thanks to Michael Albinus for reviewing this patch.
2021-09-01 20:42:28 -07:00
Eli Zaretskii
f85b8678c4 Fix segfault with invalid key-translation-map binding
* src/keyboard.c (access_keymap_keyremap): Don't assume an invalid
function is specified as a symbol.  Reported by Perry E. Metzger
<perry@piermont.com>.
2021-09-01 19:27:43 +03:00
Lars Ingebrigtsen
c42bb9d75c Filter out the `name' parameter in clone-frame
* lisp/frame.el (clone-frame): Filter out the `name' parameter,
because two frames shouldn't have the same name and this will
lead to a warning.
2021-09-01 16:27:06 +02:00
Lars Ingebrigtsen
b3a9d8cd3d Don't have epg bug out on non-existent packages
* lisp/epg.el (epg--start): We may be called from contexts where
the directory doesn't exist, but we need to have an existing
directory here for the process (bug#32004).
2021-09-01 15:56:04 +02:00
Lars Ingebrigtsen
6a6de68daf Add new macro `with-existing-directory'
* doc/lispref/files.texi (Testing Accessibility): Document it.
* lisp/subr.el (with-existing-directory): New macro (bug#32004).
2021-09-01 15:56:04 +02:00
Glenn Morris
a15f549a57 ; Auto-commit of loaddefs files. 2021-09-01 06:45:05 -07:00
Kien Nguyen
c0243d9e82 * Add a dll loader entry for gcc_jit_context_new_cast (bug#50315)
* src/comp.c: Add a dll loader entry for
'gcc_jit_context_new_cast' (bug#50315).
2021-09-01 15:26:04 +02:00
Drew Adams
2c662e6d66 Add new command `clone-frame'
* doc/emacs/frames.texi (Creating Frames): Document it.

* lisp/frame.el (clone-frame): New command and keystroke (bug#34715).
2021-09-01 11:42:48 +02:00
Glenn Morris
a4e3e0f89e Make set-foreground-color display completions using foreground colors
* lisp/faces.el (defined-colors-with-face-attributes): Also create
colors for foregrounds (bug#33799).
(read-color): Also allow varying the foreground color.

* lisp/frame.el (set-foreground-color): Vary the foreground color.
2021-09-01 11:26:51 +02:00