Eli Zaretskii
d9abb06ded
; * doc/misc/ert.texi (Running Tests Interactively): Fix markup.
2021-09-25 18:46:33 +03:00
Stefan Kangas
2d97b1ef5b
Buttonize functions in curved quotes in ERC
...
* lisp/erc/erc-button.el (erc-button-alist): Buttonize Emacs
functions in curved quotes. (Bug#49964)
2021-09-25 17:03:13 +02:00
Stefan Kangas
c7370f7334
Extend and improve ERT manual section on running interactively
...
* doc/misc/ert.texi (Running Tests Interactively): Format commands in
a table, improve indexing, and add several missing
commands. (Bug#41829)
2021-09-25 16:56:55 +02:00
Stephen Gildea
2148f67d0e
; * lisp/mh-e/mh-scan.el: re-order variables to be actually alphabetical
2021-09-25 07:18:50 -07:00
Stephen Gildea
e41b7f7b4d
Update mh-scan regexp to match mh-note-allowlisted
...
lisp/mh-e/mh-scan.el (mh-scan-good-msg-regexp, mh-scan-cmd-note-width):
Update to match new value ("A") of mh-note-allowlisted.
2021-09-25 07:10:12 -07:00
Basil L. Contovounesios
c17eded545
; Fix omission in recent CONTRIBUTE doc change.
2021-09-25 14:41:24 +01:00
Michael Albinus
ea3656191d
; More instrumentation in autorevert-tests.el
2021-09-25 12:20:46 +02:00
Lars Ingebrigtsen
c2b8058c07
Document the new paren-space indentation rule
...
* doc/emacs/programs.texi (Lisp Indent): Mention the new
paren-space indentation rule.
2021-09-25 12:11:26 +02:00
Lars Ingebrigtsen
bda831abdc
Some NEWS tagging
2021-09-25 11:57:13 +02:00
Lars Ingebrigtsen
bcbae720d5
'xref-search-program'-related doc string fixes
...
* lisp/progmodes/xref.el (xref-search-program): Mention what this
variable controls.
(xref-matches-in-files): Mention the variables that controls it.
2021-09-25 11:54:13 +02:00
Lars Ingebrigtsen
f90b026978
Document the 'string' thingatpt target
...
* doc/lispref/text.texi (Buffer Contents): Mention the 'string'
target.
2021-09-25 11:45:30 +02:00
Eli Zaretskii
297c9aa3de
Fix cursor motion around some Emoji sequences
...
* src/character.h: Add TAG_SPACE and CANCEL_TAG to known Unicode
characters values.
* src/composite.c (char_composable_p): Recognize TAG characters
relevant to Emoji as composable regardless of their General
Category. (Bug#39799)
2021-09-25 12:18:27 +03:00
Eli Zaretskii
12b860bd1b
; Improve text about 'CONTRIBUTE'
...
* doc/emacs/trouble.texi (Contributing): Expand the
recently-changed text.
2021-09-25 10:45:38 +03:00
Eli Zaretskii
6d37c9bb50
Use explicit man-page section in references
...
* lisp/dired-aux.el (dired-do-chmod): Use explicit man-page
section in the doc string. This avoids inadvertently showing
the wrong man page, when several identically-named pages are
possible in different sections. E.g., there's also chmod(2).
2021-09-25 10:30:27 +03:00
Eli Zaretskii
f82f3d62ad
; Improve recently added documentation
...
* etc/NEWS:
* doc/lispref/tips.texi (Documentation Tips): Improve and clarify
recently-added documentation of man page references.
2021-09-25 09:59:53 +03:00
Lars Ingebrigtsen
83e08dfef3
save-some-buffers-root doc string change
...
* lisp/files.el (save-some-buffers-root): Improve doc string.
2021-09-25 07:32:48 +02:00
Lars Ingebrigtsen
78d76d2673
Do some NEWS tagging
2021-09-25 07:24:48 +02:00
Lars Ingebrigtsen
1ea434b191
Document redisplay-skip-fontification-on-input
...
* doc/emacs/display.texi (Scrolling): Mention
redisplay-skip-fontification-on-input.
2021-09-25 07:24:48 +02:00
Bastien Guerry
e971e0868d
; * doc/misc/gnus.texi (Gnus Registry Setup): Fix missing parenthesis.
2021-09-25 07:15:31 +02:00
Stephen Gildea
00556cf805
; tramp-auto-save-directory: set mode atomically when creating
...
* lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
Use with-file-modes around make-directory. We can do this because
Tramp now honors default file modes in make-directory.
2021-09-24 21:59:17 -07:00
Lars Ingebrigtsen
9bc2ac4a95
Add new user option ispell-help-timeout
...
* lisp/textmodes/ispell.el (ispell-help-timeout): New user option.
(ispell-help): Use it.
2021-09-25 04:56:28 +02:00
Stefan Kangas
dc9d0da3c2
Set :type of suggest-key-bindings to natnum
...
* lisp/simple.el (suggest-key-bindings): Set :type to
natnum. (Bug#15809)
2021-09-25 04:15:22 +02:00
Stefan Kangas
f1071bf08e
New :type natnum for defcustom
...
* lisp/wid-edit.el (natnum): New widget type. (Bug#15809)
* doc/lispref/customize.texi (Simple Types): Document it.
2021-09-25 04:15:22 +02:00
Stefan Kangas
988428df7d
* lisp/dired-aux.el (dired-do-chmod): Simplify docstring.
2021-09-25 04:00:37 +02:00
Stefan Kangas
0917919337
Add support for man page hyperlinks in doc strings
...
* lisp/help-mode.el (help-man): New button type.
(help-xref-man-regexp): New const.
(help-make-xrefs): Use them to allow making man page buttons.
* doc/lispref/tips.texi (Documentation Tips): Document the new
hyperlink type. (Bug#39215)
2021-09-25 04:00:37 +02:00
Lars Ingebrigtsen
0b2596432d
Fix some instances in the Emacs manual with misleading prefix syntax
...
* doc/emacs/msdos.texi (Windows Keyboard):
* doc/emacs/misc.texi (Editing Binary Files):
* doc/emacs/macos.texi (Mac / GNUstep Events):
* doc/emacs/kmacro.texi (Basic Keyboard Macro):
* doc/emacs/glossary.texi (Glossary):
* doc/emacs/fixit.texi (Spelling): Fix some instances where the
syntax seems to imply we're talking about a prefix key (bug#50792).
2021-09-25 03:59:42 +02:00
Manuel Giraud
f6f87917fc
Make 'C-u C-x v v' handle unregistered files.
...
* lisp/vc/vc.el (vc-next-action): Make 'C-u C-x v v' handle
unregistered files (bug#50602).
2021-09-25 03:39:39 +02:00
Daniel Martín
67a0eee727
Mention the 'r' key in ask-user-about-supersession-help
...
* lisp/userlock.el (ask-user-about-supersession-help): Replace "n, and
then M-x revert-buffer" in the help message with "r", which does the
same thing. (Bug#50780)
2021-09-25 03:38:21 +02:00
akater
38037e04cb
Indent bodies of local function definitions properly in elisp-mode
...
* lisp/emacs-lisp/lisp-mode.el (lisp-indent-function): Check for
local defforms (`cl-flet' and `cl-labels').
(lisp--local-defform-body): New auxiliary function (bug#9622).
2021-09-25 03:34:37 +02:00
Stefan Kangas
c748164702
Clarify where to find CONTRIBUTE
...
* doc/emacs/trouble.texi (Contributing): Say that CONTRIBUTE is
found in the development version of Emacs. (Bug#37414)
2021-09-25 03:24:56 +02:00
Lars Ingebrigtsen
f9071a23a9
Use gzip to uncompess .xz files on MacOS
...
* lisp/jka-cmpr-hook.el (jka-compr-compression-info-list): Use
gzip to uncompess .xz files on MacOS (bug#29235).
2021-09-25 03:05:27 +02:00
Lars Ingebrigtsen
7a72358994
Use temporary-file-directory' in with-existing-directory'
...
* lisp/subr.el (with-existing-directory): Use
`temporary-file-directory' over TMPDIR.
2021-09-25 02:55:55 +02:00
Stefan Kangas
2767c89db7
Fix alignment on font size change in tabulated-list-mode
...
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-col): Fix
bug where the columns didn't align correctly when using
'text-scale-mode' to decrease the font size. (Bug#48639)
2021-09-25 00:33:21 +02:00
Stefan Kangas
d03995197d
Doc fix; cl-random is only pseudo-random
...
* lisp/emacs-lisp/cl-extra.el (cl-random): Doc fix; say it's only
pseudo-random.
2021-09-25 00:05:55 +02:00
Stefan Kangas
79a9b50621
checkdoc: Don't ask to disambiguate mode names
...
* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
Don't ask to disambiguate mode names. (Bug#4110)
2021-09-24 23:42:08 +02:00
Stefan Kangas
f17fb37c51
Fix recently introduced bug in checkdoc
...
* lisp/emacs-lisp/checkdoc.el (checkdoc-in-abbreviation-p): Fix
recently introduced bug where some abbreviations weren't recognized.
* test/lisp/emacs-lisp/checkdoc-tests.el
(checkdoc-tests-in-abbrevation-p/basic-case): Extend test.
2021-09-24 23:00:57 +02:00
Stefan Kangas
2ee5c80ff5
Revert change to use seq-random-elt in Tramp test
...
* test/lisp/net/tramp-tests.el (tramp-test44-asynchronous-requests):
Revert change to use seq-random-elt, as Tramp needs to be compatible
with Emacs 25, and the function was only added in 26.1.
2021-09-24 22:19:22 +02:00
Stefan Kangas
54cfadd92f
checkdoc: Improve wide line warning to decrease false positives
...
* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
Respect 'byte-compile-docstring-max-column' if it is set. Allow the
first line to be three characters longer than the others to account
for indentation and the opening string character.
2021-09-24 22:04:55 +02:00
Stefan Kangas
0da8118dcb
Use command substitution instead of raw keys in more places
...
* admin/authors.el (authors):
* lisp/abbrev.el (abbrev-suggest-show-report):
* lisp/calc/calc.el (calc-display-trail, calc):
* lisp/completion.el (completion-locate-db-error):
* lisp/dired-x.el (dired-extra-startup):
* lisp/emacs-lisp/package.el (package-install-selected-packages):
* lisp/emulation/viper.el (viper-mode):
* lisp/facemenu.el (list-colors-display):
* lisp/mail/emacsbug.el (report-emacs-bug-hook):
* lisp/mail/sendmail.el (mail):
* lisp/menu-bar.el (menu-bar-mode):
* lisp/org/org.el (org-revert-all-org-buffers):
* lisp/progmodes/antlr-mode.el (antlr-help-rules-intro)
(antlr-insert-makefile-rules):
* lisp/progmodes/gdb-mi.el (gdb--check-interpreter):
* lisp/progmodes/xscheme.el (xscheme-process-sentinel):
* lisp/ps-print.el (ps-font-info-database):
* lisp/recentf.el (recentf-edit-list, recentf-open-files):
* lisp/vc/ediff-util.el (ediff-suspend):
* lisp/vc/pcvs.el (cvs-mode):
* lisp/vc/vc-bzr.el (vc-bzr-dir-extra-headers): Use command
substitution.
2021-09-24 21:26:08 +02:00
Stefan Kangas
35d0675467
Prefer seq-random-elt to nth+random
...
* lisp/emacs-lisp/seq.el (seq-random-elt): Autoload.
* lisp/avoid.el (mouse-avoidance-random-shape):
* lisp/epa-ks.el (epa-ks--query-url):
* lisp/erc/erc-networks.el (erc-server-select):
* lisp/gnus/gnus-fun.el (gnus--random-face-with-type)
(gnus-fun-ppm-change-string):
* lisp/net/soap-inspect.el (soap-sample-value-for-xs-simple-type):
* lisp/obsolete/landmark.el (landmark-random-move):
* lisp/play/mpuz.el (mpuz-build-random-perm):
* lisp/play/zone.el (zone-pgm-stress):
* lisp/vc/add-log.el (add-change-log-entry):
* test/lisp/net/tramp-tests.el
(tramp-test44-asynchronous-requests): Prefer seq-random-elt to
nth+random.
2021-09-24 19:41:03 +02:00
Michael Albinus
8fbf816ccd
Fix auto-revert-test05-global-notify
...
* test/lisp/autorevert-tests.el (auto-revert-test05-global-notify):
Adapt test for killed buffer.
2021-09-24 18:09:49 +02:00
Robert Pluim
68b8f3128f
; * doc/misc/tramp.texi: Grammar fixes for process-connection-type
2021-09-24 13:31:32 +02:00
Robert Pluim
3ced9e30db
; * etc/NEWS: improve some recently added entries
2021-09-24 13:30:10 +02:00
Robert Pluim
6738111ae2
Generate skin tone compositions from emoji-sequences.txt
...
Read skin tone modifier sequences from emoji-sequences.txt and add
them to the per-character composition rules derived from
emoji-zwj-sequences.txt, rather than adding them as lookback rules for
the skin tone modifiers. This avoids an issue with the application of
such lookback rules. See Bug#39799,
specifically
<https://lists.gnu.org/archive/html/bug-gnu-emacs/2021-09/msg01878.html >
for more details.
* admin/unidata/Makefile.in (zwj): Add emoji-sequences.txt as a dependency.
* admin/unidata/emoji-zwj.awk: Match RGI_Emoji_ZWJ_Sequence and
RGI_Emoji_Modifier_Sequence. Remove manual addition of skin tone
composition rules with lookback.
2021-09-24 13:10:48 +02:00
Robert Pluim
184469df13
Add a few more missing emoji overrides
...
* admin/unidata/blocks.awk: Add some more emoji overrides.
2021-09-24 13:10:48 +02:00
Robert Pluim
fdaae2e7be
Move compose-gstring-for-variation-glyph
...
It logically belongs in composite.el, not japanese.el
* lisp/language/japanese.el (compose-gstring-for-variation-glyph):
Remove from here.
* lisp/composite.el (compose-gstring-for-variation-glyph): And add here.
2021-09-24 13:10:48 +02:00
Robert Pluim
04e236044a
Update provenance comment in charscript.el
...
* admin/unidata/blocks.awk: Update comment about sources used to
generate charscript.el.
2021-09-24 13:10:48 +02:00
Eli Zaretskii
c6fc066bcb
; * etc/NEWS: Fix a recently modified entry.
2021-09-24 14:07:15 +03:00
Stefan Kangas
b4cabc06e2
; * etc/NEWS: Fix typo.
2021-09-24 12:28:10 +02:00
Stefan Kangas
2932592469
; * lisp/emacs-lisp/checkdoc.el (checkdoc-in-abbreviation-p): Doc fix.
2021-09-24 12:28:10 +02:00