2024-06-23 10:56:48 +00:00
|
|
|
|
GNU Emacs NEWS -- history of user-visible changes.
|
|
|
|
|
|
|
|
|
|
Copyright (C) 2022-2024 Free Software Foundation, Inc.
|
|
|
|
|
See the end of the file for license conditions.
|
|
|
|
|
|
|
|
|
|
Please send Emacs bug reports to 'bug-gnu-emacs@gnu.org'.
|
|
|
|
|
If possible, use 'M-x report-emacs-bug'.
|
|
|
|
|
|
|
|
|
|
This file is about changes in Emacs version 31.
|
|
|
|
|
|
|
|
|
|
See file HISTORY for a list of GNU Emacs versions and release dates.
|
|
|
|
|
See files NEWS.30, NEWS.29, ..., NEWS.18, and NEWS.1-17 for changes
|
|
|
|
|
in older Emacs versions.
|
|
|
|
|
|
|
|
|
|
You can narrow news to a specific version by calling 'view-emacs-news'
|
|
|
|
|
with a prefix argument or by typing 'C-u C-h C-n'.
|
|
|
|
|
|
|
|
|
|
Temporary note:
|
|
|
|
|
+++ indicates that all relevant manuals in doc/ have been updated.
|
|
|
|
|
--- means no change in the manuals is needed.
|
|
|
|
|
When you add a new item, use the appropriate mark if you are sure it
|
|
|
|
|
applies, and please also update docstrings as needed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Installation Changes in Emacs 31.1
|
|
|
|
|
|
2024-07-25 11:38:27 +00:00
|
|
|
|
** Changed GCC default options on 32-bit x86 systems.
|
|
|
|
|
When using GCC 4 or later to build Emacs on 32-bit x86 systems,
|
|
|
|
|
'configure' now defaults to using the GCC options '-mfpmath=sse' (if the
|
|
|
|
|
host system supports SSE2) or '-fno-tree-sra' (if not). These GCC
|
|
|
|
|
options work around GCC bug 58416, which can cause Emacs to behave
|
|
|
|
|
incorrectly in rare cases.
|
2024-07-19 20:39:21 +00:00
|
|
|
|
|
2024-09-17 11:07:01 +00:00
|
|
|
|
---
|
|
|
|
|
** New configuration option '--disable-gc-mark-trace'.
|
2024-10-28 19:11:50 +00:00
|
|
|
|
This disables the GC mark trace buffer for about 5% better garbage
|
2024-09-17 11:07:01 +00:00
|
|
|
|
collection performance. Doing so may make it more difficult for Emacs
|
|
|
|
|
developers to help finding GC-related bugs that you run into, which is
|
2024-10-13 13:40:07 +00:00
|
|
|
|
why the mark trace buffer is enabled by default.
|
2024-09-17 11:07:01 +00:00
|
|
|
|
|
2024-06-23 10:56:48 +00:00
|
|
|
|
|
|
|
|
|
* Startup Changes in Emacs 31.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Changes in Emacs 31.1
|
|
|
|
|
|
2024-10-08 12:39:33 +00:00
|
|
|
|
** Etags
|
2024-10-13 13:40:07 +00:00
|
|
|
|
|
2024-10-08 12:39:33 +00:00
|
|
|
|
+++
|
2024-10-13 13:40:07 +00:00
|
|
|
|
*** New command-line options for handling unrecognized programming languages.
|
2024-10-08 12:39:33 +00:00
|
|
|
|
The new command-line option '--no-fallback-lang' disables attempts to
|
|
|
|
|
parse as Fortran or C/C++ files whose programming language 'etags' could
|
2024-10-13 13:40:07 +00:00
|
|
|
|
not determine. This allows to avoid false positives and reduces the time
|
2024-10-08 12:39:33 +00:00
|
|
|
|
required to scan directories with many such files. Another new option
|
|
|
|
|
'--no-empty-file-entries' disables generation of file entries in tags
|
|
|
|
|
tables for files in which no tags were found.
|
|
|
|
|
|
2024-07-16 14:05:40 +00:00
|
|
|
|
---
|
2024-07-25 11:38:27 +00:00
|
|
|
|
** find-func.el commands now have history enabled.
|
2024-07-16 14:05:40 +00:00
|
|
|
|
The 'find-function', 'find-library', 'find-face-definition', and
|
|
|
|
|
'find-variable' commands now allow retrieving previous input using the
|
|
|
|
|
usual minibuffer history commands. Each command has a separate history.
|
|
|
|
|
|
2024-10-04 00:28:21 +00:00
|
|
|
|
---
|
2024-10-18 04:33:20 +00:00
|
|
|
|
** New minor mode 'find-function-mode' replaces 'find-function-setup-keys'.
|
2024-10-04 00:28:21 +00:00
|
|
|
|
|
2024-08-21 15:59:42 +00:00
|
|
|
|
** Minibuffer and Completions
|
|
|
|
|
|
|
|
|
|
+++
|
|
|
|
|
*** New user option 'completion-pcm-leading-wildcard'.
|
|
|
|
|
This option configures how the partial-completion style does completion.
|
|
|
|
|
It defaults to nil, which preserves the existing behavior. When it is set
|
|
|
|
|
to t, the partial-completion style behaves more like the substring
|
|
|
|
|
style, in that a string being completed can match against a candidate
|
|
|
|
|
anywhere in the candidate string.
|
|
|
|
|
|
|
|
|
|
+++
|
|
|
|
|
*** 'completion-styles' now can contain lists of bindings.
|
|
|
|
|
In addition to being a symbol naming a completion style, an element of
|
|
|
|
|
'completion-styles' can now be a list of the form '(STYLE ((VARIABLE
|
|
|
|
|
VALUE) ...))' where STYLE is a symbol naming a completion style.
|
|
|
|
|
VARIABLE will be bound to VALUE (without evaluating it) while the style
|
|
|
|
|
is executing. This allows multiple references to the same style with
|
|
|
|
|
different values for completion-affecting variables like
|
2024-08-24 10:49:48 +00:00
|
|
|
|
'completion-pcm-leading-wildcard' or 'completion-ignore-case'. This also
|
2024-08-21 15:59:42 +00:00
|
|
|
|
applies for the styles configuration in 'completion-category-overrides'
|
|
|
|
|
and 'completion-category-defaults'.
|
|
|
|
|
|
2024-10-29 16:16:31 +00:00
|
|
|
|
---
|
|
|
|
|
*** Selected completion candidate is preserved across *Completions* updates.
|
|
|
|
|
When point is on a completion candidate in the *Completions* buffer
|
|
|
|
|
(because of 'minibuffer-next-completion' or for any other reason), point
|
|
|
|
|
will still be on that candidate after *Completions* is updated with a
|
|
|
|
|
new list of completions. The candidate is automatically deselected when
|
|
|
|
|
the *Completions* buffer is hidden.
|
|
|
|
|
|
2024-08-01 07:37:50 +00:00
|
|
|
|
** Windows
|
|
|
|
|
|
|
|
|
|
+++
|
|
|
|
|
*** New hook 'window-deletable-functions'.
|
|
|
|
|
This abnormal hook gives its client a way to save a window from getting
|
|
|
|
|
deleted implicitly by functions like 'kill-buffer', 'bury-buffer' and
|
2024-08-24 10:49:48 +00:00
|
|
|
|
'quit-restore-window'.
|
2024-08-01 07:37:50 +00:00
|
|
|
|
|
|
|
|
|
+++
|
2024-08-24 10:49:48 +00:00
|
|
|
|
*** New user option 'kill-buffer-quit-windows'.
|
2024-08-01 07:37:50 +00:00
|
|
|
|
This option has 'kill-buffer' call 'quit-restore-window' to handle the
|
|
|
|
|
further destiny of any window showing the buffer to be killed.
|
|
|
|
|
|
|
|
|
|
+++
|
|
|
|
|
*** New window parameter 'quit-restore-prev'.
|
|
|
|
|
This parameter is set up by 'display-buffer' when it detects that the
|
|
|
|
|
window used already has a 'quit-restore' parameter. Its presence gives
|
|
|
|
|
'quit-restore-window' a way to undo a sequence of buffer display
|
|
|
|
|
operations more intuitively.
|
|
|
|
|
|
|
|
|
|
+++
|
2024-08-21 08:54:53 +00:00
|
|
|
|
*** 'quit-restore-window' handles new values for BURY-OR-KILL argument.
|
|
|
|
|
The values 'killing' and 'burying' are like 'kill' and 'bury' but assume
|
2024-08-01 07:37:50 +00:00
|
|
|
|
that the actual killing or burying of the buffer is done by the caller.
|
|
|
|
|
|
|
|
|
|
+++
|
2024-08-24 10:49:48 +00:00
|
|
|
|
*** New user option 'quit-restore-window-no-switch'.
|
2024-08-01 07:37:50 +00:00
|
|
|
|
With this option set, 'quit-restore-window' will delete its window more
|
|
|
|
|
aggressively rather than switching to some other buffer in it.
|
|
|
|
|
|
2024-08-21 08:54:53 +00:00
|
|
|
|
** Frames
|
|
|
|
|
|
|
|
|
|
+++
|
|
|
|
|
*** New function 'frame-deletable-p'.
|
|
|
|
|
Calling this function before 'delete-frame' is useful to avoid that the
|
2024-08-24 10:49:48 +00:00
|
|
|
|
latter throws an error when the argument FRAME cannot be deleted.
|
2024-08-21 08:54:53 +00:00
|
|
|
|
|
2024-07-16 04:55:35 +00:00
|
|
|
|
** Tab Bars and Tab Lines
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
*** New abnormal hook 'tab-bar-auto-width-functions'.
|
|
|
|
|
This hook allows you to control which tab-bar tabs are auto-resized.
|
|
|
|
|
|
2024-09-05 13:56:50 +00:00
|
|
|
|
** Project
|
|
|
|
|
|
2024-09-08 02:14:02 +00:00
|
|
|
|
---
|
2024-09-16 23:11:52 +00:00
|
|
|
|
*** New command 'project-root-find-file'.
|
2024-09-08 02:14:02 +00:00
|
|
|
|
It is equivalent to running ‘project-any-command’ with ‘find-file’.
|
2024-09-05 13:56:50 +00:00
|
|
|
|
|
2024-10-07 23:03:04 +00:00
|
|
|
|
---
|
|
|
|
|
*** The MAYBE-PROMPT argument of 'project-current' can be a string.
|
2024-10-23 19:49:13 +00:00
|
|
|
|
When such value is used, the 'project-prompter' is called with it as the
|
|
|
|
|
first argument. This is a way for the callers to indicate, for example,
|
|
|
|
|
the reason or the context why the project is asked for.
|
2024-10-07 23:03:04 +00:00
|
|
|
|
|
2024-09-24 13:19:55 +00:00
|
|
|
|
** Registers
|
|
|
|
|
|
|
|
|
|
*** New functions 'buffer-to-register' and 'file-to-register'.
|
|
|
|
|
These allow users to interactively store file and buffers in registers.
|
2024-10-13 13:40:07 +00:00
|
|
|
|
Killed buffers stored in a register using 'buffer-to-register' are
|
2024-09-24 13:19:55 +00:00
|
|
|
|
automatically converted to a file-query value if the buffer was visiting
|
|
|
|
|
a file.
|
2024-10-05 10:07:25 +00:00
|
|
|
|
|
2024-11-03 15:13:06 +00:00
|
|
|
|
** IDLWAVE has been moved to GNU ELPA.
|
|
|
|
|
The version bundled with Emacs is out-of-date, and is now marked as
|
|
|
|
|
obsolete. Use 'M-x list-packages' to install the 'idlwave' package from
|
|
|
|
|
GNU ELPA instead.
|
2024-10-17 22:51:14 +00:00
|
|
|
|
|
|
|
|
|
+++
|
2024-11-17 08:22:17 +00:00
|
|
|
|
** New faces 'header-line-active' and 'header-line-inactive'.
|
|
|
|
|
These inherit from the 'header-line' face, but the faces actually used
|
|
|
|
|
on the header lines are now these two: the selected window uses
|
|
|
|
|
'header-line-active', non-selected windows use 'header-line-inactive'.
|
2024-11-17 22:49:49 +00:00
|
|
|
|
|
|
|
|
|
** In 'customize-face', the "Font family" attribute now supports completion.
|
2024-11-03 15:13:06 +00:00
|
|
|
|
|
2024-06-23 10:56:48 +00:00
|
|
|
|
|
|
|
|
|
* Editing Changes in Emacs 31.1
|
2024-10-05 10:07:25 +00:00
|
|
|
|
|
|
|
|
|
** Commands for keyboard translation.
|
2024-10-13 13:40:07 +00:00
|
|
|
|
'key-translate' is now interactive. It prompts for a key to translate
|
|
|
|
|
from, and another to translate to, and sets 'keyboard-translate-table'.
|
|
|
|
|
The new command 'key-translate-remove' prompts for a key/translation
|
|
|
|
|
pair with 'completing-read', and removes it from the translation table.
|
2024-06-23 10:56:48 +00:00
|
|
|
|
|
2024-07-26 13:49:11 +00:00
|
|
|
|
** Internationalization
|
|
|
|
|
|
2024-09-12 18:12:09 +00:00
|
|
|
|
---
|
|
|
|
|
*** Emacs now supports Unicode version 16.0.
|
|
|
|
|
|
2024-11-03 07:25:51 +00:00
|
|
|
|
---
|
|
|
|
|
*** New input method 'greek-polytonic'.
|
|
|
|
|
This input method has support for polytonic and archaic Greek
|
|
|
|
|
characters.
|
|
|
|
|
|
2024-07-26 13:49:11 +00:00
|
|
|
|
---
|
|
|
|
|
*** New language-environment and input method for Tifinagh.
|
|
|
|
|
The Tifinagh script is used to write the Berber languages.
|
|
|
|
|
|
2024-11-03 20:19:09 +00:00
|
|
|
|
---
|
|
|
|
|
*** New input methods for Northern Iroquoian languages.
|
|
|
|
|
Input methods are now implemented for Haudenosaunee languages in the
|
|
|
|
|
Northern Iroquoian language family: 'mohawk-postfix' (Mohawk
|
|
|
|
|
[Kanien’kéha / Onkwehonwehnéha]), 'oneida-postfix' (Oneida [Onʌyota:ká:
|
|
|
|
|
/ Ukwehuwehnéha]), 'cayuga-postfix' (Cayuga [Gayogo̱ho:nǫhnéha:ˀ]),
|
2024-11-09 09:29:42 +00:00
|
|
|
|
'onondaga-postfix' (Onondaga [Onųdaʔgegáʔ]), and 'seneca-postfix'
|
|
|
|
|
(Seneca [Onödowá’ga:’]). Additionally, there is a general-purpose
|
2024-11-03 20:19:09 +00:00
|
|
|
|
'haudenosaunee-postfix' input method to facilitate writing in the
|
|
|
|
|
orthographies of the five languages simultaneously.
|
|
|
|
|
|
2024-07-28 03:48:38 +00:00
|
|
|
|
---
|
|
|
|
|
** 'visual-wrap-prefix-mode' now supports variable-pitch fonts.
|
|
|
|
|
When using 'visual-wrap-prefix-mode' in buffers with variable-pitch
|
|
|
|
|
fonts, the wrapped text will now be lined up correctly so that it's
|
|
|
|
|
exactly below the text after the prefix on the first line.
|
|
|
|
|
|
2024-09-06 10:35:46 +00:00
|
|
|
|
---
|
|
|
|
|
** New commands 'unix-word-rubout' and 'unix-filename-rubout'.
|
|
|
|
|
Unix-words are words separated by whitespace regardless of the buffer's
|
2024-10-13 13:40:07 +00:00
|
|
|
|
syntax table. In a Unix terminal or shell, 'C-w' kills by Unix-word.
|
2024-09-06 10:35:46 +00:00
|
|
|
|
The new commands 'unix-word-rubout' and 'unix-filename-rubout' allow
|
|
|
|
|
you to bind keys to operate more similarly to the terminal.
|
2024-09-03 16:29:56 +00:00
|
|
|
|
|
|
|
|
|
---
|
2024-09-14 16:35:45 +00:00
|
|
|
|
** New user option 'kill-region-dwim'.
|
2024-09-03 16:29:56 +00:00
|
|
|
|
This option, if non-nil, modifies the fall-back behavior of
|
2024-09-18 17:20:19 +00:00
|
|
|
|
'kill-region' ('C-w') if no region is active, and will kill the last word
|
2024-09-03 16:29:56 +00:00
|
|
|
|
instead of raising an error. Note that if you have disabled Transient
|
|
|
|
|
Mark mode you might prefer to use 'unix-word-rubout', as this feature
|
|
|
|
|
relies on there being an active region.
|
|
|
|
|
|
2024-09-15 20:29:46 +00:00
|
|
|
|
---
|
|
|
|
|
** New user option 'delete-pair-push-mark'.
|
|
|
|
|
This option, if non-nil, makes 'delete-pair' push a mark at the end of
|
|
|
|
|
the region enclosed by the deleted delimiters. This makes it easy to
|
|
|
|
|
act on that region. For example, we can highlight it using 'C-x C-x'.
|
|
|
|
|
|
2024-09-21 10:15:16 +00:00
|
|
|
|
+++
|
|
|
|
|
** Electric Pair mode can now pair multiple delimiters at once.
|
|
|
|
|
You can now insert or wrap text with multiple sets of parentheses and
|
|
|
|
|
other matching delimiters at once with Electric Pair mode, by providing
|
|
|
|
|
a prefix argument when inserting one of the delimiters.
|
|
|
|
|
|
2024-10-03 10:36:45 +00:00
|
|
|
|
+++
|
2024-10-13 13:40:07 +00:00
|
|
|
|
** You can now use 'M-~' during 'C-x s' ('save-some-buffers').
|
|
|
|
|
Typing 'M-~' while saving some buffers means not to save the buffer and
|
2024-10-03 10:36:45 +00:00
|
|
|
|
also to mark it as unmodified. This is an alternative way to mark a
|
|
|
|
|
buffer as unmodified which doesn't require switching to that buffer.
|
2024-10-13 13:40:07 +00:00
|
|
|
|
|
2024-10-13 00:28:25 +00:00
|
|
|
|
** New minor mode 'delete-selection-local-mode'.
|
|
|
|
|
This mode sets 'delete-selection-mode' buffer-locally. This can be
|
|
|
|
|
useful for enabling or disabling the features of 'delete-selection-mode'
|
|
|
|
|
based on the state of the buffer, such as for the different states of
|
|
|
|
|
modal editing packages.
|
|
|
|
|
|
2024-06-23 10:56:48 +00:00
|
|
|
|
|
|
|
|
|
* Changes in Specialized Modes and Packages in Emacs 31.1
|
|
|
|
|
|
2024-11-13 03:58:53 +00:00
|
|
|
|
** CL-Lib
|
|
|
|
|
+++
|
|
|
|
|
*** 'cl-labels' now also accepts (FUNC EXP) bindings, like 'cl-flet'.
|
|
|
|
|
Such bindings make it possible to compute which function to bind to FUNC.
|
|
|
|
|
|
2024-06-11 17:49:55 +00:00
|
|
|
|
** Whitespace
|
2024-06-29 13:04:32 +00:00
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
*** 'whitespace-cleanup' now adds missing newline at end of file.
|
2024-07-25 11:38:27 +00:00
|
|
|
|
If 'whitespace-style' includes 'missing-newline-at-eof' (which is the
|
2024-06-29 13:04:32 +00:00
|
|
|
|
default), the 'whitespace-cleanup' function will now add the newline.
|
2024-06-11 17:49:55 +00:00
|
|
|
|
|
2024-08-28 16:33:20 +00:00
|
|
|
|
** Gnus
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
*** Replying to icalendar events now supports specifying a comment.
|
|
|
|
|
When called with a prefix argument, accepting, declining, or tentatively
|
|
|
|
|
accepting an icalendar event will prompt for a comment to add to the
|
|
|
|
|
response.
|
|
|
|
|
|
2024-09-25 13:49:53 +00:00
|
|
|
|
** Button
|
|
|
|
|
|
|
|
|
|
+++
|
|
|
|
|
*** New function 'unbuttonize-region'.
|
|
|
|
|
It removes all the buttons in the specified region.
|
|
|
|
|
|
2024-09-25 14:52:57 +00:00
|
|
|
|
+++
|
|
|
|
|
*** Disabling 'button-mode' now removes all buttons in the current buffer.
|
|
|
|
|
|
2024-06-19 10:02:59 +00:00
|
|
|
|
** Eshell
|
|
|
|
|
|
2024-10-11 04:03:45 +00:00
|
|
|
|
---
|
|
|
|
|
*** New interactive command 'eshell-clear'.
|
|
|
|
|
This command scrolls the screen so that only the current prompt is
|
|
|
|
|
visible, optionally erasing all the previous input/output as well.
|
|
|
|
|
Previously, the Eshell built-in command 'eshell/clear' supported this
|
2024-11-09 09:29:42 +00:00
|
|
|
|
(e.g., to call it via 'M-x'), but this new command behaves more
|
2024-10-11 04:03:45 +00:00
|
|
|
|
consistently if you have a partially-typed command at the Eshell prompt.
|
|
|
|
|
|
2024-06-19 10:02:59 +00:00
|
|
|
|
---
|
2024-07-25 11:38:27 +00:00
|
|
|
|
*** New user option 'eshell-command-async-buffer'.
|
2024-06-19 10:02:59 +00:00
|
|
|
|
This option lets you tell 'eshell-command' how to respond if its output
|
|
|
|
|
buffer is already in use by another invocation of 'eshell-command', much
|
|
|
|
|
like 'async-shell-command-buffer' does for 'shell-command'. By default,
|
|
|
|
|
this will prompt for confirmation before creating a new buffer when
|
|
|
|
|
necessary. To restore the previous behavior, set this option to
|
|
|
|
|
'confirm-kill-process'.
|
|
|
|
|
|
2024-06-15 03:45:44 +00:00
|
|
|
|
+++
|
|
|
|
|
*** 'eshell-execute-file' is now an interactive command.
|
2024-07-25 11:38:27 +00:00
|
|
|
|
Interactively, this now prompts for a script file to execute. With the
|
2024-06-15 03:45:44 +00:00
|
|
|
|
prefix argument, it will also insert any output into the current buffer
|
|
|
|
|
at point.
|
|
|
|
|
|
|
|
|
|
+++
|
|
|
|
|
*** 'eshell-command' and 'eshell-execute-file' can now set where stderr goes.
|
|
|
|
|
These functions now take an optional ERROR-TARGET argument to control
|
|
|
|
|
where to send the standard error output. See the "(eshell) Entry
|
|
|
|
|
Points" node in the Eshell manual for more details.
|
|
|
|
|
|
2024-11-03 19:56:15 +00:00
|
|
|
|
+++
|
|
|
|
|
*** You can now loop over ranges of integers with the Eshell 'for' command.
|
|
|
|
|
When passing a range like 'BEGIN..END' to the Eshell 'for' command,
|
|
|
|
|
Eshell will now iterate over each integer between BEGIN and END, not
|
|
|
|
|
including END.
|
|
|
|
|
|
2024-10-05 05:26:01 +00:00
|
|
|
|
+++
|
|
|
|
|
*** Conditional statements in Eshell now use an 'else' keyword.
|
|
|
|
|
Eshell now prefers the following form when writing conditionals:
|
|
|
|
|
|
|
|
|
|
if {conditional} {true-subcommand} else {false-subcommand}
|
|
|
|
|
|
|
|
|
|
The old form (without the 'else' keyword) is retained for compatibility.
|
|
|
|
|
|
|
|
|
|
+++
|
|
|
|
|
*** You can now chain conditional statements in Eshell.
|
|
|
|
|
When using the newly-preferred conditional form in Eshell, you can now
|
|
|
|
|
chain together multiple 'if'/'else' statements. For more information,
|
|
|
|
|
see "(eshell) Control Flow" in the Eshell manual.
|
|
|
|
|
|
2024-07-06 21:09:08 +00:00
|
|
|
|
+++
|
2024-07-25 11:38:27 +00:00
|
|
|
|
*** Eshell's built-in 'wait' command now accepts a timeout.
|
|
|
|
|
By passing '-t' or '--timeout', you can specify a maximum time to wait
|
2024-07-06 21:09:08 +00:00
|
|
|
|
for the processes to exit. Additionally, you can now wait for external
|
|
|
|
|
processes by passing their PIDs.
|
|
|
|
|
|
2024-10-21 21:21:50 +00:00
|
|
|
|
---
|
|
|
|
|
*** New hook 'eshell-after-initialize-hook'.
|
|
|
|
|
This hook runs after an Eshell session has been fully initialized,
|
|
|
|
|
immediately before running 'eshell-post-command-hook' for the first
|
|
|
|
|
time.
|
|
|
|
|
|
2024-06-23 19:18:57 +00:00
|
|
|
|
** SHR
|
|
|
|
|
|
|
|
|
|
+++
|
|
|
|
|
*** SHR now slices large images into rows.
|
|
|
|
|
Sliced images allow for more intuitive scrolling up/down by letting you
|
|
|
|
|
scroll past each slice, instead of jumping past the entire image.
|
|
|
|
|
Previously, SHR sliced images when zoomed to their original size, no
|
2024-07-25 11:38:27 +00:00
|
|
|
|
matter how large or small that was. Now, SHR slices any images taller
|
2024-06-23 19:18:57 +00:00
|
|
|
|
than 'shr-sliced-image-height'. For more information, see the "(eww)
|
|
|
|
|
Advanced" node in the EWW manual.
|
|
|
|
|
|
2024-06-23 21:48:32 +00:00
|
|
|
|
---
|
|
|
|
|
*** You can now customize the image zoom levels to cycle through.
|
|
|
|
|
By customizing 'shr-image-zoom-levels', you can change the list of zoom
|
|
|
|
|
levels that SHR cycles through when calling 'shr-zoom-image'.
|
|
|
|
|
|
2024-06-30 14:42:38 +00:00
|
|
|
|
---
|
2024-08-20 13:57:25 +00:00
|
|
|
|
*** New user option 'shr-fill-text'.
|
|
|
|
|
When 'shr-fill-text' is non-nil (the default), SHR will fill text
|
|
|
|
|
according to the width of the window. If you customize it to nil, SHR
|
|
|
|
|
will leave the text as-is; in that case, EWW will automatically enable
|
|
|
|
|
'visual-line-mode' when displaying a page so that long lines are
|
|
|
|
|
visually wrapped at word boundaries.
|
2023-01-18 14:15:51 +00:00
|
|
|
|
|
2024-08-05 02:37:00 +00:00
|
|
|
|
** EWW
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
*** EWW now enables 'visual-wrap-prefix-mode' when 'shr-fill-text' is nil.
|
|
|
|
|
By default, 'shr-fill-text' is t, and EWW fills the text according to
|
|
|
|
|
the width of the window. If you customize 'shr-fill-text' to nil, EWW
|
|
|
|
|
will now automatically turn on 'visual-wrap-prefix-mode' in addition to
|
|
|
|
|
'visual-line-mode', so that long lines are wrapped at word boundaries
|
|
|
|
|
near window edge and the continuation lines are indented using prefixes
|
|
|
|
|
computed from surrounding context.
|
|
|
|
|
|
2024-10-22 06:38:09 +00:00
|
|
|
|
---
|
|
|
|
|
*** New user option 'eww-guess-content-type-functions'.
|
|
|
|
|
The value is a list of functions that EWW should call to determine the
|
|
|
|
|
content-type of Web pages which don't have a valid 'Content-Type'
|
|
|
|
|
header. The default value is a function that considers a page with an
|
|
|
|
|
HTML 'doctype' declaration to have context-type "text/html".
|
|
|
|
|
|
2024-10-13 13:40:07 +00:00
|
|
|
|
** CC mode
|
2024-09-25 21:06:07 +00:00
|
|
|
|
|
|
|
|
|
+++
|
|
|
|
|
*** New type of 'c-offsets-alist' element.
|
2024-10-13 13:40:07 +00:00
|
|
|
|
The 'cdr' of such an alist element may now be a syntactic symbol. A
|
|
|
|
|
source line with a syntactic element whose symbol is the 'car' of that
|
|
|
|
|
alist element is indented as though it were the 'cdr'.
|
2024-09-25 21:06:07 +00:00
|
|
|
|
|
|
|
|
|
+++
|
|
|
|
|
*** Enums now have their own syntactic symbols.
|
|
|
|
|
The new symbols 'enum-open', 'enum-close', 'enum-intro' and
|
|
|
|
|
'enum-entry' are used in the analysis of enum constructs. Previously
|
|
|
|
|
they were given 'brace-list-open', etc. These are fully described in
|
2024-10-13 13:40:07 +00:00
|
|
|
|
the "(ccmode) Enum Symbols" node of the CC mode manual.
|
2024-09-25 21:06:07 +00:00
|
|
|
|
|
|
|
|
|
+++
|
|
|
|
|
*** Enums are now, by default, indented like classes, not brace-lists.
|
|
|
|
|
To get the old behavior back, add an element '(enum-open
|
2024-10-13 13:40:07 +00:00
|
|
|
|
. brace-list-open)' to 'c-offsets-alist' in your CC mode style, or amend
|
|
|
|
|
'c-offsets-alist' likewise in any of the other ways detailed in the
|
|
|
|
|
"(ccmode) Config Basics" node of the CC mode manual.
|
2024-09-25 21:06:07 +00:00
|
|
|
|
|
2024-05-13 18:44:03 +00:00
|
|
|
|
** Go-ts mode
|
|
|
|
|
|
|
|
|
|
+++
|
|
|
|
|
*** New unit test commands.
|
|
|
|
|
Three new commands are now available to run unit tests.
|
|
|
|
|
|
|
|
|
|
The 'go-ts-mode-test-function-at-point' command runs the unit test at
|
|
|
|
|
point. If a region is active, it runs all the unit tests under the
|
|
|
|
|
region. It is bound to 'C-c C-t t' in 'go-ts-mode'.
|
|
|
|
|
|
|
|
|
|
The 'go-ts-mode-test-this-file' command runs all unit tests in the current
|
2024-07-25 11:38:27 +00:00
|
|
|
|
file. It is bound to 'C-c C-t f' in 'go-ts-mode'.
|
2024-05-13 18:44:03 +00:00
|
|
|
|
|
|
|
|
|
The 'go-ts-mode-test-this-package' command runs all unit tests under the
|
|
|
|
|
package of the current buffer. It is bound to 'C-c C-t p' in 'go-ts-mode'.
|
|
|
|
|
|
2024-07-25 11:38:27 +00:00
|
|
|
|
The 'go-ts-mode-build-tags' user option is available to set a list of
|
|
|
|
|
build tags for the test commands.
|
2024-05-13 18:44:03 +00:00
|
|
|
|
|
2024-09-09 07:20:42 +00:00
|
|
|
|
** C-ts mode
|
|
|
|
|
|
|
|
|
|
+++
|
|
|
|
|
*** New user option 'c-ts-mode-enable-doxygen'.
|
2024-09-21 09:42:43 +00:00
|
|
|
|
By default, this is nil, and the Doxygen comment blocks in C/C++ source
|
|
|
|
|
are highlighted like other comments. When non-nil, Doxygen comment
|
|
|
|
|
blocks are syntax-highlighted if the Doxygen grammar library is
|
|
|
|
|
available.
|
2024-09-09 07:20:42 +00:00
|
|
|
|
|
|
|
|
|
** Java-ts mode
|
|
|
|
|
|
|
|
|
|
+++
|
|
|
|
|
*** New user option 'java-ts-mode-enable-doxygen'.
|
2024-09-21 09:42:43 +00:00
|
|
|
|
By default, this is nil, and the Doxygen comment blocks in Java source
|
|
|
|
|
are highlighted like other comments. When non-nil, Doxygen comment
|
|
|
|
|
blocks are syntax-highlighted if the Doxygen grammar library is
|
|
|
|
|
available.
|
2024-09-09 07:20:42 +00:00
|
|
|
|
|
2024-07-06 15:36:30 +00:00
|
|
|
|
** Emacs Lisp mode
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
*** Checkdoc no longer warns about missing footer lines in some cases.
|
|
|
|
|
Emacs Lisp libraries have traditionally ended with a footer line
|
|
|
|
|
(sometimes referred to as "terminating comment"). Their purpose was to
|
|
|
|
|
easily detect files that had been truncated in transit on ancient and
|
|
|
|
|
less reliable connections:
|
|
|
|
|
|
|
|
|
|
;; some-cool-package.el ends here
|
|
|
|
|
|
|
|
|
|
'checkdoc' will no longer warn if that line is missing for packages that
|
|
|
|
|
explicitly only support Emacs 30.1 or later, as specified in the
|
|
|
|
|
"Package-Requires" header. The reason for keeping the warning for
|
|
|
|
|
packages that support earlier versions of Emacs is that package.el in
|
|
|
|
|
those versions can't install packages where that line is missing.
|
|
|
|
|
|
|
|
|
|
This change affects both 'M-x checkdoc' and the corresponding flymake
|
|
|
|
|
backend.
|
|
|
|
|
|
2024-07-07 11:37:55 +00:00
|
|
|
|
---
|
|
|
|
|
*** Checkdoc will now flag incorrect formatting in warnings.
|
|
|
|
|
This affects calls to 'warn', 'lwarn', 'display-warning', and
|
|
|
|
|
'message-box'.
|
|
|
|
|
|
2024-07-07 11:40:59 +00:00
|
|
|
|
---
|
|
|
|
|
*** The default of 'checkdoc-verb-check-experimental-flag' is now nil.
|
|
|
|
|
In most cases, having it enabled leads to a large amount of false
|
|
|
|
|
positives.
|
|
|
|
|
|
2024-07-23 14:32:30 +00:00
|
|
|
|
** DocView
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
*** Dedicated buffer for plain text contents.
|
|
|
|
|
When switching to the plain text contents with 'doc-view-open-text',
|
2024-07-25 11:38:27 +00:00
|
|
|
|
DocView now creates a dedicated buffer to display it. 'C-c C-c' gets you
|
2024-07-23 14:32:30 +00:00
|
|
|
|
back to real DocView buffer if it still exists.
|
2024-07-25 11:38:27 +00:00
|
|
|
|
|
2024-09-15 08:26:21 +00:00
|
|
|
|
+++
|
2024-09-28 09:11:57 +00:00
|
|
|
|
*** New commands to save and restore pages in buffer-local registers.
|
2024-10-13 13:40:07 +00:00
|
|
|
|
Docview can store the current page to buffer-local registers with the new
|
2024-09-28 09:11:57 +00:00
|
|
|
|
command 'doc-view-page-to-register' (bound to 'm'), and later the stored
|
|
|
|
|
page can be restored with 'doc-view-jump-to-register' (bound to ''').
|
2024-09-15 08:26:21 +00:00
|
|
|
|
|
2024-10-02 08:18:25 +00:00
|
|
|
|
+++
|
2024-10-13 13:40:07 +00:00
|
|
|
|
*** Docview can generate imenu indices for DjVu and ODF documents.
|
|
|
|
|
When the 'djvused' program is available, Docview can now generate an imenu
|
|
|
|
|
index for DjVu files from its outline. Indices for Open Document Format
|
2024-10-09 14:06:18 +00:00
|
|
|
|
(ODF) files as used by OpenOffice and LibreOffice are generated using
|
|
|
|
|
the 'mutool' program after their initial conversion to PDF format. The
|
|
|
|
|
name of the 'djvused' program can be customized by changing the user
|
2024-10-02 08:18:25 +00:00
|
|
|
|
option 'doc-view-djvused-program'.
|
|
|
|
|
|
2024-11-22 07:17:25 +00:00
|
|
|
|
** Flyspell
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
*** New user option 'flyspell-delay-use-timer'.
|
|
|
|
|
By default, Flyspell waits after so-called "delayed" commands by calling
|
|
|
|
|
'sit-for'. If you customize this option to non-nil, Flyspell instead
|
|
|
|
|
sets up a timer to perform spell-checking after a short delay, which
|
|
|
|
|
allows idle timers and other code to run during this delay period. We
|
|
|
|
|
consider making this behavior the default in a future Emacs version, so
|
|
|
|
|
we invite Flyspell users to enable this new option and report issues.
|
|
|
|
|
|
2024-07-25 11:38:27 +00:00
|
|
|
|
** Tramp
|
|
|
|
|
|
|
|
|
|
+++
|
|
|
|
|
*** Connection method "kubernetes" supports now optional namespace.
|
|
|
|
|
The host name for Kubernetes connections can be of kind
|
|
|
|
|
[CONTAINER.]POD[%NAMESPACE], in order to specify the namespace to be
|
2024-08-24 10:49:48 +00:00
|
|
|
|
used. This overrides the setting in 'tramp-kubernetes-namespace', if
|
2024-07-25 11:38:27 +00:00
|
|
|
|
any.
|
|
|
|
|
|
2024-11-09 09:29:42 +00:00
|
|
|
|
+++
|
|
|
|
|
*** Different proxies for the same destination host name can be specified.
|
|
|
|
|
A typical example are docker containers, which run on different hosts
|
|
|
|
|
under the same docker name. When the user option
|
|
|
|
|
'tramp-show-ad-hoc-proxies' is non-nil, such ad-hoc multi-hop file names
|
|
|
|
|
can be used in parallel. Example: on both remote hosts "host1" and
|
|
|
|
|
"host2" there is a docker container "name", respectively:
|
|
|
|
|
|
|
|
|
|
/ssh:user1@host1|docker:name:
|
|
|
|
|
/ssh:user2@host2|docker:name:
|
|
|
|
|
|
|
|
|
|
This feature is experimental.
|
|
|
|
|
|
2023-08-19 09:47:54 +00:00
|
|
|
|
** Diff
|
|
|
|
|
|
|
|
|
|
---
|
2024-08-24 10:49:48 +00:00
|
|
|
|
*** New command 'diff-kill-ring-save'.
|
2023-08-19 09:47:54 +00:00
|
|
|
|
This command copies to the 'kill-ring' a region of text modified
|
|
|
|
|
according to diffs in the current buffer, but without applying the diffs
|
|
|
|
|
to the original text. If the selected range extends a hunk, the
|
2024-08-24 10:49:48 +00:00
|
|
|
|
command attempts to look up and copy the text in-between the hunks.
|
2023-08-19 09:47:54 +00:00
|
|
|
|
|
2024-09-24 08:38:43 +00:00
|
|
|
|
+++
|
2024-10-13 13:40:07 +00:00
|
|
|
|
*** New command 'diff-revert-and-kill-hunk' bound to 'C-c M-r'.
|
2024-09-26 11:24:18 +00:00
|
|
|
|
This command reverts the hunk at point (i.e., applies the reverse of the
|
2024-09-26 19:02:05 +00:00
|
|
|
|
hunk), and then removes the hunk from the diffs.
|
|
|
|
|
This is useful to undo or revert changes, committed and uncommitted, when
|
|
|
|
|
you are in buffers generated by 'C-x v =' and 'C-x v D'.
|
2024-09-24 08:38:43 +00:00
|
|
|
|
|
2024-09-10 18:18:39 +00:00
|
|
|
|
---
|
2024-09-27 05:47:13 +00:00
|
|
|
|
*** 'diff-file-prev' and 'diff-hunk-prev' always move to start of header.
|
|
|
|
|
Previously, 'diff-file-prev' and 'diff-hunk-prev' would move when point
|
|
|
|
|
is after the corresponding file or hunk header, but not when inside it.
|
|
|
|
|
Now they will always move to the start of the current header.
|
2024-09-10 18:18:39 +00:00
|
|
|
|
|
2024-09-30 13:08:38 +00:00
|
|
|
|
+++
|
2024-10-13 13:40:07 +00:00
|
|
|
|
*** New command 'diff-delete-other-hunks' bound to 'C-c RET n'.
|
2024-09-30 13:08:38 +00:00
|
|
|
|
This command deletes all hunks other than the current hunk. It is
|
2024-10-13 13:40:07 +00:00
|
|
|
|
useful to prepare a "*vc-diff*" buffer for committing a single hunk.
|
2024-09-30 13:08:38 +00:00
|
|
|
|
When the region is active, it deletes all hunks that the region does not
|
|
|
|
|
overlap.
|
|
|
|
|
|
2024-10-07 23:25:14 +00:00
|
|
|
|
*** 'diff-apply-hunk' now supports creating and deleting files.
|
|
|
|
|
|
2024-10-09 23:08:53 +00:00
|
|
|
|
---
|
2024-10-10 06:17:00 +00:00
|
|
|
|
*** 'vc-version-diff' and 'vc-root-version-diff' changed default for REV1.
|
2024-10-09 23:08:53 +00:00
|
|
|
|
They suggest the previous revision as the default for REV1, not the last
|
|
|
|
|
one as before. This makes them different from 'vc-diff' and
|
|
|
|
|
'vc-root-diff' when those are called without a prefix argument.
|
|
|
|
|
|
2024-10-13 13:40:07 +00:00
|
|
|
|
** PHP-ts mode
|
2024-09-08 06:46:42 +00:00
|
|
|
|
|
|
|
|
|
---
|
2024-09-11 15:42:24 +00:00
|
|
|
|
*** 'php-ts-mode-run-php-webserver' can now accept a custom "php.ini" file.
|
2024-09-08 06:46:42 +00:00
|
|
|
|
You can use the new optional argument CONFIG when calling
|
2024-09-11 15:42:24 +00:00
|
|
|
|
'php-ts-mode-run-php-webserver' to pass an alternative "php.ini" file to
|
2024-09-08 06:46:42 +00:00
|
|
|
|
the built-in Web server. Interactively, when invoked with a prefix
|
|
|
|
|
argument, 'php-ts-mode-run-php-webserver' prompts for the config file as
|
|
|
|
|
well as for other connection parameters.
|
|
|
|
|
|
2024-09-04 07:24:25 +00:00
|
|
|
|
** Ediff
|
|
|
|
|
|
|
|
|
|
+++
|
|
|
|
|
*** Ediff's copy commands now apply to all changes with 'C-u' prefix.
|
|
|
|
|
The Ediff copy commands, bound to 'a', 'b', 'ab', etc., now copy all
|
|
|
|
|
changes when supplied with a universal prefix argument via 'C-u':
|
|
|
|
|
|
|
|
|
|
- 'C-u a' copies all changes from buffer A to buffer B (in 2-way diff)
|
|
|
|
|
or to buffer C (in 3-way diff or merge).
|
|
|
|
|
- 'C-u b' copies all changes from buffer B to buffer A (in 2-way diff)
|
|
|
|
|
or to buffer C (in 3-way diff or merge).
|
|
|
|
|
- 'C-u a b' copies all changes from buffer A to buffer B.
|
|
|
|
|
- 'C-u b a' copies all changes from buffer B to buffer A.
|
|
|
|
|
- 'C-u a c' copies all changes from buffer A to buffer C.
|
|
|
|
|
- 'C-u b c' copies all changes from buffer B to buffer C.
|
|
|
|
|
- 'C-u c a' copies all changes from buffer C to buffer A.
|
|
|
|
|
- 'C-u c b' copies all changes from buffer C to buffer B.
|
|
|
|
|
|
2024-09-11 15:42:24 +00:00
|
|
|
|
** Dired
|
|
|
|
|
|
|
|
|
|
+++
|
2024-09-11 16:15:35 +00:00
|
|
|
|
*** New user option 'dired-check-symlinks' allows disabling validity checks.
|
|
|
|
|
Dired uses 'file-truename' to check symbolic link validity when
|
|
|
|
|
fontifying them, which can be slow for remote directories. Setting
|
|
|
|
|
'dired-check-symlinks' to nil disables these checks. Defaults to t, can
|
|
|
|
|
be set as a connection-local variable.
|
2024-09-11 15:42:24 +00:00
|
|
|
|
|
2024-10-02 10:36:57 +00:00
|
|
|
|
---
|
|
|
|
|
*** New user option 'dired-hide-details-hide-absolute-location'.
|
2024-11-09 09:29:42 +00:00
|
|
|
|
When Dired's 'dired-hide-details-mode' is enabled, also hide the
|
2024-10-02 10:36:57 +00:00
|
|
|
|
'default-directory' absolute location, typically displayed as the first
|
2024-11-09 09:29:42 +00:00
|
|
|
|
line in a Dired buffer.
|
2024-10-02 10:36:57 +00:00
|
|
|
|
|
2024-11-09 09:29:42 +00:00
|
|
|
|
With 'dired-hide-details-hide-absolute-location':
|
2024-10-02 10:36:57 +00:00
|
|
|
|
|
2024-11-09 09:29:42 +00:00
|
|
|
|
project: (100 GiB available)
|
2024-10-02 10:36:57 +00:00
|
|
|
|
|
2024-11-09 09:29:42 +00:00
|
|
|
|
Without 'dired-hide-details-hide-absolute-location':
|
2024-10-02 10:36:57 +00:00
|
|
|
|
|
2024-11-09 09:29:42 +00:00
|
|
|
|
/absolute/path/to/my/important/project: (100 GiB available)
|
2024-10-02 10:36:57 +00:00
|
|
|
|
|
2024-09-09 14:38:04 +00:00
|
|
|
|
** Grep
|
|
|
|
|
|
|
|
|
|
+++
|
|
|
|
|
*** Grep results can be edited to reflect changes in the originating file.
|
2024-10-13 13:40:07 +00:00
|
|
|
|
Like Occur Edit mode, typing 'e' in the "*grep*" buffer will now make
|
2024-09-09 14:38:04 +00:00
|
|
|
|
the 'grep' results editable. The edits will be reflected in the buffer
|
|
|
|
|
visiting the originating file. Typing 'C-c C-c' will leave the Grep
|
|
|
|
|
Edit mode.
|
|
|
|
|
|
Provide a modified xref backend for TeX buffers
In addition to providing a new `xref' backend, the patch also improves
the general handling of expl3 syntax. Expl3 is the next-generation
LaTeX specification, and has for some time been available by default in
the LaTeX kernel. The new syntax co-exists in many files with the
standard LaTeX2e syntax, so we try at least minimally to separate the
way modes handle the two specifications, both to reduce
visually-disturbing interference between them and also to improve the
`xref' backend. (Bug#53749)
* lib-src/etags.c (TeX_commands): Improve parsing of commands in TeX
buffers.
(TEX_defenv): Expand list of commands to tag by default in TeX buffers.
(TeX_help):
* doc/emacs/maintaining.texi (Tag Syntax): Document new tagged commands.
(Identifier Search): Add note about semantic-symref-filepattern-alist,
auto-mode-alist, and xref-find-references.
* lisp/textmodes/tex-mode.el (tex-font-lock-suscript): Test for
underscore in expl3 files and regions, disable subscript face there.
(tex-common-initialization): Set up xref backend for in-tree TeX modes.
Detect expl3 files, and in others set up a list of expl3 regions.
(tex-expl-buffer-parse): New function called in previous.
(tex-expl-buffer-p): New variable to hold the result of previous.
(tex-expl-region-set): New function added to
'syntax-propertize-extend-region-functions' hook.
(tex-expl-region-list): New variable to hold the result of previous.
(tex--xref-backend): New function to identify the xref backend.
(tex--thing-at-point, tex-thingatpt--beginning-of-symbol)
(tex-thingatpt--end-of-symbol, tex--bounds-of-symbol-at-point):
New functions to return 'thing-at-point' for xref backend.
(tex-thingatpt-exclude-chars): New variable to do the same.
(xref-backend-identifier-at-point): New TeX backend method to provide
symbols for processing by xref.
(xref-backend-identifier-completion-table)
(xref-backend-identifier-completion-ignore-case)
(xref-backend-definitions, xref-backend-apropos): Placeholders to
call the standard 'etags' xref backend methods.
(xref-backend-references): Wrapper to call the default xref backend
method, finding as many relevant files as possible and using a bespoke
syntax-propertize-function when required.
(tex--collect-file-extensions, tex-xref-syntax-function): Helper
functions for previous.
(tex-find-references-syntax-table, tex--buffers-list)
(tex--xref-syntax-fun, tex--old-syntax-function): New variables for
the same.
2024-06-10 13:16:04 +00:00
|
|
|
|
** TeX modes
|
|
|
|
|
|
|
|
|
|
+++
|
2024-10-13 13:40:07 +00:00
|
|
|
|
*** New Xref backend for TeX modes.
|
Provide a modified xref backend for TeX buffers
In addition to providing a new `xref' backend, the patch also improves
the general handling of expl3 syntax. Expl3 is the next-generation
LaTeX specification, and has for some time been available by default in
the LaTeX kernel. The new syntax co-exists in many files with the
standard LaTeX2e syntax, so we try at least minimally to separate the
way modes handle the two specifications, both to reduce
visually-disturbing interference between them and also to improve the
`xref' backend. (Bug#53749)
* lib-src/etags.c (TeX_commands): Improve parsing of commands in TeX
buffers.
(TEX_defenv): Expand list of commands to tag by default in TeX buffers.
(TeX_help):
* doc/emacs/maintaining.texi (Tag Syntax): Document new tagged commands.
(Identifier Search): Add note about semantic-symref-filepattern-alist,
auto-mode-alist, and xref-find-references.
* lisp/textmodes/tex-mode.el (tex-font-lock-suscript): Test for
underscore in expl3 files and regions, disable subscript face there.
(tex-common-initialization): Set up xref backend for in-tree TeX modes.
Detect expl3 files, and in others set up a list of expl3 regions.
(tex-expl-buffer-parse): New function called in previous.
(tex-expl-buffer-p): New variable to hold the result of previous.
(tex-expl-region-set): New function added to
'syntax-propertize-extend-region-functions' hook.
(tex-expl-region-list): New variable to hold the result of previous.
(tex--xref-backend): New function to identify the xref backend.
(tex--thing-at-point, tex-thingatpt--beginning-of-symbol)
(tex-thingatpt--end-of-symbol, tex--bounds-of-symbol-at-point):
New functions to return 'thing-at-point' for xref backend.
(tex-thingatpt-exclude-chars): New variable to do the same.
(xref-backend-identifier-at-point): New TeX backend method to provide
symbols for processing by xref.
(xref-backend-identifier-completion-table)
(xref-backend-identifier-completion-ignore-case)
(xref-backend-definitions, xref-backend-apropos): Placeholders to
call the standard 'etags' xref backend methods.
(xref-backend-references): Wrapper to call the default xref backend
method, finding as many relevant files as possible and using a bespoke
syntax-propertize-function when required.
(tex--collect-file-extensions, tex-xref-syntax-function): Helper
functions for previous.
(tex-find-references-syntax-table, tex--buffers-list)
(tex--xref-syntax-fun, tex--old-syntax-function): New variables for
the same.
2024-06-10 13:16:04 +00:00
|
|
|
|
The new backend ('tex-etags') is on by default, and improves the
|
|
|
|
|
functionality of the standard 'xref' commands in TeX buffers. You can
|
|
|
|
|
restore the standard 'etags' backend with the 'M-x xref-etags-mode'
|
|
|
|
|
toggle.
|
|
|
|
|
|
2024-11-15 05:26:23 +00:00
|
|
|
|
** BibTeX mode
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
*** New user option 'bibtex-entry-ask-for-key'.
|
|
|
|
|
When enabled, 'bibtex-entry' asks for a key.
|
|
|
|
|
|
2024-09-21 12:51:21 +00:00
|
|
|
|
** Midnight mode
|
|
|
|
|
|
|
|
|
|
---
|
2024-10-13 13:40:07 +00:00
|
|
|
|
*** Change for activating the mode.
|
|
|
|
|
Putting '(require 'midnight)' in your init file no longer activates the
|
|
|
|
|
mode. Now, one needs to say '(midnight-mode +1)' instead.
|
2024-09-21 12:51:21 +00:00
|
|
|
|
|
2024-09-29 21:29:54 +00:00
|
|
|
|
** Python mode
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
*** Prefer "python" for 'python-interpreter' and 'python-shell-interpreter'.
|
|
|
|
|
On recent versions of mainstream GNU/Linux distributions, "python"
|
|
|
|
|
either does not exist or it points to Python 3. These user options now
|
|
|
|
|
default to using "python", falling back to "python3" if it does not
|
|
|
|
|
exist. If "python" points to Python 2 on your system, you now have to
|
|
|
|
|
customize these variables to "python3" if you want to use Python 3
|
|
|
|
|
instead.
|
|
|
|
|
|
2024-10-04 21:37:31 +00:00
|
|
|
|
---
|
2024-10-13 13:40:07 +00:00
|
|
|
|
*** Support of 'electric-layout-mode' added.
|
2024-10-04 21:37:31 +00:00
|
|
|
|
|
2024-09-25 08:31:12 +00:00
|
|
|
|
** Tmm Menubar
|
|
|
|
|
|
|
|
|
|
---
|
2024-10-06 17:56:09 +00:00
|
|
|
|
*** A new shortcut to navigate to previous menu.
|
2024-10-13 13:40:07 +00:00
|
|
|
|
The hardcoded '^' shortcut gets you back to the previous menu.
|
2024-09-25 08:31:12 +00:00
|
|
|
|
|
2024-10-30 16:24:24 +00:00
|
|
|
|
---
|
|
|
|
|
*** New user option 'tmm-shortcut-inside-entry'.
|
|
|
|
|
When non-nil, highlight the character shortcut in the menu entry's
|
2024-11-09 09:29:42 +00:00
|
|
|
|
string instead of preprending it and 'tmm-mid-prompt' to said entry.
|
2024-10-30 16:24:24 +00:00
|
|
|
|
|
2024-09-15 23:33:53 +00:00
|
|
|
|
** Foldout
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
*** New command 'foldout-widen-to-current-fold'.
|
|
|
|
|
This command widens the view to the current fold level when in a fold,
|
|
|
|
|
or behaves like 'widen' if not in a fold.
|
|
|
|
|
|
2024-09-16 00:52:25 +00:00
|
|
|
|
** MPC
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
*** New user option 'mpc-notifications'.
|
2024-10-18 05:52:02 +00:00
|
|
|
|
When non-nil, MPC (the Emacs front-end to Music Player Daemon) displays
|
|
|
|
|
a desktop notification when the song changes, using
|
|
|
|
|
'notifications-notify'. The notification's title and body can be
|
|
|
|
|
customized using the new user options 'mpc-notifications-title' and
|
|
|
|
|
'mpc-notifications-body'.
|
2024-09-16 00:52:25 +00:00
|
|
|
|
|
2024-10-19 23:25:41 +00:00
|
|
|
|
---
|
2024-09-29 00:11:03 +00:00
|
|
|
|
*** New user option 'mpc-crossfade-time'.
|
|
|
|
|
When non-nil, MPC will crossfade between songs for the specified number
|
|
|
|
|
of seconds. Crossfading can be toggled using the command
|
|
|
|
|
'mpc-toggle-crossfade' or from the MPC menu.
|
|
|
|
|
|
2024-10-19 23:25:41 +00:00
|
|
|
|
---
|
|
|
|
|
*** New command 'mpc-describe-song'.
|
|
|
|
|
This command displays information about the currently playing song or
|
|
|
|
|
song at point in the MPC-Songs buffer. The list of tags to display can
|
|
|
|
|
be customized using the new user option 'mpc-song-viewer-tags' and the
|
|
|
|
|
appearance of the list with the new faces 'mpc-song-viewer-tag',
|
|
|
|
|
'mpc-song-viewer-value', and 'mpc-song-viewer-empty'.
|
|
|
|
|
|
2024-10-18 09:19:45 +00:00
|
|
|
|
** VC
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
*** Using 'e' from Log View mode to modify change comments now works for Git.
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
*** New user option 'vc-allow-rewriting-published-history'.
|
2024-10-27 00:46:57 +00:00
|
|
|
|
Some VCS commands can change your copy of published change history
|
|
|
|
|
without warning. In VC we try to detect before that happens, and stop.
|
2024-11-09 09:29:42 +00:00
|
|
|
|
You can customize this option to permit rewriting history even though
|
|
|
|
|
Emacs thinks it is dangerous.
|
2024-10-18 09:19:45 +00:00
|
|
|
|
|
2024-10-24 13:15:28 +00:00
|
|
|
|
---
|
2024-10-24 12:19:34 +00:00
|
|
|
|
*** 'vc-clone' is now an interactive command.
|
|
|
|
|
When called interactively, 'vc-clone' now prompts for the remote
|
2024-10-24 13:15:28 +00:00
|
|
|
|
repository address, and the directory into which to clone the
|
|
|
|
|
repository. It tries to automatically determine the VC backend for
|
|
|
|
|
cloning, or prompts for that, too.
|
2024-10-24 12:19:34 +00:00
|
|
|
|
|
2024-10-24 13:15:28 +00:00
|
|
|
|
---
|
2024-10-24 12:19:34 +00:00
|
|
|
|
*** 'vc-clone' now accepts an optional argument OPEN-DIR.
|
|
|
|
|
When the argument is non-nil, the function switches to a buffer visiting
|
2024-10-24 13:15:28 +00:00
|
|
|
|
the directory into which the repository was cloned.
|
2024-10-24 12:19:34 +00:00
|
|
|
|
|
2024-10-21 15:28:06 +00:00
|
|
|
|
** Package
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
*** New optional argument to 'package-autoremove'.
|
|
|
|
|
An optional argument NOCONFIRM has been added to 'package-autoremove'.
|
|
|
|
|
If it is non-nil, or when invoked with a prefix argument,
|
|
|
|
|
'package-autoremove' will not prompt the user for confirmation before
|
|
|
|
|
removing packages.
|
|
|
|
|
|
2024-10-28 14:34:48 +00:00
|
|
|
|
---
|
|
|
|
|
*** New prefix argument for 'package-install-selected-packages'.
|
|
|
|
|
When invoked with a prefix argument, 'package-install-selected-packages'
|
|
|
|
|
will not prompt the user for confirmation before installing packages.
|
|
|
|
|
|
2024-06-23 10:56:48 +00:00
|
|
|
|
|
|
|
|
|
* New Modes and Packages in Emacs 31.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Incompatible Lisp Changes in Emacs 31.1
|
|
|
|
|
|
2024-09-24 18:01:26 +00:00
|
|
|
|
** Nested backquotes are not supported any more in Pcase patterns.
|
|
|
|
|
|
2024-08-01 08:29:10 +00:00
|
|
|
|
** The 'rx' category name 'chinese-two-byte' must now be spelled correctly.
|
|
|
|
|
An old alternative name (without the first 'e') has been removed.
|
|
|
|
|
|
2024-09-13 11:31:28 +00:00
|
|
|
|
---
|
|
|
|
|
** All the digit characters now have the 'digit' category.
|
|
|
|
|
All the characters whose Unicode general-category is Nd now have the
|
|
|
|
|
'digit' category, whose mnemonic is '6'. This includes both ASCII and
|
|
|
|
|
non-ASCII digit characters.
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
** All the symbol characters now have the 'symbol' category.
|
|
|
|
|
All the characters that belong to the 'symbol' script (according to
|
|
|
|
|
'char-script-table') now have the 'symbol' category, whose mnemonic is
|
|
|
|
|
'5'.
|
|
|
|
|
|
2024-09-30 01:18:26 +00:00
|
|
|
|
** Some libraries obsolete since Emacs 24.4 and 24.5 have been removed:
|
|
|
|
|
cc-compat.el, info-edit.el, meese.el, otodo-mode.el, rcompile.el,
|
|
|
|
|
sup-mouse.el, terminal.el, vi.el, vip.el, ws-mode.el, and yow.el.
|
|
|
|
|
|
Mark if-let and when-let obsolete
* lisp/subr.el (if-let*, when-let*, if-let, when-let): Mark
if-let and when-let obsolete (bug#73853 and elsewhere). Move
docstring text around so that if-let* and when-let* descriptions
no longer refer to if-let and when-let.
* etc/NEWS: Announce the change.
* admin/admin.el (reminder-for-release-blocking-bugs):
* doc/misc/erc.texi (display-buffer):
* lisp/ansi-color.el (ansi-color-apply)
(ansi-color--face-vec-face):
* lisp/ansi-osc.el (ansi-osc-apply-on-region)
(ansi-osc-hyperlink):
* lisp/arc-mode.el (archive-goto-file)
(archive-next-file-displayer):
* lisp/auth-source-pass.el (auth-source-pass-search)
(auth-source-pass--parse-data)
(auth-source-pass--find-match-many):
* lisp/autorevert.el (auto-revert-notify-rm-watch):
* lisp/buff-menu.el (Buffer-menu-unmark-all-buffers)
(Buffer-menu-group-by-root):
* lisp/calendar/parse-time.el (parse-iso8601-time-string):
* lisp/cedet/pulse.el (pulse-tick):
* lisp/comint.el (comint--fontify-input-ppss-flush-indirect)
(comint--intersect-regions):
* lisp/completion-preview.el (completion-preview--try-table)
(completion-preview--capf-wrapper, completion-preview--update):
* lisp/cus-edit.el (setopt--set)
(custom-dirlocals-maybe-update-cons, custom-dirlocals-validate):
* lisp/custom.el (load-theme):
* lisp/descr-text.el (describe-char):
* lisp/desktop.el (desktop--emacs-pid-running-p):
* lisp/dired-x.el (menu):
* lisp/dired.el (dired-font-lock-keywords)
(dired-insert-directory, dired--insert-disk-space, dired-mode):
* lisp/dnd.el (dnd-handle-multiple-urls):
* lisp/dom.el (dom-remove-attribute):
* lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
* lisp/emacs-lisp/bytecomp.el (bytecomp--custom-declare):
* lisp/emacs-lisp/comp-common.el (comp-function-type-spec):
* lisp/emacs-lisp/comp-cstr.el (comp--all-classes)
(comp-cstr-set-range-for-arithm, comp--cstr-union-1-no-mem)
(comp-cstr-intersection-no-mem, comp-cstr-fixnum-p)
(comp-cstr-type-p):
* lisp/emacs-lisp/comp-run.el (comp-subr-trampoline-install)
(native--compile-async):
* lisp/emacs-lisp/comp.el (comp--get-function-cstr)
(comp--function-pure-p, comp--intern-func-in-ctxt)
(comp--addr-to-bb-name, comp--emit-assume, comp--maybe-add-vmvar)
(comp--add-call-cstr, comp--compute-dominator-tree)
(comp--dom-tree-walker, comp--ssa-rename)
(comp--function-call-maybe-fold, comp--fwprop-call)
(comp--call-optim-func):
* lisp/emacs-lisp/edebug.el (edebug-global-prefix)
(edebug-remove-instrumentation):
* lisp/emacs-lisp/eieio.el (initialize-instance):
* lisp/emacs-lisp/ert-x.el (ert-resource-directory):
* lisp/emacs-lisp/ert.el (ert--expand-should-1)
(ert-test-location, ert-write-junit-test-report)
(ert-test--erts-test):
* lisp/emacs-lisp/icons.el (icon-complete-spec, icon-string)
(icons--create):
* lisp/emacs-lisp/lisp-mode.el (lisp--local-defform-body-p):
* lisp/emacs-lisp/loaddefs-gen.el
(loaddefs-generate--make-autoload)
(loaddefs-generate--parse-file):
* lisp/emacs-lisp/multisession.el
(multisession-edit-mode--revert, multisession-edit-value):
* lisp/emacs-lisp/package-vc.el (package-vc--read-archive-data)
(package-vc--version, package-vc--clone):
* lisp/emacs-lisp/package.el (package--reload-previously-loaded):
* lisp/emacs-lisp/pp.el (pp--insert-lisp):
* lisp/emacs-lisp/subr-x.el (add-display-text-property):
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
* lisp/emacs-lisp/timer.el (run-at-time):
* lisp/emacs-lisp/vtable.el (vtable-goto-table)
(vtable-goto-column, vtable-update-object, vtable--insert-line)
(vtable--compute-widths, vtable--make-keymap):
* lisp/emacs-lisp/warnings.el (display-warning):
* lisp/epa-file.el (epa-file-insert-file-contents):
* lisp/epa.el (epa-show-key):
* lisp/erc/erc-backend.el (erc--split-line, erc--conceal-prompt)
(PRIVMSG, erc--get-isupport-entry):
* lisp/erc/erc-button.el (erc-button-add-nickname-buttons)
(erc--button-next):
* lisp/erc/erc-common.el (erc--find-group):
* lisp/erc/erc-fill.el (erc-fill, erc-fill-static)
(erc-fill--wrap-escape-hidden-speaker)
(erc-fill--wrap-unmerge-on-date-stamp)
(erc-fill--wrap-massage-initial-message-post-clear)
(erc-fill-wrap, erc-fill--wrap-rejigger-region):
* lisp/erc/erc-goodies.el (erc--scrolltobottom-all)
(erc--keep-place-indicator-on-window-buffer-change)
(keep-place-indicator, erc--keep-place-indicator-adjust-on-clear)
(erc-keep-place-move, erc--command-indicator-display):
* lisp/erc/erc-ibuffer.el (erc-members):
* lisp/erc/erc-join.el (erc-join--remove-requested-channel)
(erc-autojoin--join):
* lisp/erc/erc-networks.el
(erc-networks--id-qualifying-init-parts, erc-networks--id-reload)
(erc-networks--id-ensure-comparable)
(erc-networks--reclaim-orphaned-target-buffers)
(erc-networks--server-select):
* lisp/erc/erc-nicks.el (erc-nicks-invert)
(erc-nicks--redirect-face-widget-link, erc-nicks--highlight)
(erc-nicks--highlight-button)
(erc-nicks--list-faces-help-button-action, erc-nicks-list-faces)
(erc-nicks-refresh, erc-nicks--colors-from-faces)
(erc-nicks--track-prioritize)
(erc-nicks--remember-face-for-track):
* lisp/erc/erc-notify.el (querypoll, erc--querypoll-get-next)
(erc--querypoll-on-352, erc--querypoll-send):
* lisp/erc/erc-sasl.el (erc-sasl--read-password):
* lisp/erc/erc-services.el
(erc-services-issue-ghost-and-retry-nick):
* lisp/erc/erc-speedbar.el (erc-speedbar--ensure, nickbar)
(erc-speedbar-toggle-nicknames-window-lock)
(erc-speedbar--compose-nicks-face):
* lisp/erc/erc-stamp.el (erc-stamp--recover-on-reconnect)
(erc-stamp-prefix-log-filter, erc--conceal-prompt)
(erc--insert-timestamp-left, erc-insert-timestamp-right)
(erc-stamp--defer-date-insertion-on-post-modify)
(erc-insert-timestamp-left-and-right)
(erc-stamp--redo-right-stamp-post-clear)
(erc-stamp--reset-on-clear, erc-stamp--dedupe-date-stamps):
* lisp/erc/erc-status-sidebar.el (bufbar)
(erc-status-sidebar-prefer-target-as-name)
(erc-status-sidebar-default-allsort, erc-status-sidebar-click):
* lisp/erc/erc-track.el (erc-track--shortened-names-get)
(erc-track--setup, erc-track--select-mode-line-face)
(erc-track-modified-channels, erc-track--collect-faces-in)
(erc-track--switch-buffer, erc-track--replace-killed-buffer):
* lisp/erc/erc-truncate.el (erc-truncate--setup)
(erc-truncate-buffer):
* lisp/erc/erc.el (erc--ensure-query-member)
(erc--ensure-query-members, erc--remove-channel-users-but)
(erc--cusr-change-status, erc--find-mode, erc--update-modules)
(erc-log-irc-protocol, erc--refresh-prompt)
(erc--restore-important-text-props)
(erc--order-text-properties-from-hash, erc-send-input-line)
(erc-cmd-IGNORE, erc--unignore-user, erc-cmd-QUERY)
(erc-cmd-BANLIST, erc--speakerize-nick)
(erc--format-speaker-input-message, erc-channel-receive-names)
(erc-send-current-line, erc-format-target-and/or-network)
(erc-kill-buffer-function, erc-restore-text-properties)
(erc--get-eq-comparable-cmd):
* lisp/eshell/em-alias.el (eshell-maybe-replace-by-alias--which)
(eshell-maybe-replace-by-alias):
* lisp/eshell/em-glob.el (eshell-glob-convert):
* lisp/eshell/em-pred.el (eshell-pred-user-or-group)
(eshell-pred-file-time, eshell-pred-file-type)
(eshell-pred-file-mode, eshell-pred-file-links)
(eshell-pred-file-size):
* lisp/eshell/em-prompt.el (eshell-forward-paragraph)
(eshell-next-prompt):
* lisp/eshell/esh-arg.el (eshell-resolve-current-argument):
* lisp/eshell/esh-cmd.el (eshell-do-eval, eshell/which)
(eshell-plain-command--which, eshell-plain-command):
* lisp/eshell/esh-io.el (eshell-duplicate-handles)
(eshell-protect-handles, eshell-get-target, eshell-close-target):
* lisp/eshell/esh-proc.el (eshell-sentinel):
* lisp/eshell/esh-var.el (eshell-parse-variable-ref)
(eshell-get-variable, eshell-set-variable):
* lisp/faces.el (face-at-point):
* lisp/ffap.el (ffap-in-project):
* lisp/filenotify.el (file-notify--rm-descriptor):
* lisp/files-x.el (read-dir-locals-file)
(connection-local-update-profile-variables)
(connection-local-value):
* lisp/files.el (file-remote-p, abbreviate-file-name)
(set-auto-mode, hack-local-variables)
(revert-buffer-restore-read-only):
* lisp/find-dired.el (find-dired-sort-by-filename):
* lisp/font-lock.el (font-lock--filter-keywords):
* lisp/gnus/gnus-art.el (article-emojize-symbols):
* lisp/gnus/gnus-int.el (gnus-close-server):
* lisp/gnus/gnus-search.el (gnus-search-transform)
(gnus-search-indexed-parse-output, gnus-search-server-to-engine):
* lisp/gnus/gnus-sum.el (gnus-collect-urls, gnus-shorten-url):
* lisp/gnus/gnus.el (gnus-check-backend-function):
* lisp/gnus/message.el (message-send-mail):
* lisp/gnus/mml.el (mml-generate-mime, mml-insert-mime-headers):
* lisp/gnus/nnatom.el (nnatom--read-feed, nnatom--read-article)
(nnatom--read-article-or-group-authors, nnatom--read-publish)
(nnatom--read-update, nnatom--read-links):
* lisp/gnus/nnfeed.el (nnfeed--read-server, nnfeed--write-server)
(nnfeed--parse-feed, nnfeed--group-data, nnfeed-retrieve-article)
(nnfeed-retrieve-headers, nnfeed--print-part)
(nnfeed-request-article, nnfeed-request-group)
(nnfeed-request-list, nnfeed--group-description)
(nnfeed-request-group-description)
(nnfeed-request-list-newsgroups, nnfeed-request-rename-group):
* lisp/gnus/nnmh.el (nnmh-update-gnus-unreads):
* lisp/help-fns.el (help-find-source)
(help-fns--insert-menu-bindings, help-fns--mention-first-release)
(help-fns--mention-shortdoc-groups)
(help-fns--customize-variable-version)
(help-fns--face-custom-version-info, describe-mode):
* lisp/help-mode.el (help-make-xrefs):
* lisp/help.el (help-key-description, help--describe-command):
* lisp/hfy-cmap.el (htmlfontify-load-rgb-file):
* lisp/ibuf-ext.el (ibuffer-jump-to-filter-group)
(ibuffer-kill-filter-group, ibuffer-kill-line)
(ibuffer-save-filter-groups, ibuffer-save-filters, filename)
(basename, file-extension, ibuffer-diff-buffer-with-file-1)
(ibuffer-mark-by-file-name-regexp)
(ibuffer-mark-by-content-regexp):
* lisp/ibuf-macs.el (ibuffer-aif, ibuffer-awhen):
* lisp/ibuffer.el (ibuffer-mouse-toggle-mark)
(ibuffer-toggle-marks, ibuffer-mark-interactive)
(ibuffer-compile-format, process, ibuffer-map-lines):
* lisp/image.el (image--compute-map)
(image--compute-original-map):
* lisp/image/exif.el (exif-parse-buffer):
* lisp/image/image-converter.el (image-convert-p, image-convert)
(image-converter--find-converter):
* lisp/image/image-dired-util.el
(image-dired-file-name-at-point):
* lisp/image/image-dired.el (image-dired-track-original-file)
(image-dired--on-file-in-dired-buffer)
(image-dired--with-thumbnail-buffer)
(image-dired-jump-original-dired-buffer)
(image-dired--slideshow-step, image-dired-display-image):
* lisp/image/wallpaper.el (wallpaper--init-action-kill)
(wallpaper--find-setter, wallpaper--find-command)
(wallpaper--find-command-args, wallpaper--x-monitor-name):
* lisp/info-look.el (info-lookup-interactive-arguments)
(info-complete)::(:mode):
* lisp/info.el (info-pop-to-buffer, Info-read-node-name-1):
* lisp/international/emoji.el (emoji--adjust-displayable-1)
(emoji--add-recent):
* lisp/jsonrpc.el (jsonrpc--call-deferred)
(jsonrpc--process-sentinel, jsonrpc--remove):
* lisp/keymap.el (keymap-local-lookup):
* lisp/mail/emacsbug.el (report-emacs-bug-hook)
(submit-emacs-patch):
* lisp/mail/ietf-drums.el (ietf-drums-parse-addresses):
* lisp/mail/mailclient.el (mailclient-send-it):
* lisp/mail/rfc6068.el (rfc6068-parse-mailto-url):
* lisp/mail/undigest.el (rmail-digest-parse-mixed-mime):
* lisp/minibuffer.el (completion-metadata-get)
(completions--after-change)
(minibuffer-visible-completions--filter):
* lisp/net/browse-url.el (browse-url-url-at-point)
(browse-url-file-url, browse-url-emacs):
* lisp/net/dbus.el (dbus-byte-array-to-string)
(dbus-monitor-goto-serial):
* lisp/net/dictionary.el (dictionary-search):
* lisp/net/eww.el (eww--download-directory)
(eww-auto-rename-buffer, eww-open-in-new-buffer, eww-submit)
(eww-follow-link, eww-read-alternate-url)
(eww-copy-alternate-url):
* lisp/net/goto-addr.el (goto-address-at-point):
* lisp/net/mailcap.el (mailcap-mime-info):
* lisp/net/rcirc.el (rcirc, rcirc-connect, rcirc-send-string)
(rcirc-kill-buffer-hook, rcirc-print, rcirc-when)
(rcirc-color-attributes, rcirc-handler-NICK)
(rcirc-handler-TAGMSG, rcirc-handler-BATCH):
* lisp/net/shr.el (shr-descend, shr-adaptive-fill-function)
(shr-correct-dom-case, shr-tag-a):
* lisp/net/sieve.el (sieve-manage-quit):
* lisp/outline.el (outline-cycle-buffer):
* lisp/pcmpl-git.el (pcmpl-git--tracked-file-predicate):
* lisp/proced.el (proced-auto-update-timer):
* lisp/progmodes/bug-reference.el
(bug-reference-try-setup-from-vc):
* lisp/progmodes/c-ts-common.el (c-ts-common--fill-paragraph):
* lisp/progmodes/c-ts-mode.el (c-ts-mode--preproc-offset)
(c-ts-mode--anchor-prev-sibling, c-ts-mode-indent-defun):
* lisp/progmodes/compile.el (compilation-error-properties)
(compilation-find-file-1):
* lisp/progmodes/eglot.el (eglot--check-object)
(eglot--read-server, eglot-upgrade-eglot)
(eglot-handle-notification, eglot--CompletionParams)
(eglot-completion-at-point, eglot--sig-info)
(eglot-register-capability):
* lisp/progmodes/elisp-mode.el
(emacs-lisp-native-compile-and-load)
(elisp-eldoc-var-docstring-with-value):
* lisp/progmodes/erts-mode.el (erts-mode--goto-start-of-test):
* lisp/progmodes/flymake.el (flymake--update-eol-overlays)
(flymake-eldoc-function):
* lisp/progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom)
(gdb-frame-handler):
* lisp/progmodes/go-ts-mode.el (go-ts-mode-docstring)
(go-ts-mode--comment-on-previous-line-p)
(go-ts-mode--get-test-regexp-at-point)
(go-ts-mode-test-this-file):
* lisp/progmodes/grep.el (lgrep, rgrep-default-command)
(grep-file-at-point):
* lisp/progmodes/perl-mode.el (perl--end-of-format-p):
* lisp/progmodes/php-ts-mode.el
(php-ts-mode--anchor-prev-sibling, php-ts-mode--indent-defun):
* lisp/progmodes/project.el (project--other-place-command)
(project--find-default-from, project--transplant-file-name)
(project-prefixed-buffer-name, project--remove-from-project-list)
(project-prompt-project-name, project-remember-projects-under)
(project--switch-project-command)
(project-uniquify-dirname-transform, project-mode-line-format):
* lisp/progmodes/python.el
(python-font-lock-keywords-maximum-decoration)
(python--treesit-fontify-union-types)
(python-shell-get-process-name, python-shell-restart)
(python-shell-completion-at-point, python-ffap-module-path)
(python-util-comint-end-of-output-p, python--import-sources)
(python-add-import, python-remove-import, python-fix-imports):
* lisp/progmodes/xref.el (xref--add-log-current-defun):
* lisp/repeat.el (repeat-echo-message-string):
* lisp/saveplace.el (save-place-dired-hook):
* lisp/server.el (server-save-buffers-kill-terminal):
* lisp/shadowfile.el (shadow-make-fullname)
(shadow-contract-file-name, shadow-define-literal-group):
* lisp/shell.el (shell-highlight-undef-mode):
* lisp/simple.el (command-completion-using-modes-p)
(command-execute, file-user-uid, file-group-gid)
(first-completion, last-completion, switch-to-completions):
* lisp/startup.el (startup--load-user-init-file):
* lisp/tab-line.el (tab-line-tabs-buffer-group-by-project):
* lisp/tar-mode.el (tar-goto-file, tar-next-file-displayer):
* lisp/term/android-win.el (android-encode-select-string)
(gui-backend-set-selection):
* lisp/term/haiku-win.el (haiku-dnd-convert-string)
(haiku-select-encode-xstring, haiku-select-encode-utf-8-string):
* lisp/textmodes/emacs-news-mode.el (emacs-news--buttonize):
* lisp/textmodes/ispell.el (ispell-completion-at-point):
* lisp/textmodes/sgml-mode.el (sgml-validate)
(html-mode--complete-at-point):
* lisp/textmodes/tex-mode.el (tex-recenter-output-buffer)
(xref-backend-references):
* lisp/thingatpt.el (thing-at-point-file-at-point)
(thing-at-point-face-at-point):
* lisp/thread.el (thread-list--get-status):
* lisp/time.el (world-clock-copy-time-as-kill, world-clock):
* lisp/touch-screen.el (touch-screen-handle-touch):
* lisp/treesit.el (treesit-language-at, treesit-node-at)
(treesit-node-on, treesit-buffer-root-node)
(treesit-node-field-name, treesit-local-parsers-at)
(treesit-local-parsers-on, treesit--cleanup-local-range-overlays)
(treesit-font-lock-recompute-features)
(treesit-font-lock-fontify-region, treesit-transpose-sexps)
(treesit-add-log-current-defun, treesit-major-mode-setup)
(treesit--explorer-refresh, treesit-install-language-grammar):
* lisp/url/url.el (url-retrieve-synchronously):
* lisp/vc/smerge-mode.el (smerge-diff):
* lisp/vc/vc-dir.el (vc-dir):
* lisp/vc/vc-dispatcher.el (vc-do-async-command):
* lisp/vc/vc-git.el (vc-git-dir--branch-headers)
(vc-git-dir--stash-headers, vc-git--log-edit-summary-check)
(vc-git-stash-list):
* lisp/vc/vc.el (vc-responsible-backend, vc-buffer-sync-fileset)
(vc-clone):
* lisp/visual-wrap.el (visual-wrap--apply-to-line):
* lisp/wid-edit.el (widget-text)
(widget-editable-list-insert-before):
* lisp/window-tool-bar.el
(window-tool-bar--keymap-entry-to-string):
* lisp/window.el (display-buffer, display-buffer-full-frame)
(window-point-context-set, window-point-context-use)
(window-point-context-use-default-function):
* lisp/xdg.el (xdg-current-desktop):
* lisp/xwidget.el (xwidget-webkit-callback):
* lisp/yank-media.el (yank-media--get-selection)
(yank-media-types):
* test/lisp/comint-tests.el
(comint-tests/test-password-function):
* test/lisp/completion-preview-tests.el
(completion-preview-tests--capf):
* test/lisp/cus-edit-tests.el (with-cus-edit-test):
* test/lisp/erc/erc-scenarios-base-local-modules.el
(-phony-sblm-):
* test/lisp/erc/erc-scenarios-stamp.el
(erc-scenarios-stamp--on-post-modify):
* test/lisp/erc/erc-services-tests.el
(erc-services-tests--asp-parse-entry):
* test/lisp/erc/erc-tests.el (erc-modules--internal-property)
(erc--find-mode, erc-tests--update-modules):
* test/lisp/erc/resources/erc-d/erc-d-i.el
(erc-d-i--parse-message):
* test/lisp/erc/resources/erc-d/erc-d-t.el
(erc-d-t-kill-related-buffers, erc-d-t-with-cleanup):
* test/lisp/erc/resources/erc-d/erc-d-tests.el
(erc-d-i--parse-message--irc-parser-tests):
* test/lisp/erc/resources/erc-d/erc-d-u.el
(erc-d-u--read-exchange-slowly):
* test/lisp/erc/resources/erc-d/erc-d.el (erc-d--expire)
(erc-d--finalize-done, erc-d--command-handle-all):
* test/lisp/erc/resources/erc-scenarios-common.el
(erc-scenarios-common-with-cleanup):
* test/lisp/erc/resources/erc-tests-common.el
(erc-tests--common-display-message)
(erc-tests-common-create-subprocess):
* test/lisp/ibuffer-tests.el (ibuffer-test-Bug25058):
* test/lisp/international/mule-tests.el
(mule-cmds-tests--ucs-names-missing-names):
* test/lisp/progmodes/python-tests.el
(python-tests-get-shell-interpreter)
(python-tests--get-interpreter-info):
* test/lisp/progmodes/ruby-ts-mode-tests.el
(ruby-ts-resource-file):
* test/lisp/replace-tests.el (replace-tests-with-undo):
* test/src/emacs-tests.el (emacs-tests--seccomp-debug):
* test/src/process-tests.el (process-tests--emacs-command)
(process-tests--emacs-binary, process-tests--dump-file):
* test/src/treesit-tests.el (treesit--ert-test-defun-navigation):
Replace use of the now-obsolete if-let and when-let.
2024-10-24 08:50:07 +00:00
|
|
|
|
+++
|
|
|
|
|
** 'if-let' and 'when-let' are now obsolete.
|
|
|
|
|
Use 'if-let*', 'when-let*' and 'and-let*' instead.
|
|
|
|
|
|
|
|
|
|
This effectively obsoletes the old '(if-let (SYMBOL SOMETHING) ...)'
|
|
|
|
|
single binding syntax, which we'd kept only for backwards compatibility.
|
|
|
|
|
|
2024-11-07 21:57:35 +00:00
|
|
|
|
---
|
|
|
|
|
** The Eshell 'pwd' command now expands the directory name on all systems.
|
|
|
|
|
This ensures that user directories are properly expanded to their full
|
|
|
|
|
name. Previously, Eshell only did this for MS-Windows systems. To
|
|
|
|
|
restore the old behavior, you can set 'eshell-pwd-convert-function' to
|
|
|
|
|
'identity'.
|
|
|
|
|
|
2024-06-23 10:56:48 +00:00
|
|
|
|
|
|
|
|
|
* Lisp Changes in Emacs 31.1
|
|
|
|
|
|
2024-10-22 15:46:44 +00:00
|
|
|
|
---
|
|
|
|
|
** New function 'native-compile-directory'.
|
2024-10-23 07:00:45 +00:00
|
|
|
|
This function natively-compiles all Lisp files in a directory and in its
|
|
|
|
|
sub-directories, recursively, which were not already natively-compiled.
|
2024-10-22 15:46:44 +00:00
|
|
|
|
|
2024-11-02 04:58:07 +00:00
|
|
|
|
---
|
|
|
|
|
** New function 'color-blend'.
|
|
|
|
|
This function takes two RGB lists and optional ALPHA and returns an RGB
|
|
|
|
|
list whose elements are blended in linear space proportional to ALPHA.
|
|
|
|
|
|
2024-10-01 23:03:08 +00:00
|
|
|
|
+++
|
2024-10-13 13:40:07 +00:00
|
|
|
|
** The 'defcustom' ':local' keyword can now be 'permanent-only'.
|
2024-10-01 23:03:08 +00:00
|
|
|
|
This means that the variable's 'permanent-local' property is set to t,
|
|
|
|
|
without marking it as automatically buffer-local.
|
|
|
|
|
|
2024-09-28 20:04:19 +00:00
|
|
|
|
---
|
2024-09-29 14:24:42 +00:00
|
|
|
|
** The obsolete face attribute ':reverse-video' has been removed.
|
2024-09-28 20:04:19 +00:00
|
|
|
|
Use ':inverse-video' instead.
|
|
|
|
|
|
2024-07-09 11:16:43 +00:00
|
|
|
|
+++
|
2024-07-24 21:52:34 +00:00
|
|
|
|
** Support interactive D-Bus authorization.
|
2024-07-09 11:16:43 +00:00
|
|
|
|
A new ':authorizable t' parameter has been added to 'dbus-call-method'
|
|
|
|
|
and 'dbus-call-method-asynchronously' to allow the user to interactively
|
2024-07-24 21:52:34 +00:00
|
|
|
|
authorize the invoked D-Bus method (for example via polkit).
|
2024-07-09 11:16:43 +00:00
|
|
|
|
|
2024-07-24 21:48:05 +00:00
|
|
|
|
** The customization group 'wp' has been removed.
|
|
|
|
|
It has been obsolete since Emacs 26.1. Use the group 'text' instead.
|
|
|
|
|
|
2024-07-27 05:33:17 +00:00
|
|
|
|
** Tree-sitter changes
|
|
|
|
|
|
|
|
|
|
+++
|
|
|
|
|
*** Indirect buffers can have their own parser list.
|
|
|
|
|
Before, indirect buffers share their base buffer’s parser list and
|
|
|
|
|
parsers. Now they can have their own parser list.
|
|
|
|
|
|
|
|
|
|
+++
|
|
|
|
|
*** New variable 'treesit-language-remap-alist'.
|
|
|
|
|
This variable allows a user to remap one language into another, such
|
|
|
|
|
that creating a parser for language A actually creates a parser for
|
|
|
|
|
language B. By extension, any font-lock rules or indentation rules for
|
|
|
|
|
language A will be applied to language B instead.
|
|
|
|
|
|
|
|
|
|
This is useful for reusing font-lock rules and indentation rules of
|
|
|
|
|
language A for language B, when language B is a strict superset of
|
|
|
|
|
language A.
|
2024-07-28 03:48:38 +00:00
|
|
|
|
|
2024-09-16 06:32:51 +00:00
|
|
|
|
+++
|
|
|
|
|
*** New accessor functions for each setting in 'treesit-font-lock-settings'.
|
|
|
|
|
Now users can access a setting's query, feature, enable flag, and
|
|
|
|
|
override flag by 'treesit-font-lock-setting-query',
|
|
|
|
|
'treesit-font-lock-setting-feature', 'treesit-font-lock-setting-enable',
|
|
|
|
|
and 'treesit-font-lock-setting-override'.
|
|
|
|
|
|
2024-07-28 03:48:38 +00:00
|
|
|
|
+++
|
|
|
|
|
** New optional BUFFER argument for 'string-pixel-width'.
|
|
|
|
|
If supplied, 'string-pixel-width' will use any face remappings from
|
|
|
|
|
BUFFER when computing the string's width.
|
|
|
|
|
|
2024-08-22 14:56:11 +00:00
|
|
|
|
---
|
2024-09-11 15:42:24 +00:00
|
|
|
|
** New macro 'with-work-buffer'.
|
|
|
|
|
This macro is similar to the already existing macro 'with-temp-buffer',
|
2024-08-22 14:56:11 +00:00
|
|
|
|
except that it does not allocate a new temporary buffer on each call,
|
|
|
|
|
but tries to reuse those previously allocated (up to a number defined by
|
2024-09-11 15:42:24 +00:00
|
|
|
|
the new variable 'work-buffer-limit', which defaults to 10).
|
2024-08-22 14:56:11 +00:00
|
|
|
|
|
2024-08-14 11:57:16 +00:00
|
|
|
|
+++
|
2024-08-15 09:13:38 +00:00
|
|
|
|
** 'date-to-time' now defaults to local time.
|
2024-08-14 11:57:16 +00:00
|
|
|
|
The function now assumes local time instead of Universal Time when
|
|
|
|
|
its argument lacks explicit time zone information. This has been the
|
|
|
|
|
de-facto behavior since Emacs 24 although documentation said otherwise.
|
|
|
|
|
Also, the fallback on 'timezone-make-date-arpa-standard' has been
|
|
|
|
|
removed because its supported date styles can be handled by
|
2024-08-15 07:28:48 +00:00
|
|
|
|
'parse-time-string'. To restore the previously documented behavior,
|
|
|
|
|
specify "+0000" or "Z" as the time zone in the argument.
|
2024-08-14 11:57:16 +00:00
|
|
|
|
|
2024-08-25 07:24:35 +00:00
|
|
|
|
---
|
|
|
|
|
** The 'min-width' property is now supported for overlays as well.
|
|
|
|
|
This 'display' property was previously supported only as text property.
|
|
|
|
|
Now overlays can also have this property, with the same effect for the
|
|
|
|
|
text "covered" by the overlay.
|
|
|
|
|
|
2024-08-29 09:02:08 +00:00
|
|
|
|
+++
|
|
|
|
|
** New macro 'cond*'.
|
2024-10-26 02:26:06 +00:00
|
|
|
|
The new macro 'cond*' is an alternative to 'cond' and 'pcase'.
|
|
|
|
|
Like them, it can be used to define several clauses, each one with its
|
|
|
|
|
own condition; the first clause that matches will cause its body to be
|
|
|
|
|
evaluated.
|
|
|
|
|
'cond*' can use Pcase's pattern matching syntax and also provides
|
|
|
|
|
another pattern matching syntax that is different from that of 'pcase',
|
|
|
|
|
which some users might find less cryptic.
|
|
|
|
|
See the Info node "(elisp) cond* Macro" for details.
|
2024-08-29 09:02:08 +00:00
|
|
|
|
|
2024-10-02 07:23:06 +00:00
|
|
|
|
---
|
|
|
|
|
** New function 'shell-command-do-open'.
|
|
|
|
|
This lets a Lisp program access the core functionality of the
|
|
|
|
|
'dired-do-open' command. It opens a file or files using an external
|
|
|
|
|
program, choosing the program according to the operating system's
|
|
|
|
|
conventions.
|
|
|
|
|
|
2024-10-14 11:10:57 +00:00
|
|
|
|
+++
|
|
|
|
|
** 'make-vtable' can create an empty vtable.
|
|
|
|
|
It is now possible to create a vtable without data, by leaving the
|
|
|
|
|
':objects' list empty, or by providing a ':objects-function' that
|
|
|
|
|
(initially) produces no data. In such a case, it is necessary to
|
|
|
|
|
provide a ':columns' spec, so that the number of columns and their
|
|
|
|
|
widths can be determined. Columns widths can be set explicitly, or they
|
|
|
|
|
will be calculated based on the window width.
|
|
|
|
|
|
|
|
|
|
|
2024-06-23 10:56:48 +00:00
|
|
|
|
|
|
|
|
|
* Changes in Emacs 31.1 on Non-Free Operating Systems
|
|
|
|
|
|
2024-07-01 10:15:51 +00:00
|
|
|
|
---
|
|
|
|
|
** Process execution has been optimized on Android.
|
2024-07-25 11:38:27 +00:00
|
|
|
|
The run-time performance of subprocesses on recent Android releases,
|
|
|
|
|
where a userspace executable loader is required, has been optimized on
|
2024-08-15 11:59:43 +00:00
|
|
|
|
systems featuring Linux 3.5.0 and above.
|
2024-07-01 10:15:51 +00:00
|
|
|
|
|
2024-08-31 10:38:45 +00:00
|
|
|
|
---
|
2024-09-11 15:42:24 +00:00
|
|
|
|
** 'NSSpeechRecognitionUsageDescription' now included in "Info.plist" (macOS).
|
2024-08-31 10:38:45 +00:00
|
|
|
|
Should Emacs (or any built-in shell) invoke a process using macOS speech
|
|
|
|
|
recognition APIs, the relevant permission dialog is now displayed, thus
|
|
|
|
|
allowing Emacs users access to speech recognition utilities.
|
|
|
|
|
|
|
|
|
|
Note: Accepting this permission allows the use of system APIs, which may
|
|
|
|
|
send user data to Apple’s speech recognition servers.
|
|
|
|
|
|
2024-09-14 11:02:51 +00:00
|
|
|
|
---
|
|
|
|
|
** Emacs on MS-Windows now supports GUI dialogs and message boxes better.
|
|
|
|
|
In particular, it is now possible to show text with embedded newlines in
|
2024-09-14 12:42:15 +00:00
|
|
|
|
a dialog popped by 'message-box'. This is supported on Windows Vista
|
|
|
|
|
and later versions.
|
2024-09-14 11:02:51 +00:00
|
|
|
|
|
2024-09-27 21:58:02 +00:00
|
|
|
|
---
|
|
|
|
|
** Emacs on MS-Windows now supports drag-n-drop of text into a buffer.
|
2024-10-23 12:41:24 +00:00
|
|
|
|
This is in addition to drag-n-drop of files, that was already
|
2024-10-25 10:41:27 +00:00
|
|
|
|
supported. As on X, the user options 'dnd-scroll-margin' and
|
2024-10-23 12:41:24 +00:00
|
|
|
|
'dnd-indicate-insertion-point' can be used to customize the process.
|
2024-09-27 21:58:02 +00:00
|
|
|
|
|
Implement drawing text with DirectWrite on MS-Windows.
This adds support for color fonts.
* configure.ac: Add src/w32drite to W32_OBJ.
* src/w32dwrite.c: New file.
(w32-initialize-direct-write): New function, initialize the
DirectWrite library if it is available, and required global
variables.
(w32_use_direct_write): New function, check if DirectWrite
is available and activated by the user.
(w32_dwrite_encode_char): New function, replacement for HarfBuzz's
'encode_char'.
(w32_dwrite_text_extents): New function, replacement for w32font
text_extents.
(w32_dwrite_draw): New function, replacement for w32font draw.
(w32_dwrite_free_cached_face): New function, used in the font
deletion process to also delete DirectWrite data.
(verify_hr): New function, verify COM method results.
(release_com): New function, release a COM object.
(w32-dwrite-available): New function, returns true if DirectWrite
is available.
(w32-dwrite-reinit): New function, reinitialize DirectWrite,
optionally setting some rendering parameters.
* src/w32font.c (w32font_text_extents): If DirectWrite is enabled,
call 'w32_dwrite_text_extents'.
(w32font_draw): If DirectWrite is enabled, call 'w32_dwrite_draw'.
* src/w32uniscribe.c: (w32hb_encode_char): If DirectWrite is enabled,
call 'w32_dwrite_encode_char'.
(syms_of_w32uniscribe_for_pdumper): Initialize DirectWrite.
(uniscribe_close): Free DirectWrite data for the font.
Bug#73730
2024-10-09 09:40:28 +00:00
|
|
|
|
---
|
|
|
|
|
** Emacs on MS-Windows now supports color fonts.
|
|
|
|
|
On Windows 8.1 and later versions Emacs now uses DirectWrite to draw
|
|
|
|
|
text, which supports color fonts. This can be disabled by setting the
|
|
|
|
|
variable 'w32-inhibit-dwrite' to t. Also see 'w32-dwrite-available' and
|
2024-10-25 11:36:41 +00:00
|
|
|
|
'w32-dwrite-reinit' to check availability and to configure the
|
|
|
|
|
DirectWrite rendering parameters.
|
|
|
|
|
|
2024-11-09 09:29:42 +00:00
|
|
|
|
To show color Emojis in Emacs, customize the default fontset to use a
|
2024-10-25 11:36:41 +00:00
|
|
|
|
color Emoji font installed on your system for the 'emoji' script.
|
Implement drawing text with DirectWrite on MS-Windows.
This adds support for color fonts.
* configure.ac: Add src/w32drite to W32_OBJ.
* src/w32dwrite.c: New file.
(w32-initialize-direct-write): New function, initialize the
DirectWrite library if it is available, and required global
variables.
(w32_use_direct_write): New function, check if DirectWrite
is available and activated by the user.
(w32_dwrite_encode_char): New function, replacement for HarfBuzz's
'encode_char'.
(w32_dwrite_text_extents): New function, replacement for w32font
text_extents.
(w32_dwrite_draw): New function, replacement for w32font draw.
(w32_dwrite_free_cached_face): New function, used in the font
deletion process to also delete DirectWrite data.
(verify_hr): New function, verify COM method results.
(release_com): New function, release a COM object.
(w32-dwrite-available): New function, returns true if DirectWrite
is available.
(w32-dwrite-reinit): New function, reinitialize DirectWrite,
optionally setting some rendering parameters.
* src/w32font.c (w32font_text_extents): If DirectWrite is enabled,
call 'w32_dwrite_text_extents'.
(w32font_draw): If DirectWrite is enabled, call 'w32_dwrite_draw'.
* src/w32uniscribe.c: (w32hb_encode_char): If DirectWrite is enabled,
call 'w32_dwrite_encode_char'.
(syms_of_w32uniscribe_for_pdumper): Initialize DirectWrite.
(uniscribe_close): Free DirectWrite data for the font.
Bug#73730
2024-10-09 09:40:28 +00:00
|
|
|
|
|
Add support for 'yank-media' on MS-Windows
Adds the capacity to handle types different from strings to the
clipboard management functions on MS-Windows, and some logic
required to convert media types names and content to be what
yank-media and the modes that use it expect (bug#71909).
* lisp/term/w32-win.el (w32--selection-target-translations): New
variable that holds the name translations for media types.
(w32--translate-selection-target): New function, translate the
name of a media type.
(w32--translate-reverse-selection-target): New function, reverse
translation.
(w32--get-selection): Modified to translate target names when
asked for targets, and retrieve media types when asked for them.
(w32--mime-type-textual-p): New function, checks if a MIME type
is textual.
* lisp/textmodes/sgml-mode.el (html-mode--image-yank-handler):
Fixed the image save mechanism, that added line feed characters
on MS-Windows, breaking binary formats.
* src/w32image.c (gdiplus_init): Modified to fetch more
functions fromm gdiplus.
(get_encoder_clsid): Renamed to 'w32_gdip_get_encoder_clsid'
and made nonstatic.
(gdiplus_startup): Renamed to 'w32_gdiplus_startup' and
made nonstatic.
* src/w32select.c (stdfmt_name): Made global, was static
function.
(convert_dibv5_to_png): New function to convert DIBV5 clipboard
format to PNG.
(get_clipboard_format_name): New function get the name of a
format given its index.
(Fw32__get_clipboard_data_media): New function, retrieves and
converts media content.
(syms_of_w32select): Export new lisp functions.
* src/w32gdiplus.h: New file, for definitions in w32image.c
* doc/lispref/frames.texi: Updated with MS-Windows support.
* etc/NEWS: Added entry about new feature.
2024-10-28 21:18:13 +00:00
|
|
|
|
+++
|
|
|
|
|
** Emacs on MS-Windows now supports 'yank-media'.
|
|
|
|
|
This command inserts clipboard data of different formats into the
|
2024-11-05 12:29:02 +00:00
|
|
|
|
current buffer, if the major mode supports it. (Support for
|
|
|
|
|
'yank-media' will be unavailable on MS-Windows if Emacs was configured
|
|
|
|
|
'--without-native-image-api'.)
|
Add support for 'yank-media' on MS-Windows
Adds the capacity to handle types different from strings to the
clipboard management functions on MS-Windows, and some logic
required to convert media types names and content to be what
yank-media and the modes that use it expect (bug#71909).
* lisp/term/w32-win.el (w32--selection-target-translations): New
variable that holds the name translations for media types.
(w32--translate-selection-target): New function, translate the
name of a media type.
(w32--translate-reverse-selection-target): New function, reverse
translation.
(w32--get-selection): Modified to translate target names when
asked for targets, and retrieve media types when asked for them.
(w32--mime-type-textual-p): New function, checks if a MIME type
is textual.
* lisp/textmodes/sgml-mode.el (html-mode--image-yank-handler):
Fixed the image save mechanism, that added line feed characters
on MS-Windows, breaking binary formats.
* src/w32image.c (gdiplus_init): Modified to fetch more
functions fromm gdiplus.
(get_encoder_clsid): Renamed to 'w32_gdip_get_encoder_clsid'
and made nonstatic.
(gdiplus_startup): Renamed to 'w32_gdiplus_startup' and
made nonstatic.
* src/w32select.c (stdfmt_name): Made global, was static
function.
(convert_dibv5_to_png): New function to convert DIBV5 clipboard
format to PNG.
(get_clipboard_format_name): New function get the name of a
format given its index.
(Fw32__get_clipboard_data_media): New function, retrieves and
converts media content.
(syms_of_w32select): Export new lisp functions.
* src/w32gdiplus.h: New file, for definitions in w32image.c
* doc/lispref/frames.texi: Updated with MS-Windows support.
* etc/NEWS: Added entry about new feature.
2024-10-28 21:18:13 +00:00
|
|
|
|
|
2024-11-04 17:58:40 +00:00
|
|
|
|
---
|
2024-11-05 12:40:13 +00:00
|
|
|
|
** Images on MS-Windows now support the ':transform-smoothing' flag.
|
|
|
|
|
Transformed images are smoothed using the bilinear interpolation by
|
|
|
|
|
means of the GDI+ library.
|
Add support for 'yank-media' on MS-Windows
Adds the capacity to handle types different from strings to the
clipboard management functions on MS-Windows, and some logic
required to convert media types names and content to be what
yank-media and the modes that use it expect (bug#71909).
* lisp/term/w32-win.el (w32--selection-target-translations): New
variable that holds the name translations for media types.
(w32--translate-selection-target): New function, translate the
name of a media type.
(w32--translate-reverse-selection-target): New function, reverse
translation.
(w32--get-selection): Modified to translate target names when
asked for targets, and retrieve media types when asked for them.
(w32--mime-type-textual-p): New function, checks if a MIME type
is textual.
* lisp/textmodes/sgml-mode.el (html-mode--image-yank-handler):
Fixed the image save mechanism, that added line feed characters
on MS-Windows, breaking binary formats.
* src/w32image.c (gdiplus_init): Modified to fetch more
functions fromm gdiplus.
(get_encoder_clsid): Renamed to 'w32_gdip_get_encoder_clsid'
and made nonstatic.
(gdiplus_startup): Renamed to 'w32_gdiplus_startup' and
made nonstatic.
* src/w32select.c (stdfmt_name): Made global, was static
function.
(convert_dibv5_to_png): New function to convert DIBV5 clipboard
format to PNG.
(get_clipboard_format_name): New function get the name of a
format given its index.
(Fw32__get_clipboard_data_media): New function, retrieves and
converts media content.
(syms_of_w32select): Export new lisp functions.
* src/w32gdiplus.h: New file, for definitions in w32image.c
* doc/lispref/frames.texi: Updated with MS-Windows support.
* etc/NEWS: Added entry about new feature.
2024-10-28 21:18:13 +00:00
|
|
|
|
|
2024-06-23 10:56:48 +00:00
|
|
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
This file is part of GNU Emacs.
|
|
|
|
|
|
|
|
|
|
GNU Emacs is free software: you can redistribute it and/or modify
|
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
|
|
GNU Emacs is distributed in the hope that it will be useful,
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
|
along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Local variables:
|
|
|
|
|
coding: utf-8
|
|
|
|
|
mode: outline
|
|
|
|
|
mode: emacs-news
|
|
|
|
|
paragraph-separate: "[ ]"
|
|
|
|
|
end:
|