Amin Bandali
cbb0b5d8d5
Unobsolete erc-compat.el
...
* lisp/obsolete/erc-compat.el: Move from here...
* lisp/erc/erc-compat.el: ...back to here. ERC will soon be added to
GNU ELPA, and erc-compat.el will be used to provide compatibility
functions and/or variables for using ERC on older Emacsen.
* etc/NEWS: Remove the previously added obsoletion news item.
2021-09-28 23:54:42 -04:00
Stefan Kangas
b9fa57e5b0
* etc/NEWS: Announce Eshell bookmarks.
2021-09-29 03:53:07 +02:00
Stefan Kangas
da89bdde2e
Add bookmark.el support to eww
...
* lisp/net/eww.el (eww-bookmark-name, eww-bookmark-make-record)
(eww-bookmark-jump): New defuns.
(eww-mode): Set up bookmark handler.
2021-09-29 03:53:07 +02:00
Dmitry Gutov
ee856b76ff
Enable show-paren-mode by default
...
* etc/NEWS (https): Mention the change.
* lisp/paren.el (show-paren-mode):
Enable by default, as discussed on emacs-devel.
2021-09-29 03:48:27 +03:00
Robert Pluim
dbe0fc234d
; * etc/NEWS: fix errors in previous changes
2021-09-27 18:29:23 +02:00
Robert Pluim
0f4b55dc8d
Document 'glyphless-char-display-control' changes
...
* etc/NEWS: Document 'glyphless-char-display-control' changes for
Variation Selectors.
2021-09-27 14:44:14 +02:00
Robert Pluim
35f97b9e47
Try to be consistent about user options in NEWS
...
* etc/NEWS: Try to be consistent about calling 'user options' that
instead of 'variables'.
2021-09-27 14:44:14 +02:00
Stefan Kangas
dc12ad8978
; Update some links to HTTPS and note some broken links
2021-09-27 12:40:04 +02:00
João Távora
93d200b23c
* etc/NEWS (Shorthands for Lisp symbols): Reword.
2021-09-27 10:19:35 +01:00
Robert Pluim
a2a62f7105
Enhance font_range to check for emoji composition triggers
...
If the codepoint that triggered composition is from the emoji script,
use the emoji font to check the string being composed, rather than the
font of the first character of the string. This makes e.g.
"emoji codepoint with Emoji_Presentation = No followed by VS-16 (FE0F)"
display the emoji version of the glyph for that codepoint.
* admin/unidata/blocks.awk: Add VS-1 through VS-16 to the emoji
script.
* src/composite.c (autocmp_chars): Accept additional argument CH for
the codepoint that triggered composition, pass it to font_range.
(composition_reseat_it, find_automatic_composition): Pass codepoint
that triggered composition to autocmp_chars.
* src/font.c (font_range): Accept additional argument CH for the
triggering codepoint. If the codepoint is from the 'emoji' script,
use Vscript_representative_chars to find the font to use for the
composition attempt.
(syms_of_font): Add Qemoji symbol.
* src/font.h: Update font_range prototype for argument CH.
* etc/NEWS: Announce change.
2021-09-27 10:31:32 +02:00
Eli Zaretskii
106a95c8ab
Minor fixes in documentation of shorthands
...
* etc/NEWS:
* doc/lispref/symbols.texi (Symbol Components, Creating Symbols)
(Shorthands): Improve wording, fix indexing and typos.
2021-09-27 09:37:33 +03:00
João Távora
58055b5fc3
Document shorthands in the Elisp manual section on Symbols
...
* doc/lispref/symbols.texi (Symbol Components): Mentione "Shorthands".
(Creating Symbols): Mention shorthands. Correct references to Common
Lisp.
(Shorthands): New section.
* etc/NEWS (Shorthands): New entry.
2021-09-27 01:07:11 +01:00
Lars Ingebrigtsen
7cb2944043
Add new macro with-environment-variables
...
* doc/lispref/os.texi (System Environment): Document it.
* lisp/env.el (with-environment-variables): New macro.
2021-09-26 08:27:51 +02:00
Adam Porter
fcca1db9fd
* lisp/tab-line.el: Add modified-buffer face
...
(tab-line-tab-modified): New face.
(tab-line-tab-face-modified): New function.
(tab-line-tab-face-functions): Use new function.
* etc/NEWS: Update.
2021-09-25 22:18:11 +03:00
Mattias Engdegård
32de11d8de
; Remove various duplicated words
...
* doc/lispref/searching.texi (Extending Rx):
* doc/lispref/strings.texi (Creating Strings):
* doc/misc/modus-themes.org (Measure color contrast (DIY)):
* etc/NEWS:
* lisp/find-file.el (ff-find-other-file):
* lisp/gnus/gnus-group.el (gnus-group-suspend):
* lisp/progmodes/cc-langs.el (c-ml-string-any-closer-re):
* lisp/progmodes/flymake.el (flymake-list-only-diagnostics):
* lisp/progmodes/xref.el (xref--group-name-for-display):
* lisp/transient.el (transient-child, transient-files)
(transient-infix-value):
* src/alloc.c:
* src/regex-emacs.c (regex_compile):
Remove duplicate words in comments, documentation etc.
2021-09-25 20:25:01 +02:00
Mattias Engdegård
ed02b88bba
Renege on anonymous &rest (bug#50268, bug#50720)
...
Allowing &rest without a variable name following turned out not to be
very useful, and it never worked properly. Disallow it.
* lisp/emacs-lisp/bytecomp.el (byte-compile-check-lambda-list):
* src/eval.c (funcall_lambda):
Signal error for &rest without variable name.
* doc/lispref/functions.texi (Argument List): Adjust manual.
* etc/NEWS (file): Announce.
* test/src/eval-tests.el (eval-tests--bugs-24912-and-24913):
Extend test, also checking with and without lexical binding.
(eval-tests-accept-empty-optional-rest): Reduce to...
(eval-tests-accept-empty-optional): ...this, again checking
with and without lexical binding.
2021-09-25 20:25:01 +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
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
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
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
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
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
Robert Pluim
3ced9e30db
; * etc/NEWS: improve some recently added entries
2021-09-24 13:30:10 +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
Juri Linkov
2abf143f81
New thing-at-point target 'string' used in context-menu-region
...
* lisp/mouse.el (context-menu-region): Use separate "List" and "String".
* lisp/thingatpt.el (string): New target 'string'.
(thing-at-point-bounds-of-string-at-point): New function.
(thing-at-point-bounds-of-list-at-point): Revert previous commit
by removing optional args 'escape-strings' and 'no-syntax-crossing'.
(list-or-string): Remove recently added target 'list-or-string'.
(thing-at-point-bounds-of-list-or-string-at-point): Remove function.
https://lists.gnu.org/archive/html/emacs-devel/2021-09/msg01737.html
2021-09-24 09:29:52 +03:00
Jim Porter
d4a6e42e92
Add support for "bright" ANSI colors in term-mode
...
* list/term.el (ansi-term-color-vector): Add new faces.
(term-color-black, term-color-red, term-color-green, term-color-yellow)
(term-color-blue, term-color-magenta, term-color-cyan, term-color-white):
Inherit from 'ansi-color-COLOR'.
(term-color-bright-black, term-color-bright-red, term-color-bright-green)
(term-color-bright-yellow, term-color-bright-blue)
(term-color-bright-magenta, term-color-bright-cyan)
(term-color-bright-white): New faces.
(term--maybe-brighten-color): New function.
(term-handle-colors-array): Handle bright colors.
* test/lisp/term-tests.el (term-colors, term-colors-bold-is-bright):
New functions.
2021-09-23 22:57:53 +02:00
Jim Porter
ceb9da3b71
Add support for "bright" ANSI colors in ansi-color
...
* lisp/ansi-color.el (ansi-color-bold, ansi-color-faint, ansi-color-italic)
(ansi-color-underline, ansi-color-slow-blink, ansi-color-fast-blink)
(ansi-color-inverse, ansi-color-red, ansi-color-green, ansi-color-yellow)
(ansi-color-blue, ansi-color-magenta, ansi-color-cyan, ansi-color-white)
(ansi-color-bright-red, ansi-color-bright-green, ansi-color-bright-yellow)
(ansi-color-bright-blue, ansi-color-bright-magenta, ansi-color-bright-cyan)
(ansi-color-bright-white): New faces.
(ansi-color-basic-faces-vector, ansi-color-normal-colors-vector)
(ansi-color-bright-colors-vector): New constants.
(ansi-color-faces-vector, ansi-color-names-vector): Make obsolete.
(ansi-color-bold-is-bright): New defcustom.
(ansi-color--find-face): Sort ANSI codes and check
'ansi-color-bold-is-bright'.
(ansi-color-apply-sequence): Support bright ANSI colors.
(ansi-color-make-color-map, ansi-color-map, ansi-color-map-update):
Make obsolete.
(ansi-color-get-face-1): Add BRIGHT parameter.
* lisp/man.el (Man-ansi-color-basic-faces-vector): New variable.
(Man-ansi-color-map): Make obsolete.
(Man-fontify-manpage): Use 'Man-ansi-color-basic-faces-vector' here.
* test/lisp/ansi-color-tests.el
(ansi-color-apply-on-region-bold-is-bright-test): New function.
2021-09-23 22:57:53 +02:00
Eli Zaretskii
0101e86df2
; Fix recently installed documentation
...
* etc/NEWS:
* lisp/thingatpt.el
(thing-at-point-bounds-of-list-or-string-at-point): Clarify
wording of the documentation of 'list-or-string'.
2021-09-23 21:08:19 +03:00
Juri Linkov
5d96fad278
New thing-at-point target 'list-or-string' used in context-menu-region
...
* lisp/mouse.el (context-menu-region): Rearrange the order to
All>Defun>List>Line>Symbol. Show title either "List" or "String"
depending on syntax-ppss, then use thing 'list-or-string' (bug#9054).
* lisp/thingatpt.el (thing-at-point-bounds-of-list-at-point): Add optional
args 'escape-strings' and 'no-syntax-crossing' like in 'up-list'.
(list-or-string): New target 'list-or-string'.
(thing-at-point-bounds-of-list-or-string-at-point): New function.
2021-09-23 19:32:36 +03:00
Eli Zaretskii
35e29d9d07
; * etc/NEWS: Fix typos and punctuation in recently added entries.
2021-09-23 16:22:31 +03:00
Philip Kaludercic
aef84c5f17
Add aggregate project discovery and maintenance functions
...
* project.el (project-remember-project): Add optional no-write argument
(project-remember-projects-under): Add command
(project-forget-zombie-projects): Add command
(project-forget-projects-under): Add command
* etc/NEWS: Document new commands
2021-09-23 14:07:00 +02:00
Robert Pluim
6f790403a2
Improve NEWS entry for 'ffap-file-name-with-spaces'
...
* etc/NEWS: Mention default value of 'ffap-file-name-with-spaces'.
2021-09-23 11:10:34 +02:00
Stefan Kangas
bf0c072913
Add section to refcard explaining our keybinding notation
...
* etc/refcards/refcard.tex (Starting Emacs): Delete section.
(Key Binding Notation): New section. (Bug#41403)
2021-09-23 00:15:50 +02:00
Stefan Kangas
25019f5e24
; * etc/NEWS: Fix typo in last commit.
2021-09-22 23:43:49 +02:00
Lars Ingebrigtsen
efdb89f15b
Move 'kdb-macro-redisplay' key binding
...
* doc/emacs/kmacro.texi (Basic Keyboard Macro): Adjust.
* lisp/kmacro.el (kmacro-keymap): Move 'kdb-macro-redisplay' to
`C-x C-k d' since upper-case letters are reserved for users (bug#50727).
2021-09-22 21:56:31 +02:00
Eli Zaretskii
2386b08526
Fix build with native compilation but without zlib
...
* src/comp.c (comp_hash_source_file): Condition code that requires
zlib with HAVE_ZLIB.
* etc/NEWS: Explain that '--without-compress-install' is necessary
when configuring with native compilation but without zlib.
2021-09-22 19:13:49 +03:00
Daniel Fleischer
3d575534d4
Native compilation on macOS: libgccjit not found
...
* etc/PROBLEMS: Describe the problem with libgccjit setup on
macOS. (Bug#50411)
2021-09-22 09:46:29 +03:00
Stefan Kangas
7f5ac1468d
; * etc/NEWS: Improve wording of an item.
...
* lisp/emacs-lisp/hierarchy.el: Improve wording of package description.
2021-09-21 22:21:31 +02:00
Lars Ingebrigtsen
636e082e45
Document isearch-wrap-pause
...
* doc/emacs/search.texi (Repeat Isearch): Document
`isearch-wrap-pause'.
2021-09-21 22:01:28 +02:00
Stefan Kangas
7b62ea95c9
New major mode with font-locking for etc/AUTHORS
...
* lisp/textmodes/etc-authors-mode.el: New file. (Bug#50674)
* etc/AUTHORS (mode): Add "mode: etc-authors" to local variables.
* admin/authors.el (authors): Add "mode: etc-authors" to local
variables of the generated AUTHORS file.
2021-09-21 21:40:15 +02:00
Lars Ingebrigtsen
be4f858498
Add new function `ensure-list'
...
* doc/lispref/lists.texi (Building Lists): Document it.
* lisp/subr.el (ensure-list): New function.
* lisp/emacs-lisp/shortdoc.el (list): Mention it.
2021-09-21 20:31:05 +02:00
Stefan Kangas
1c73c0b33a
Add new command 'checkdoc-dired'
...
* lisp/emacs-lisp/checkdoc.el (checkdoc-dired): New command.
(checkdoc--dired-skip-lines-re): New constant.
2021-09-21 20:02:19 +02:00
Lars Ingebrigtsen
f29aee1d9a
More NEWS tagging
2021-09-21 19:55:11 +02:00