1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 04:30:45 -08:00
Commit graph

150847 commits

Author SHA1 Message Date
Jan Synacek
d72fefdeab Fix typos in the manual and in a comment
* lisp/minibuffer.el (completion-pcm--hilit-commonality):
* doc/lispintro/emacs-lisp-intro.texi (Mode Line): Fix typos
(bug#51434).

Copyright-paperwork-exempt: yes
2021-10-28 23:33:12 +02:00
Eli Zaretskii
bea843dee1 Avoid assertion violations in 'lookup-key'
* src/keymap.c (Flookup_key): Don't call ASIZE unless KEY is a
vector.  This avoids assertion violations when KEY is a string.
2021-10-28 20:52:41 +03:00
Stefan Kangas
f52fa1c150 image-dired: Unreverse accidentally reversed menus
* lisp/image-dired.el (image-dired-thumbnail-mode-map)
(image-dired-display-image-mode-map, image-dired-minor-mode-map):
In Emacs 26.1 (commits b905454680 and bed0373855), the menus were
converted to use 'easy-menu-define', but they were reversed in the
process.  Unreverse the menus.  (Bug#51446)
2021-10-28 12:54:07 +02:00
Stefan Kangas
0f8417d597 Be more allowing when looking for menu-bar items
Don't merge to master.  This is a safe-for-release fix for Bug#50752.

* src/keymap.c (lookup_key_1): Factor out function from
Flookup_key.
(Flookup_key): Be case insensitive when looking for Qmenu_bar
items.  (Bug#50752)

* test/src/keymap-tests.el
(keymap-lookup-key/mixed-case)
(keymap-lookup-key/mixed-case-multibyte): New tests.
2021-10-28 12:30:42 +02:00
Juri Linkov
7e2b973d60 * lisp/textmodes/text-mode.el (text-mode-context-menu): Rename recently added. 2021-10-27 20:32:23 +03:00
Juri Linkov
da6d889e90 ; * etc/NEWS: Use active voice for 'repeat-mode', etc. 2021-10-27 20:30:59 +03:00
Robert Pluim
e3171e7e86 Allow automatic use of color fonts for emoji on macOS
* src/macfont.m (macfont_list): Don't exclude color fonts when the
fontspec has an 'emoji' script specification.
2021-10-27 18:56:33 +02:00
Eli Zaretskii
2bdd5732aa ; * etc/NEWS: Fix last change. 2021-10-27 17:13:59 +03:00
Eli Zaretskii
492b927909 Fix help commands for menu-bar menus
* lisp/help.el (help--analyze-key): Fix "C-h c" and "C-h k" on
menu-bar menu items.  (Bug#51421)
2021-10-27 16:09:47 +03:00
Michael Albinus
9589be772d ; * etc/NEWS: Fix typos. 2021-10-27 14:11:09 +02:00
Eli Zaretskii
d353fc4a00 ; Explain why "kinds of atom" isn't a typo
* doc/lispintro/emacs-lisp-intro.texi (Lisp Atoms): Add a comment
explaining why "kinds of atom" isn't a typo.
2021-10-27 14:33:42 +03:00
Eli Zaretskii
47a3750162 ; * etc/NEWS: Improve wording of the Emoji entry. 2021-10-27 14:32:18 +03:00
Stefan Kangas
b814712796 ; Checkdoc fixes in image-dired.el 2021-10-27 04:55:37 +02:00
Stefan Kangas
e45b3fc521 Improve function documentation with text from XDG BDS spec
* lisp/xdg.el (xdg-config-home, xdg-cache-home, xdg-data-home)
(xdg-runtime-dir, xdg-config-dirs, xdg-data-dirs): Copy in the
text from the XDG Base Directory Specification to better explain
what these functions return.
2021-10-26 23:19:10 +02:00
Jonas Bernoulli
284c77eeb6 * lisp/transient.el: Update to package version 0.3.7. 2021-10-25 20:19:52 +02:00
Jonas Bernoulli
40400e6977 ; Revert parts of "Use string-replace instead of replace-regexp-in-string"
"transient.el" is also distributed as a separate package, which
supports Emacs versions as old as 25.1 (see "Package-Requires").
2021-10-25 20:18:05 +02:00
Jonas Bernoulli
214c2e268c ; Revert parts of "Use string-search instead of string-match[-p]"
"transient.el" is also distributed as a separate package, which
supports Emacs versions as old as 25.1 (see "Package-Requires").
2021-10-25 20:17:39 +02:00
Eli Zaretskii
a2c17e115e Merge branch 'emacs-28' of git.savannah.gnu.org:/srv/git/emacs into emacs-28 2021-10-25 19:19:55 +03:00
Eli Zaretskii
fde56eeb76 Revert "Fix a typo in emacs-lisp-intro.texi"
This reverts commit 98eb6d783a.
I've consulted with Richard Stallman about this, and he says
that the original wording, "kinds of atom", is both correct
and more elegant writing.  So I'm restoring the original text.
* doc/lispintro/emacs-lisp-intro.texi (Lisp Atoms): Undo the
fix of a "typo" that wasn't a typo.  (Bug#51271)
2021-10-25 19:11:06 +03:00
Robert Pluim
4779d3ba19 * doc/lispref/functions.texi (Mapping Functions): Use #' when mapping. 2021-10-25 15:46:49 +02:00
Miha Rihtaršič
85ea3f7f47 Fix issue with interpreting ANSI codes in eshell
* lisp/eshell/esh-mode.el (eshell-mode): Make window point advance on
insertion.
(eshell-output-filter): Don't use insert-before-markers (bug#45380).
2021-10-25 15:24:35 +02:00
Stefan Kangas
50f9436146 image-dired: Doc fix to better explain thumbnail generation
* doc/emacs/dired.texi (Image-Dired): Improve description by
explaining that the generation of thumbnails is asynchronous.
2021-10-25 04:54:00 +02:00
Stefan Kangas
bb475e10b9 Clarify two image-dired docstrings
* lisp/image-dired.el (image-dired-dir): Doc fix; clarify that
thumbnails will be saved in "$XDG_CACHE_HOME/thumbnails", as per the
Thumbnail Managing Standard.
(image-dired-thumb-size): Doc fix; clarify that this option will be
ignored when using the Thumbnail Managing Standard.
2021-10-25 02:12:34 +02:00
Lars Ingebrigtsen
f5b4bb4a6f Fix flymake example backend conditions in the manual
* doc/misc/flymake.texi (An annotated example backend): Also react
to `signal' process statuses (bug#51380).
2021-10-25 01:25:20 +02:00
Stefan Kangas
0771d8939a * etc/PROBLEMS: Mention problems with regexp matcher. (Bug#18577) 2021-10-24 23:56:52 +02:00
Juri Linkov
ee579033b9 * test/lisp/repeat-tests.el: New file. 2021-10-24 22:22:16 +03:00
Juri Linkov
7385a7667f * lisp/tab-bar.el (tab-bar-move-repeat-map): Fix alias binding of tab-move.
(tab-bar-move-tab-backward): Put 'repeat-map' symbol property.
2021-10-24 22:22:16 +03:00
Stefan Kangas
56caf1c9b8 Use restrictive umask when creating image-dired data
* lisp/image-dired.el (image-dired-dir)
(image-dired-sane-db-file): Create thumbnail directory and
.image-dired_db with umask 077.  This avoids creating world readable
copies of private data, and is in fact mandated by the Thumbnail
Managing Standard that we aim to support.
2021-10-24 21:20:16 +02:00
Jonas Bernoulli
3b5de7f991
; lisp/transient.el: Revert some misguided stylistic fixes.
These aren't actual modes.  Set checkdoc-symbol-words to avoid
false-positives.  The first line of doc-strings of methods do
not need to end with period.
2021-10-24 21:18:24 +02:00
Eli Zaretskii
3f763898aa Fix compilation errors with MinGW64 GCC 11
* lib-src/ntlib.c (_GL_ATTRIBUTE_MALLOC)
(_GL_ATTRIBUTE_DEALLOC_FREE): Define to avoid compilation errors
with MinGW64 GCC 11.  Suggested by Andy Moreton
<andrewjmoreton@gmail.com>.  Do not merge to master.
2021-10-24 20:19:47 +03:00
Ihor Radchenko
817c929eda Doc fix for concat
* src/fns.c (Fconcat): Note that composition values may not remain eq
in return value of concat.  (Bug#48740)
2021-10-24 14:13:15 +02:00
Stefan Kangas
3eca2ad2a1 * lisp/image-dired.el (image-dired-external-viewer): Support feh. 2021-10-24 12:21:13 +02:00
Stefan Kangas
c7f53824a8 Update publicsuffix.txt from upstream
* etc/publicsuffix.txt: Update from
https://publicsuffix.org/list/public_suffix_list.dat
dated 2021-10-16 16:33:47 GMT.
2021-10-24 10:37:57 +02:00
Eli Zaretskii
9a50f760e9 ; * doc/lispref/modes.texi (Hooks): Clarify wording. (Bug#34588) 2021-10-24 09:44:18 +03:00
Stefan Kangas
e154fd9119 Refer to the info node on keymaps in map-keymap docstring
* src/keymap.c (Fmap_keymap): Doc fix; add a reference to the Info
node '(elisp) Keymaps'.  (Bug#30958)
2021-10-24 08:12:12 +02:00
Stefan Kangas
4fd5c8df67 Clarify abnormal hook documentation
* doc/lispref/hooks.texi (Standard Hooks):
* doc/lispref/modes.texi (Hooks): Clarify wording of "abnormal
hook" documentation.  (Bug#34588)
2021-10-23 20:03:34 +02:00
Kyle Meyer
6fa5206770 Update to Org 9.5-59-g52e6f1 2021-10-23 13:46:59 -04:00
Eli Zaretskii
39413a45bf ; * doc/lispref/functions.texi (Calling Functions): Fix last change. 2021-10-23 20:44:26 +03:00
Stefan Kangas
43914ab01f Improve documentation of cl-reduce
* doc/misc/cl.texi (Mapping over Sequences): Change the
explanation of 'cl-reduce' so you don't need to have a major in
mathematics to understand it.  (Bug#24014)
2021-10-23 19:20:56 +02:00
Stefan Kangas
ef37a86cac Improve documentation of apply-partially
* doc/lispref/functions.texi (Calling Functions): Improve
documentation of 'apply-partially' to be slightly more clear with
regards to function arity.  (Bug#17623)
2021-10-23 18:47:00 +02:00
Michael Albinus
1e8be48738 Fix typos
* doc/emacs/cmdargs.texi:
* etc/DEBUG:
* etc/NEWS: Fix typos.
2021-10-23 15:21:33 +02:00
Michael Albinus
8c5fbd712b Revert commit 225ca617b7, and apply another fix
* lisp/minibuffer.el (read-file-name-default): Revert commit
225ca617b7.  (Bug#50976).

* lisp/shell.el (shell): Remove volume letter for remote shell
file name.  (Bug#49229)
2021-10-23 15:21:14 +02:00
Stefan Kangas
cdbd03345d Fix documentation of posn-at-x-y
* doc/lispref/commands.texi (Accessing Mouse): Fix documentation of
'posn-at-x-y' to match docstring.  (Bug#15783)
2021-10-23 09:45:23 +02:00
Eli Zaretskii
598732c899 ; * src/vm-limit.c (get_lim_data): Fix a typo. (Bug#18238) 2021-10-23 09:15:40 +03:00
Stefan Kangas
efdffd86c5 ; * etc/refcards/README: Prefer HTTPS in link. 2021-10-23 01:19:12 +02:00
Robert Pluim
b0d64be0bc Improve some NEWS entries
* etc/NEWS: Improve some NEWS entries.
2021-10-22 18:03:00 +02:00
Robert Pluim
7fde84e881 Improve documentation of syntax-ppss-context slightly
* doc/lispref/syntax.texi (Parser State): Document all possible return
values from 'syntax-ppss-context'.
2021-10-22 17:54:55 +02:00
Stephen Gildea
5ecbed01b2 ; * test/lisp/mh-e/mh-utils-tests.el: Update macro declarations. 2021-10-22 08:48:07 -07:00
Robert Pluim
168665da59 Move some xwidget entries
* etc/NEWS: Move xwidget entries to correct location.
2021-10-22 17:45:27 +02:00
Stephen Gildea
efde024361 time-stamp-tests: improvements to test macros
test/lisp/time-stamp-tests.el: Update macro declarations.
(formatz-generate-tests): Don't nconc onto a constant list.
Tests now run 12% faster in batch mode.
2021-10-22 08:39:05 -07:00