# Changes in Specialized Modes and Packages in Emacs 27.1

## 5 Changes in Specialized Modes and Packages in Emacs 27.1

### 5.1 New HTML mode skeleton html-id-anchor.

This new command (which inserts an <a >_</a> skeleton) is bound to 'C-c C-c #'.

### 5.2 New command font-lock-refontify.

This is an interactive convenience function to be used when developing font locking for a mode. It recomputes the font locking data and then re-fontifies the buffer.

### 5.3 Font Lock is smarter about fontifying unterminated strings and comments.

When you type a quote that starts a string, or a comment delimiter that starts a comment, font-lock will not immediately refontify the following characters in font-lock-string-face or font-lock-comment-face. Instead, it will delay the fontification beyond the current line to give you a chance to close the string or comment. This is controlled by the new user option jit-lock-antiblink-grace, which specifies the delay in seconds. The default is 2 seconds; set to nil to get back the old behavior.

### 5.4 The C command in tar-mode will now preserve the timestamp of

the extracted file if the new user option tar-copy-preserve-time is non-nil.

### 5.5autoconf-mode is now used instead of m4-mode for the

acinclude.m4 / aclocal.m4 / acsite.m4 files.

### 5.6 On GNU/Linux, 'M-x battery' will now list all batteries, no matter

what they're named, and the battery-linux-sysfs-regexp variable has been removed.

### 5.7 The list-processes command now includes port numbers in the

network connection information (in addition to the host name).

### 5.9 desktop

#### 5.9.1 When called interactively with a prefix arg C-u, desktop-read

now prompts the user for the directory containing the desktop file.

### 5.10 display-line-numbers-mode

#### 5.10.1 New faces line-number-major-tick and line-number-minor-tick,

and user options display-line-numbers-major-tick and display-line-numbers-minor-tick can be used to highlight the line numbers of lines multiple of certain numbers.

#### 5.10.2 New variable display-line-numbers-offset, when non-zero, adds

an offset to absolute line numbers.

### 5.12 table

#### 5.12.1table-generate-source now supports wiki and mediawiki.

This command can now output wiki and mediawiki format tables.

### 5.13 telnet-mode

#### 5.14.1 A way to more conveniently specify what URI address schemes should

be ignored has been added via the goto-address-uri-schemes-ignored variable.

### 5.15 tex-mode

#### 5.15.1latex-noindent-commands controls indentation of certain commands.

You can use this new user option to control indentation of arguments of \emph, \footnote, and similar commands.

### 5.16 byte compiler

#### 5.16.1byte-compile-dynamic is now obsolete.

This is because on the one hand it suffers from misbehavior in corner cases that have plagued it for years, and on the other hand experience indicates that it doesn't bring any measurable benefit.

#### 5.16.2 The g keystroke in "Compile-Log" buffers has been bound to a

new command that will recompile the file previously compiled with 'M-x byte-compile-file' and the like.

### 5.17 compile.el

be functions.

#### 5.17.2compilation-context-lines can now take the value t; this is like

nil, but instead of scrolling the current line to the top of the screen when there is no left fringe, it inserts a visible arrow before column zero.

#### 5.17.3 The new compilation-transform-file-match-alist user option can

be used to transform file name matches compilation output, and remove known false positives being recognized as warnings/errors.

its functions.

### 5.19 doc-view.el

#### 5.19.3 A new user option doc-view-pdftotext-program-args has been added

to allow controlling how the conversion to text is done.

#### 5.19.4 The prefix key s was changed to c for slicing commands

to avoid conflicts with image-mode key s. The new key c still has good mnemonics of "cut", "clip", "crop".

### 5.20 Ido

#### 5.20.1 New user option ido-big-directories to mark directories whose

names match certain regular expressions as big. Ido won't attempt to list the contents of such directories when completing file names.

### 5.21 Minibuffer

#### 5.21.1 New user option minibuffer-beginning-of-buffer-movement.

This option allows control of how the 'M-<' command works in the minibuffer. If non-nil, point will move to the end of the prompt (if point is after the end of the prompt). The default is nil, which preserves the original behavior of 'M-<' moving to the beginning of the prompt.

#### 5.21.2 When the minibuffer is active, echo-area messages are displayed at

the end of the minibuffer instead of hiding the minibuffer by the echo area display. The new user option minibuffer-message-clear-timeout controls how messages displayed in this situation are removed from the minibuffer. To revert to previous behavior, where echo-area messages temporarily overwrote the minibuffer contents until the user typed something, set set-message-function and clear-message-function to nil.

#### 5.21.3 Minibuffer now uses minibuffer-message to display error messages

at the end of the active minibuffer. To disable this, remove minibuffer-error-initialize from minibuffer-setup-hook.

#### 5.21.5 Some commands that previously used read-char-choice now read

a character using the minibuffer by read-char-from-minibuffer.

### 5.23 seq.el

New convenience functions seq-first and seq-rest give easy access to respectively the first and all but the first elements of sequences.

The new predicate function seq-contains-p should be used instead of the now obsolete seq-contains.

In the current follow group of windows, "ghost" cursors are no longer displayed in the non-selected follow windows. To get the old behavior back, customize follow-hide-ghost-cursors to nil.

### 5.26 Windmove

#### 5.26.1windmove-create-window when non-nil makes a new window.

This happens upon moving off the edge of the frame.

#### 5.26.2 Windmove supports directional window display and selection.

The new command windmove-display-default-keybindings binds default keys with provided modifiers (by default, Shift-Meta) to the commands that display the next buffer in the window at the specified direction. This is like windmove-default-keybindings that binds keys to commands that select the window in the specified direction, but additionally it displays the buffer from the next command in that window. For example, 'S-M-right C-h i' displays the "Info" buffer in the right window, creating the window if necessary. A special key can be customized to display the buffer in the same window, for example, 'S-M-0 C-h e' displays the "Messages" buffer in the same window. 'S-M-t C-h r' displays the Emacs manual in a new tab.

#### 5.26.3 Windmove also supports directional window deletion.

The new command windmove-delete-default-keybindings binds default keys with provided prefix (by default, C-x) and modifiers (by default, Shift) to the commands that delete the window in the specified direction. For example, 'C-x S-down' deletes the window below. With a prefix arg C-u, also kills the buffer in that window. With M-0, deletes the selected window and selects the window that was in the specified direction.

#### 5.26.4 New command windmove-swap-states-in-direction binds default keys

to the commands that swap the states of the selected window with the window in the specified direction.

#### 5.26.5 Windmove code no longer used is now obsolete.

That includes the user option windmove-window-distance-delta and the functions windmove-coord-add, windmove-constrain-to-range, windmove-constrain-around-range, windmove-frame-edges, windmove-constrain-loc-for-movement, windmove-wrap-loc-for-movement, windmove-reference-loc and windmove-other-window-loc.

### 5.27 Octave mode

The mode is automatically enabled in files that start with the function keyword.

### 5.29 Etags

#### 5.29.2tags-loop-revert-buffers is an obsolete alias of

fileloop-revert-buffers.

#### 5.29.3 The tags-loop-continue function along with the

tags-loop-operate and tags-loop-scan variables are now obsolete; use the new fileloop-initialize and fileloop-continue functions instead.

### 5.30 bibtex

#### 5.30.1 New commands bibtex-next-entry and bibtex-previous-entry.

In bibtex-mode-map, forward-paragraph and backward-paragraph are remapped to these, respectively.

### 5.31 Dired

#### 5.31.2 New command dired-number-of-marked-files.

It is by default bound to '* N'.

#### 5.31.3 The marking commands now report how many files were marked by the

command itself, not how many files are marked in total.

#### 5.31.4 The new user option dired-create-destination-dirs controls whether

dired-do-copy and dired-rename-file should create non-existent directories in the destination.

#### 5.31.5dired-dwim-target can be customized to prefer either the next window,

or one of the most recently visited windows with a Dired buffer.

#### 5.31.6 When the new user option dired-vc-rename-file is non-nil,

Dired performs file renaming using underlying version control system.

#### 5.31.7 Zstandard compression is now supported for dired-do-compress and

dired-do-compress-to.

#### 5.31.8 On systems that support suid/guid files, Dired now fontifies the

permissions of such files with a special face dired-set-id.

#### 5.31.9 A new face, dired-special, is used to highlight sockets, named

pipes, block devices and character devices.

### 5.32 Find-Dired

#### 5.32.1 New user option find-dired-refine-function.

The default value is find-dired-sort-by-filename.

### 5.33 Change Logs and VC

#### 5.33.1 New user option vc-tor.

When non-nil, this user option causes the VC commands to communicate with the repository via Tor's proxy, using the torsocks wrapper script. The default is nil.

#### 5.33.2 New command log-edit-generate-changelog-from-diff, bound to 'C-c C-w'.

This generates ChangeLog entries from the VC fileset diff.

#### 5.33.3 Recording ChangeLog entries doesn't require an actual file.

If a ChangeLog file doesn't exist, and if the new user option add-log-dont-create-changelog-file is non-nil (which is the default), commands such as 'C-x 4 a' will add log entries to a suitable named temporary buffer. (An existing ChangeLog file will still be used if it exists.) Set the user option to nil to get the previous behavior of always creating a buffer that visits a ChangeLog file.

#### 5.33.4 The new d command (vc-dir-clean-files) in vc-dir-mode

buffers will delete the marked files (or if no files are marked, the file under point). This command does not notify the VC backend, and is mostly useful for unregistered files.

#### 5.33.6 New user option vc-git-grep-template.

This new user option allows customizing the default arguments passed to git-grep when vc-git-grep is used.

#### 5.33.7 Command vc-git-stash now respects marks in the "vc-dir" buffer.

When some files are marked, only those are stashed. When no files are marked, all modified files are stashed, as before.

#### 5.33.8vc-dir now shows a button allowing you to hide the stash list.

Controlled by user option vc-git-show-stash. Default t means show the entire list as before. An integer value limits the list length (but still allows you to show the entire list via the button).

#### 5.33.10 Some stash keybindings are now available in the stash button.

vc-git-stash and vc-git-stash-snapshot can now be run using C and S respectively, including when there are no stashes.

#### 5.33.12vc-hg now invokes smerge-mode when visiting files.

Code that attempted to invoke smerge-mode when visiting an Hg file with conflicts existed in earlier versions of Emacs, but incorrectly never detected a conflict due to invalid assumptions about cached values.

#### 5.33.13 The Hg (Mercurial) back-end now supports vc-region-history.

The 'C-x v h' command now works in buffers that visit files controlled by Hg.

#### 5.33.14 The Hg (Mercurial) back-end now prompts for revision to merge when

you invoke 'C-x v m' (vc-merge).

#### 5.33.15 The Hg (Mercurial) back-end now uses tags, branches and bookmarks

instead of revision numbers as completion candidates when it prompts for a revision.

#### 5.33.16 New user option vc-hg-revert-switches.

It specifies switches to pass to Hg's revert command.

#### 5.33.17 'C-u C-x v D' (vc-root-version-diff) prompts for two revisions

and compares their entire trees.

#### 5.33.18 'C-x v M D' (vc-diff-mergebase) and 'C-x v M L' (vc-log-mergebase)

print diffs and logs between the merge base (common ancestor) of two given revisions.

#### 5.33.19 New command vc-log-search asks for a pattern, searches it

in the revision log, and displays matched log entries in the log buffer. For example, 'M-x vc-log-search RET bug#36644 RET' displays all entries whose log messages match the bug number. With a prefix argument asks for a command, so for example, 'C-u M-x vc-log-search RET git log -1 f302475 RET' will display just one log entry found by its revision number.

#### 5.33.20 It is now possible to display a specific revision given by its ID.

If you invoke 'C-x v L' (vc-print-root-log) with a numeric argument of 1, as in 'C-1 C-x v L' or 'C-u 1 C-x v L', it asks for a revision ID, and shows its log entry together with the diffs introduced by the revision's commit. (For some less capable VCSes, only the log entry is shown.)

#### 5.33.21 New user option vc-find-revision-no-save.

With non-nil, vc-find-revision doesn't write the created buffer to file.

#### 5.33.22 'C-x v =' can now mimic Magit's diff format.

Set the new user option diff-font-lock-prettify to t for that, see below under "Diff mode".

#### 5.33.23 The diff function arguments OLD and NEW may each be a buffer

rather than a file, in non-interactive calls. This change was made in Emacs 24.1, but wasn't documented until now.

### 5.34 Diff mode

#### 5.34.1 Hunks are now automatically refined by font-lock.

To disable refinement, set the new user option diff-refine to nil. To get back the old behavior where hunks are refined as you navigate through a diff, set diff-refine to the symbol navigate.

#### 5.34.2diff-auto-refine-mode is deprecated in favor of diff-refine.

It is no longer enabled by default and binding it no longer has any effect.

#### 5.34.3 Better syntax highlighting of Diff hunks.

Fragments of source in Diff hunks are now by default highlighted according to the appropriate major mode. Customize the new user option diff-font-lock-syntax to nil to disable this.

#### 5.34.4 File headers can be shortened, mimicking Magit's diff format.

To enable it, set the new user option diff-font-lock-prettify to t. On GUI frames, this option also displays the insertion and deletion indicators on the left fringe.

#### 5.34.5 Prefix arg of diff-goto-source means jump to the old revision

of the file under version control if point is on an old changed line, or to the new revision of the file otherwise.

### 5.35 Texinfo

#### 5.35.1 New function for inserting '@pxref', '@xref', or '@ref' commands.

The function 'texinfo-insert-dwim-@ref', bound to 'C-c C-c r' by default, inserts one of three types of references based on the text surrounding point, namely '@pxref' near a parenthesis, '@xref' at the start of a sentence or at '(point-min)', else '@ref'.

### 5.36 Browse-url

#### 5.36.1 The function browse-url-emacs can now visit a URL in selected window.

It now treats the optional 2nd argument to mean that the URL should be shown in the currently selected window.

#### 5.36.2 A new function, browse-url-add-buttons can be used to add clickable

links to most ordinary special-mode buffers that display text that have URLs embedded. browse-url-button-regexp controls what's considered a button.

#### 5.36.3 New user option browse-url-secondary-browser-function.

It can be set to a function that invokes an alternative browser.

### 5.37 Comint

#### 5.37.1send-invisible is now an obsolete alias for comint-send-invisible.

Also, shell-strip-ctrl-m is declared obsolete.

#### 5.37.2 'C-c .' (comint-insert-previous-argument) no longer interprets '&'.

This feature caused problems when '&&' was present in the previous command. Since this command emulates 'M-.' in Bash and zsh, neither of which treats '&' specially, the feature was removed for compatibility with these shells.

#### 5.37.3comint-insert-previous-argument can now count arguments from the end.

By default, invoking 'C-c .' with a numeric argument N would copy the Nth argument, counting from the first one. But if the new user option comint-insert-previous-argument-from-end is non-nil, it will copy the Nth argument counting from the last one. Thus 'C-c .' can now better emulate 'M-.' in both Bash and zsh, since the former counts from the beginning of the arguments, while the latter counts from the end.

#### 5.37.4comint-run can now accept a list of switches to pass to the program.

'C-u M-x comint-run' will prompt for the switches interactively.

This hook permits a derived mode to supply a password for the underlying command interpreter without prompting the user. For example, in sql-mode, the password for connecting to the database may be stored in the connection wallet and may be passed on the command line to start the SQL interpreter. This is a potential security flaw that could expose user's database passwords on the command line through the use of a process list (Bug#8427). With this hook, it is possible to not pass the password on the command line and wait for the program to prompt for the password. When it does so, the password can be supplied to the SQL interpreter without involving the user just as if it had been supplied on the command line.

### 5.38 SQL

#### 5.38.1 SQL Indent Minor Mode

SQL Mode now supports the ELPA sql-indent package for assisting sophisticated SQL indenting rules. Note, however, that SQL is not like other programming languages like C, Java, or Python where code is sparse and rules for formatting are fairly well established. Instead SQL is more like COBOL (from which it came) and code tends to be very dense and line ending decisions driven by syntax and line length considerations to make readable code. Experienced SQL developers may prefer to rely upon existing Emacs facilities for formatting code but the sql-indent package provides facilities to aid more casual SQL developers layout queries and complex expressions.

1. sql-use-indent-support (default t) enables SQL indention support.

The sql-indent package from ELPA must be installed to get the indentation support in sql-mode and sql-interactive-mode.

2. sql-mode-hook and sql-interactive-mode-hook changed.

Both hook variables have had sql-indent-enable added to their default values. If you have existing customizations to these variables, you should make sure that the new default entry is included.

#### 5.38.2 Connection Wallet

Database passwords can now by stored in NETRC or JSON data files that may optionally be encrypted. When establishing an interactive session with the database via sql-connect or a product specific function, like sql-mysql or sql-postgres, the password wallet will be searched for the password. The sql-product, sql-server, sql-database, and the sql-username will be used to identify the appropriate authorization. This eliminates the discouraged practice of embedding database passwords in your Emacs initialization.

See the auth-source module for complete documentation on the file formats. By default, the wallet file is expected to be in the user-emacs-directory, named sql-wallet or .sql-wallet, with .json (JSON) or no (NETRC) suffix. Both file formats can optionally be encrypted with GPG by adding an additional .gpg suffix.

### 5.39 Term

#### 5.39.2serial-term now takes an optional parameter to leave the

emulator in line mode.

### 5.40 Flymake

#### 5.40.1 The variable flymake-diagnostic-types-alist is obsolete.

You should instead set properties on known diagnostic symbols, like ':error' and ':warning', as demonstrated in the Flymake manual.

#### 5.40.2 New user option flymake-start-on-save-buffer.

Control whether Flymake starts checking the buffer on save.

#### 5.40.3 Flymake and backend functions may exchange hints about buffer changes.

This enables more efficient backends. See the docstring of flymake-diagnostic-functions or the Flymake manual for details.

#### 5.40.4flymake-start-syntax-check-on-newline is now obsolete,

use post-self-insert-hook to check on newline.

### 5.41 Ruby

#### 5.41.1 The Rubocop Flymake diagnostic function will only run Lint cops if

it can't find the config file.

### 5.42 Package

#### 5.42.1 Warn if "footer line" is missing, but still install package.

package.el used to refuse to install a package without the so-called "footer line", which appears at the very end of the file:

;;; FILENAME ends here

package.el will now install packages without this line, but it will issue a warning. To avoid this warning, packages should keep the "footer line".

Note that versions of Emacs older than 27.1 will not only refuse to install packages without such a line – they will be unable to parse package data. It is therefore recommended to keep this line.

#### 5.42.2 Change of package-check-signature for packages with multiple sigs.

In previous Emacsen, t checked that all signatures are valid. Now t only checks that at least one signature is valid and the new all value needs to be used if you want to enforce that all signatures are valid. This only affects packages with multiple signatures.

#### 5.42.3 The meaning of allow-unsigned in package-check-signature has

changed slightly: If a usable OpenPGP configuration can't be found (for instance, if gpg isn't installed), it now has the same meaning as nil.

#### 5.42.4 New function package-get-version lets packages query their own version.

Example use in auctex.el: '(defconst auctex-version (package-get-version))'

#### 5.42.5 New package-quickstart feature.

When package-quickstart is non-nil, package.el precomputes a big autoloads file so that activation of packages can be done much faster, which can speed up your startup significantly. It also causes user options like package-user-dir and package-load-list to be consulted when package-quickstart-refresh is run rather than at startup so you don't need to set them in your early init file.

#### 5.42.7 New functions for filtering packages list.

A new function has been added which allows users to filter the packages list by name: package-menu-filter-by-name. By default, it is bound to '/ n'. Additionally, the function package-menu-filter-by-keyword has been renamed from package-menu-filter. Its keybinding has also been changed to '/ k' (from f). To clear any of the two filters, the user can now call the package-menu-clear-filter function, bound to '/ /' by default.

#### 5.42.10 In Package Menu, g now updates package data from archives.

Previously, g invoked tabulated-list-revert which did not update the cached archive data. It is now bound to revert-buffer, which will update the data.

package-menu-refresh is an obsolete alias for revert-buffer.

### 5.43 Info

#### 5.43.1 Clicking on the left/right arrow icon in the Info tool-bar while

holding down the Ctrl key pops up a menu of previously visited Info nodes where you can select a node to go back (like in browsers).

#### 5.43.2 Info can now follow 'file://' protocol URLs.

The 'file://' URLs in Info documents can now be followed by passing them to the browse-url function, like the other protocols: ftp, http, and https. This allows having references to local HTML files, for example.

### 5.44 Display of man pages now limits the width for formatting pages.

The new user option Man-width-max (80 by default) limits the number of columns passed to the man program for formatting man pages. This is to enhance readability when man pages are displayed in very wide windows (which are customary with today's large displays).

### 5.45 Xref

#### 5.45.1 New command xref-find-definitions-at-mouse.

This command finds definitions of the identifier at the place of a mouse click event, and is intended to be bound to a mouse event.

#### 5.45.2 Changing xref-marker-ring-length works after xref.el is loaded.

Previously, setting xref-marker-ring-length would only take effect if set before xref.el was loaded.

#### 5.45.3xref-find-definitions now sets the mark at the buffer position

where it was invoked.

#### 5.45.5 New user option xref-show-definitions-function.

It encapsulates the logic pertinent to showing the result of xref-find-definitions. The user can change it to customize its behavior and the display of results.

#### 5.45.6 Search results show the buffer even for one hit.

The search-type Xref commands (e.g. xref-find-references or project-find-regexp) now show the results buffer even when there is only one hit. This can be altered by changing xref-show-xrefs-function.

#### 5.45.7 Xref buffers support refreshing the search results.

A new command xref-revert-buffer is bound to g.

#### 5.45.9 New generic method xref-backend-identifier-completion-ignore-case.

Using it, the etags backend now honors tags-case-fold-search during identifier completion.

### 5.46 Checkdoc

#### 5.46.1 Checkdoc can now optionally spell-check doc strings.

Invoking checkdoc-buffer with a non-nil TAKE-NOTES argument (interactively, with a prefix arg) will now spell-check the doc strings and report all the spelling mistakes.

### 5.47 Icomplete

#### 5.47.1 New minor mode Fido mode.

This mode is based on Icomplete, and its name stands for "Fake Ido". The point of this mode is to be an ido-mode workalike, providing most of the functionality present in ido-mode that is not in Icomplete, which is much more compatible with all of Emacs's completion facilities.

### 5.48 Ecomplete

#### 5.48.1 The Ecomplete sorting has changed to a decay-based algorithm.

This can be controlled by the new ecomplete-sort-predicate user option.

#### 5.48.2 The ecomplete-database-file file is now placed in

~/.emacs.d/ecompleterc by default. Of course it will still find it if you have it in ~/.ecompleterc.

### 5.49 Gnus

#### 5.49.1mm-uu-diff-groups-regexp now defaults to matching all groups,

which means that "git am" diffs are recognized everywhere.

#### 5.49.2 Two new Gnus summary mode navigation commands have been added,

bound to the '[' and ']' keys: gnus-summary-prev-unseen-article and gnus-summary-next-unseen-article. These take you (respectively) to the previous unseen or next unseen article. (These are the ones that are marked with . in the summary mode lines.)

#### 5.49.3 The Gnus user variable nnimap-expunge supports three new values:

never for never expunging messages, immediately for immediately expunging deleted messages, and on-exit to expunge deleted articles when exiting the group's summary buffer. Setting nnimap-expunge to nil or t is still supported but not recommended, since it may result in Gnus expunging all messages that have been flagged as deleted by any IMAP client (rather than just those that have been deleted by Gnus).

#### 5.49.4 New user option gnus-use-atomic-windows makes Gnus window layouts atomic.

See the "(elisp) Atomic Windows" node of the Elisp manual for details.

#### 5.49.5 There's a new value for gnus-article-date-headers,

combined-local-lapsed, which will show both the time (in the local timezone) and the lapsed time.

#### 5.49.6 Gnus now maps imaps to 993 only on old MS-Windows versions.

The nnimap backend used to do this unconditionally to work around problems on old versions of MS-Windows. This is now done only for Windows XP and older.

#### 5.49.7 The nnimap backend now has support for IMAP namespaces.

This feature can be enabled by setting the new nnimap-use-namespaces server variable to non-nil.

#### 5.49.8 A prefix argument to gnus-summary-limit-to-score will limit in reverse.

Limit to articles with score "at or below" the SCORE argument rather than "at or above".

#### 5.49.9 The function gnus-score-find-favorite-words has been renamed

from gnus-score-find-favourite-words.

#### 5.49.10 Gmane has been removed as an nnir backend, since Gmane no longer

has a search engine.

#### 5.49.11 Splitting mail on common mailing list headers has been added.

See the concept index in the Gnus manual for the match-list entry.

#### 5.49.13 The default value of mm-inline-large-images has changed from nil

to resize, which means that large images will be resized instead of displayed with an external program by default.

#### 5.49.14 A new Gnus summary mode command, 'S A' (gnus-summary-attach-article)

can be used to attach the current article(s) to a pre-existing Message buffer, or create a new Message buffer with the article(s) attached.

#### 5.49.15 A new Gnus summary mode command, w (gnus-summary-browse-url)

scans the article buffer for URLs, and offers them to the user to open with browse-url.

#### 5.49.16 New user option nnir-notmuch-filter-group-names-function.

This option controls whether and how to use Gnus search groups as 'path:' search terms to notmuch.

#### 5.49.17 The buttons in the Gnus article buffer were formerly widgets

(i.e., buttons from widget.el). This has now changed, and they are now buttons (from button.el), and commands like TAB now search for buttons instead of widgets. There should be no user-visible changes, but out-of-tree code that relied on widgets being present might now fail.

### 5.50 erc

#### 5.50.1 New hook erc-insert-done-hook.

This hook is called after strings have been inserted into the buffer, and is free to alter point and window configurations, as it's not called from inside a save-excursion, as opposed to erc-insert-post-hook.

#### 5.50.2erc-button-google-url has been renamed to erc-button-search-url

and its value has been changed to Duck Duck Go.

#### 5.50.3erc-send-pre-hook and erc-send-this have been obsoleted.

The user option to use instead to alter text to be sent is now erc-pre-send-functions.

#### 5.50.4 Improve matching/highlighting of nicknames.

Open and close parenthesis and apostrophe are not considered valid nick characters anymore, matching the given grammar in RFC 2812 section 2.3.1. This enables correct matching and highlighting of nicks when they are surrounded by parentheses, like "(nick)", and when adjacent to an apostrophe, like "nick's".

#### 5.50.5 Set erc-button-url-regexp to browse-url-button-regexp

which better handles surrounding pair of parentheses.

#### 5.50.6 New function erc-switch-to-buffer-other-window

which is like erc-switch-to-buffer, but opens the buffer in another window.

#### 5.50.7 New function erc-track-switch-buffer-other-window

which is like erc-track-switch-buffer, but opens the buffer in another window.

### 5.52 eww/shr

#### 5.52.1 The new user option shr-cookie-policy can be used to control

when to use cookies when fetching embedded images. The default is to use them when the images are from the same domain as the main HTML document.

#### 5.52.2 The eww command can now create a new EWW buffer.

Invoking the command with a prefix argument will cause it to create a new EWW buffer for the URL instead of reusing the default one.

#### 5.52.3 Clicking with the Ctrl key or 'C-u RET' on a link opens a new tab

when tab-bar-mode is enabled.

#### 5.52.4 The d (eww-download) command now falls back to current page's URL.

If this command is invoked with no URL at point, it now downloads the current page instead of signaling an error.

#### 5.52.5 When opening external links in eww/shr (typically with the

'C-u RET' keystroke on a link), the link will be flashed with the new shr-selected-link face to give the user feedback that the command has been executed.

#### 5.52.6 New user option shr-discard-aria-hidden.

If set, shr will not render tags with attribute 'aria-hidden="true"'. This attribute is meant to tell screen readers to ignore a tag.

#### 5.52.7shr-external-browser has been made into an obsolete alias

of browse-url-secondary-browser-function.

### 5.53 Htmlfontify

#### 5.53.1 The functions hfy-color, hfy-color-vals and

hfy-fallback-color-values and the variables hfy-fallback-color-map and hfy-rgb-txt-color-map have been renamed from names that used colour instead of color.

### 5.54 Enriched mode supports the charset text property.

You can add or modify the charset text properties of text using the 'Edit->Text Properties->Special Properties' menu, or by invoking the facemenu-set-charset command. Documents in Enriched mode will be saved with the charset properties, and those properties will be restored when the file is visited.

### 5.55 Smtpmail

#### 5.55.1 Authentication mechanisms can be added via external packages, by

defining new cl-defmethod of smtpmail-try-auth-method.

#### 5.55.2 To always force smtpmail to send credentials over on the first

attempt when communicating with the SMTP server(s), the smtpmail-servers-requiring-authorization user option can be used.

#### 5.55.3 smtpmail will now try resending mail when getting a transient "4xx"

error message from the SMTP server. The new smtpmail-retries user option says how many times to retry.

### 5.56 Footnote mode

#### 5.56.2 Footnote text lines are now aligned.

Can be controlled via the new user option footnote-align-to-fn-text.

### 5.57 CSS mode

#### 5.57.1 A new command css-cycle-color-format for cycling between color

formats (e.g. "black" => "#000000" => "rgb(0, 0, 0)") has been added, bound to 'C-c C-f'.

### 5.58 SGML mode

#### 5.58.1sgml-quote now handles double quotes and apostrophes

when escaping text and in addition all numeric entities when unescaping text.

### 5.59 Python mode

#### 5.59.1 Python mode supports three different font lock decoration levels.

The maximum level is used by default; customize font-lock-maximum-decoration to tone down the decoration.

#### 5.59.2 New user option python-pdbtrack-kill-buffers.

If non-nil, the default, buffers opened during pdbtracking session are killed when pdbtracking session is finished.

#### 5.59.3 New function 'python-shell-send-statement.

It sends the statement delimited by python-nav-beginning-of-statement and python-nav-end-of-statement to the inferior Python process.

### 5.60 Help

#### 5.60.1 Descriptions of variables and functions give an estimated first release

where the variable or function appeared in Emacs.

#### 5.60.2 Output format of 'C-h l' (view-lossage) has changed.

For convenience, view-lossage now displays the last keystrokes and commands in the same format as the edit buffer of edit-last-kbd-macro. This makes it possible to copy the lines from the buffer generated by view-lossage to the "Edit Macro" buffer created by edit-last-kbd-macro, and to save the macro by 'C-c C-c'.

#### 5.60.3 The list of help commands produced by 'C-h C-h' (help-for-help)

can now be searched via C-s.

### 5.61 Ibuffer

#### 5.61.2 All mode filters can now accept a list of symbols.

This means you can now easily filter several major modes, as well as a single mode.

### 5.62 Search and Replace

#### 5.62.1 Isearch supports a prefix argument for C-s (isearch-repeat-forward)

and C-r (isearch-repeat-backward). With a prefix argument, these commands repeat the search for the specified occurrence of the search string. A negative argument repeats the search in the opposite direction. This makes possible also to use a prefix argument for 'M-s .' (isearch-forward-symbol-at-point) to find the next Nth symbol. Also a prefix argument is supported for isearch-yank-until-char, isearch-yank-word-or-char, isearch-yank-symbol-or-char.

#### 5.62.2 To go to the first/last occurrence of the current search string

is possible now with new commands isearch-beginning-of-buffer and isearch-end-of-buffer bound to 'M-s M-<' and 'M-s M->' in Isearch. With a numeric argument, they go to the Nth absolute occurrence counting from the beginning/end of the buffer. This complements C-s/C-r that searches for the next Nth relative occurrence with a numeric argument.

#### 5.62.3isearch-lazy-count shows the current match number and total number

of matches in the Isearch prompt. User options lazy-count-prefix-format and lazy-count-suffix-format define the format of the current and the total number of matches in the prompt's prefix and suffix, respectively.

#### 5.62.4lazy-highlight-buffer highlights matches in the full buffer.

It is useful in combination with lazy-highlight-cleanup customized to nil to leave matches highlighted in the whole buffer after exiting isearch. Also when lazy-highlight-buffer prepares highlighting in the buffer, navigation through the matches without flickering is more smooth. lazy-highlight-buffer-max-at-a-time controls the number of matches to highlight in one iteration while processing the full buffer.

#### 5.62.5 New isearch bindings.

C-M-z invokes new function isearch-yank-until-char, which yanks everything from point up to but not including the specified character into the search string. This is especially useful for keyboard macros.

C-M-w in isearch changed from isearch-del-char to the new function isearch-yank-symbol-or-char. isearch-del-char is now bound to C-M-d.

'M-s h l' invokes highlight-lines-matching-regexp using the search string to highlight lines matching the search string. This is similar to the existing binding 'M-s h r' (highlight-regexp) that highlights JUST the search string.

#### 5.62.6 New user option isearch-yank-on-move provides options t and shift

to extend the search string by yanking text that ends at the new position after moving point in the current buffer. shift extends the search string by motion commands while holding down the shift key.

#### 5.62.7isearch-allow-scroll provides a new option unlimited to allow

scrolling any distance off screen.

#### 5.62.8 Isearch now remembers the regexp-based search mode for words/symbols

and case-sensitivity together with search strings in the search ring.

#### 5.62.11char-fold-to-regexp now matches more variants of a base character.

The table used to check for equivalence of characters is now built using the complete chain of unicode decompositions of a character, rather than stopping after one level, such that searching for e.g. "GREEK SMALL LETTER IOTA" will now also find "GREEK SMALL LETTER IOTA WITH OXIA".

#### 5.62.12 New char-folding options: char-fold-include lets you add ad hoc

foldings, char-fold-exclude to remove foldings from default decomposition, and char-fold-symmetric to search for any of an equivalence class of characters. For example, with a nil value of char-fold-symmetric you can search for "e" to find "é", but not vice versa. With a non-nil value you can search for either, for example, you can search for "é" to find "e".

### 5.63 Debugger

#### 5.63.1 The Lisp Debugger is now based on backtrace-mode.

Backtrace mode adds fontification and commands for changing the appearance of backtrace frames. See the node "(elisp) Backtraces" in the Elisp manual for documentation of the new mode and its commands.

### 5.64 Edebug

#### 5.64.1edebug-eval-last-sexp and edebug-eval-print-last-sexp interactively

now take a zero prefix analogously to the non-Edebug counterparts.

#### 5.64.2 New faces edebug-enabled-breakpoint and edebug-disabled-breakpoint.

When setting breakpoints in Edebug, an overlay with these faces are placed over the point in question, depending on whether they are enabled or not.

#### 5.64.3 New command edebug-toggle-disable-breakpoint.

This command allows you to disable a breakpoint temporarily. This is mainly useful with breakpoints that are conditional and would take some time to recreate.

#### 5.64.4 New command edebug-unset-breakpoints.

To clear all breakpoints in the current form, the U command in edebug-mode, or 'M-x edebug-unset-breakpoints' can be used.

#### 5.64.5 Re-instrumenting a function with Edebug will now try to preserve

previously-set breakpoints. However, if the code has changed substantially, this may not be possible.

#### 5.64.6 New command edebug-remove-instrumentation.

This command removes Edebug instrumentation from all functions that have been instrumented.

#### 5.64.7 The runtime behavior of Edebug's instrumentation can be changed

using the new variables edebug-behavior-alist, edebug-after-instrumentation-function and edebug-new-definition-function. Edebug's behavior can be changed globally or for individual definitions.

#### 5.64.8 Edebug's backtrace buffer now uses backtrace-mode.

Backtrace mode adds fontification, links and commands for changing the appearance of backtrace frames. See the node "(elisp) Backtraces" in the Elisp manual for documentation of the new mode and its commands.

The binding of d in Edebug's keymap is now edebug-pop-to-backtrace which replaces edebug-backtrace. Consequently Edebug's backtrace windows now behave like those of the Lisp Debugger and of ERT, in that when they appear they will be the selected window.

The new backtrace-goto-source command, bound to s, works in Edebug's backtraces on backtrace frames whose source code has been instrumented by Edebug.

### 5.65 Enhanced xterm support

#### 5.65.1 New user option xterm-set-window-title controls whether Emacs sets

the XTerm window title. This feature is experimental and is disabled by default.

### 5.66 Grep

#### 5.66.1rgrep, lgrep and zrgrep now hide part of the command line

that contains a list of ignored directories and files. Clicking on the button with ellipsis unhides it. The abbreviation can be disabled by the new user option grep-find-abbreviate. The new command grep-find-toggle-abbreviation toggles it interactively.

### 5.67 ERT

#### 5.67.1 New variable ert-quiet allows making ERT output in batch mode

less verbose by removing non-essential information.

#### 5.67.2 ERT's backtrace buffer now uses backtrace-mode.

Backtrace mode adds fontification and commands for changing the appearance of backtrace frames. See the node "(elisp) Backtraces" in the Elisp manual for documentation of the new mode and its commands.

### 5.68 Gamegrid

#### 5.68.1 Gamegrid now determines its default glyph size based on display

dimensions, instead of always using 16 pixels. As a result, Tetris, Snake and Pong are better playable on HiDPI displays.

#### 5.68.2gamegrid-add-score can now sort scores from lower to higher.

This is useful for games where lower scores are better, like time-based games.

### 5.69 Filecache

#### 5.69.1 Completing file names in the minibuffer via C-TAB now uses the

styles as configured by the user option completion-styles.

### 5.70 New macros thunk-let and 'thunk-let*'.

These macros are analogue to let and 'let*', but create bindings that are evaluated lazily.

### 5.71 next-error

#### 5.71.1 New user option next-error-find-buffer-function.

The value should be a function that determines how to find the next buffer to be used by next-error and previous-error. The default is to use the last buffer that navigated to the current error.

#### 5.71.2 New command next-error-select-buffer.

It can be used to set any buffer as the next one to be used by next-error and previous-error.

### 5.72 nxml-mode

#### 5.72.1 The default value of nxml-sexp-element-flag is now t.

This means that pressing C-M-SPACE now selects the entire tree by default, and not just the opening element.

### 5.73 Eshell

#### 5.73.1 TAB completion uses the standard completion-at-point rather than

pcomplete. Its UI is slightly different but can be customized to behave similarly, e.g. Pcomplete's default cycling can be obtained with '(setq completion-cycle-threshold 5)'.

#### 5.73.2 Expansion of history event designators is disabled by default.

To restore the old behavior, use

#### 5.73.3 The function eshell-uniquify-list has been renamed from

eshell-uniqify-list.

#### 5.73.4 The function 'eshell/kill' is now able to handle signal switches.

Previously 'eshell/kill' would fail if provided a kill signal to send to the process. It now accepts signals specified either by name or by its number.

#### 5.73.5 Emacs now follows symlinks in history-related files.

The files specified by eshell-history-file-name and eshell-last-dir-ring-file-name can include symlinks; these are now followed when Emacs writes the relevant history variables to the disk.

### 5.74 Shell

#### 5.74.2 The user option shell-file-name can be set now as connection-local

variable for remote shells. It still defaults to /bin/sh.

### 5.75 Single shell commands

#### 5.75.1 New values of shell-command-dont-erase-buffer.

This user option can now have the value erase to force to erase the output buffer before execution of the command, even if the output goes to the current buffer. Additional values beg-last-out, end-last-out, and save-point control where to put point in the output buffer after inserting the shell-command output.

#### 5.75.2 The new functions shell-command-save-pos-or-erase and

shell-command-set-point-after-cmd control how point is handled between two consecutive shell commands in the same output buffer.

#### 5.75.3async-shell-command-width defines the number of display columns

available for output of asynchronous shell commands.

#### 5.75.4 Prompt for shell commands can now show the current directory.

Customize the new user option shell-command-prompt-show-cwd to enable it.

### 5.76 Pcomplete

#### 5.76.1 The pcomplete command is now obsolete.

The Pcomplete functionality can be obtained via completion-at-point instead, by adding pcomplete-completions-at-point to completion-at-point-functions.

#### 5.76.2 The function pcomplete-uniquify-list has been renamed from

pcomplete-uniqify-list.

#### 5.76.3 'pcomplete/make' now completes on targets in included files, recursively.

To recover the previous behavior, set new user option pcmpl-gnu-makefile-includes to nil.

### 5.77 Auth-source

#### 5.77.2.authinfo and .netrc files now use a new mode: authinfo-mode.

This is just like fundamental-mode, except that it hides passwords under a "**" display property. When the cursor moves to this text, the real password is revealed (via reveal-mode). The new authinfo-hidden user option can be used to control what to hide.

### 5.78 Tramp

#### 5.78.1 New connection method "nextcloud", which allows accessing OwnCloud

or NextCloud hosted files and directories.

#### 5.78.2 New connection method "rclone", which allows accessing system

storages via the rclone program. This feature is experimental.

#### 5.78.3 New connection method "sudoedit", which allows editing local files

with different user credentials. Contrary to the sudo method, no session is run permanently in the background. This is for security reasons.

#### 5.78.4 Connection methods "obex" and "synce" have been removed, because they

are obsoleted in GVFS.

#### 5.78.6 During user and host name completion in the minibuffer, results

from auth-source search are taken into account. This can be disabled by setting the user option tramp-completion-use-auth-sources to nil.

#### 5.78.7 The user option tramp-ignored-file-name-regexp allows disabling

Tramp for some look-alike remote file names.

#### 5.78.8 For some connection methods, like "su" or "sudo", the host name in

multi-hop file names must match the previous hop. Default host names are adjusted to the host name from the previous hop.

#### 5.78.9 A timeout has been added for the connection methods "sudo" and "doas".

The underlying session is disabled when the timeout expires. This is for security reasons.

#### 5.78.10 For some connection methods, like "sshx" or "plink", it is

possible to configure the remote login shell. This avoids problems with remote hosts, where /bin/sh is a link to a shell which cooperates badly with Tramp.

#### 5.78.11 New commands tramp-rename-files and tramp-rename-these-files.

They allow saving remote files somewhere else when the corresponding host is not reachable anymore.

### 5.79 Rcirc

#### 5.79.1 New user option rcirc-url-max-length.

Setting this option to an integer causes URLs displayed in Rcirc buffers to be truncated to that many characters.

#### 5.79.2 The default '/quit' and '/part' reasons are now configurable.

Two new user options are provided for this: rcirc-default-part-reason and rcirc-default-quit-reason.

### 5.80 Register

#### 5.80.1 The return value of method register-val-describe includes the

names of buffers shown by the windows of a window configuration.

### 5.81 Message

#### 5.81.1 Completion of email addresses can use the standard completion UI.

This is controlled by message-expand-name-standard-ui. With the standard UI the different sources (ecomplete, bbdb, and eudc) are matched together and try to obey completion-styles. It should work for other completion front ends like Company.

#### 5.81.2message-mode now supports highlighting citations of different depths.

This can be customized via the new user option message-cite-level-function and the new 'message-cited-text-*' faces.

#### 5.81.3 Messages can now be systematically encrypted

when the PGP keyring contains a public key for every recipient. To achieve this, add message-sign-encrypt-if-all-keys-available to message-send-hook.

#### 5.81.4 When replying a message that have addresses on the form

'"foo@bar.com" <foo@bar.com>', Message will elide the repeated "name" from the address field in the response.

#### 5.81.5 The default of message-forward-as-mime has changed from t to nil

as it has been reported that many recipients can't read forwards that are formatted as MIME digests.

#### 5.81.7mml-secure-openpgp-sign-with-sender sets also "gpg –sender".

When mml-secure-openpgp-sign-with-sender is non-nil, message sender's email address (in addition to its old behavior) will also be used to set gpg's "–sender email@domain" option.

The option is useful for two reasons when verifying the signature:

1. GnuPG's TOFU statistics are updated for the specific user id (email) only. See gpg(1) man page about "–sender".
2. GnuPG's "–auto-key-retrieve" functionality can use WKD (web key directory) method for finding the signer's key. You need GnuPG 2.2.17 to fully benefit from this feature. See gpg(1) man page for "–auto-key-retrieve".

#### 5.81.8 The mail-from-style variable is now obsolete.

According to RFC 5322, only the angles value is valid.

### 5.82 EasyPG

#### 5.82.1epa-pinentry-mode is renamed to epg-pinentry-mode.

It now applies to epg functions as well as epa functions.

#### 5.82.2 The alias functions 'epa–encode-coding-string',

'epa–decode-coding-string', and 'epa–select-safe-coding-system' have been removed. Use encode-coding-string, decode-coding-string, and select-safe-coding-system instead.

#### 5.82.3epg-context structure supports now sender slot.

The value of the new sender slot (if a string) is used to set gpg's "–sender" option. This feature is used by mml-secure-openpgp-sign-with-sender. See gpg(1) manual page about "–sender" for more information.

### 5.83 Rmail

#### 5.83.1 New user option rmail-output-reset-deleted-flag.

If this option is non-nil, messages appended to an output file by the rmail-output command have their Deleted flag reset.

#### 5.83.2 The command rmail-summary-by-senders with an empty argument

selects the messages to summarize with a regexp that matches the sender of the current message.

This is handy in Lisp programs that run on a non-main thread and want to signal the main thread, e.g., when they encounter an error.

#### 5.84.5 New command list-threads shows Lisp threads.

See the current list of live threads in a tabulated-list buffer which automatically updates. In the buffer, you can use 's q' or 's e' to signal a thread with quit or error respectively, or get a snapshot backtrace with b.

### 5.85 thingatpt.el

#### 5.85.1thing-at-point supports a new "thing" called uuid.

A symbol uuid can be passed to thing-at-point and it returns the UUID at point.

#### 5.85.2number-at-point will now recognize hex numbers like 0xAb09 and #xAb09

and return them as numbers.

#### 5.85.3word-at-point and sentence-at-point accept NO-PROPERTIES.

Just like thing-at-point itself.

### 5.86 Interactive automatic highlighting

#### 5.86.1highlight-regexp can now highlight subexpressions.

The new command accepts a prefix numeric argument to choose the subexpression.

### 5.87 Mouse display of minor mode menu

#### 5.87.1minor-mode-menu-from-indicator now displays full minor mode name.

When there is no menu for a mode, display the mode name after the indicator instead of just the indicator (which is sometimes cryptic).

### 5.88 rx

#### 5.88.1 rx now handles raw bytes in character alternatives correctly,

when given in a string. Previously, '(any "\x80-\xff")' would match characters U+0080…U+00FF. Now the expression matches raw bytes in the 128…255 range, as expected.

#### 5.88.2 The rx or and seq forms no longer require any arguments.

'(or)' produces a regexp that never matches anything, while '(seq)' matches the empty string, each being an identity for the operation. This also works for their aliases: '|' for or; ':', and and sequence for seq. The symbol unmatchable can be used as an alternative to '(or)'.

#### 5.88.3regexp and new literal accept arbitrary lisp as arguments.

In this case, rx will generate code which produces a regexp string at run time, instead of a constant string.

#### 5.88.4 New rx extension mechanism: rx-define, rx-let, rx-let-eval.

These macros add new forms to the rx notation.

#### 5.88.5anychar is now an alias for anything.

Both match any single character; anychar is more descriptive.

#### 5.88.6 New intersection form for character sets.

With or and not, it can be used to compose character-matching expressions from simpler parts.

#### 5.88.7not now accepts more argument types.

The argument can now also be a character, a single-character string, an intersection form, or an or form whose arguments each match a single character.

#### 5.88.8 Nested or forms of strings guarantee a longest match.

For example, '(or (or "IN" "OUT") (or "INPUT" "OUTPUT"))' now matches the whole string "INPUT" if present, not just "IN". Previously, this was only guaranteed inside a single or form of string literals.

### 5.89 Frames

#### 5.89.2 New value of minibuffer frame parameter child-frame.

This allows creating and immediately parenting a minibuffer-only child frame when making a frame.

#### 5.89.3 New predicates display-blink-cursor-p and display-symbol-keys-p.

These predicates are to be preferred over display-graphic-p when testing for blinking cursor capability and the capability to have symbols (e.g., '[return]', '[tab]', '[backspace]') as keys respectively.

### 5.90 Tabulated List mode

#### 5.90.1 New user options for tabulated list sort indicators.

You can now customize which sorting indicator character to display near the current column in Tabulated Lists (see user options tabulated-list-gui-sort-indicator-asc, tabulated-list-gui-sort-indicator-desc, tabulated-list-tty-sort-indicator-asc, and tabulated-list-tty-sort-indicator-desc).

#### 5.90.2 Two new commands and keystrokes have been added to the tabulated

list mode: w (which widens the current column) and c which makes the current column contract.

#### 5.90.3 New function tabulated-list-clear-all-tags.

This function clears all tags from the padding area in the current buffer. Tags are typically added by calling tabulated-list-put-tag.

### 5.92 CUA mode

#### 5.92.1 New user option cua-rectangle-terminal-modifier-key.

This user option allows for the customization of the modifier key used in a terminal frame.

### 5.93 JS mode

#### 5.93.1 JSX syntax is now automatically detected and enabled.

If a file imports Facebook's React library, or if the file uses the extension .jsx, then various features supporting XML-like syntax will be supported in js-mode and derivative modes. (js-jsx-mode no longer needs to be enabled.)

#### 5.93.2 New user option js-jsx-detect-syntax disables automatic detection.

This is turned on by default.

#### 5.93.3 New user option js-jsx-syntax enables JSX syntax unconditionally.

This is off by default.

#### 5.93.6 JSX code is properly indented in many more scenarios.

Previously, JSX indentation usually only worked when an element was wrapped in parenthesis (e.g. in a return statement or a function call). It would also fail in many intricate cases. Now, indentation should work anywhere without parenthesis; many more intricacies are supported; and, indentation conventions align more closely with those of the React developer community (see 'js-jsx-align->-with-<'), otherwise still adhering to SGML conventions.

#### 5.93.7 New user option 'js-jsx-align->-with-<' controls '>' indents.

Commonly in JSX code, a '>' on its own line is indented at the same level as its opening '<'. This is the new default for JSX. This behavior is slightly different than that used by SGML in Emacs, where '>' is indented at the same level as attributes, which was also the old default for JSX.

This is turned on by default. To get back the old default indentation behavior of aligning '>' with attributes, set 'js-jsx-align->-with-<' to nil.

#### 5.93.8 Indentation uses js-indent-level instead of sgml-basic-offset.

Since JSX is a syntax extension of JavaScript, it makes the most sense for JSX expressions to be indented the same number of spaces as other JS expressions. This is a breaking change, but it probably aligns with how you'd expect this indentation to behave. If you want JSX to be indented like JS, you won't need to change your config.

The old behavior can be emulated by controlling JSX indentation independently of JS, by setting js-jsx-indent-level.

#### 5.93.9 New user option js-jsx-indent-level for different JSX indentation.

If you wish to indent JSX by a different number of spaces than JS, set this user option to the desired number.

#### 5.93.11 New variable js-syntactic-mode-name controls mode name display.

Previously, the mode name was simply JavaScript. Now, when a syntax extension like JSX is enabled, the mode name is 'JavaScript[JSX]'. Set this variable to nil to disable the new behavior.

#### 5.93.12 New function js-use-syntactic-mode-name for deriving modes.

Packages deriving from js-mode with define-derived-mode should call this function to add enabled syntax extensions to their mode name, too.

### 5.94 Autorevert

#### 5.94.1 New user option auto-revert-avoid-polling for saving power.

When set to a non-nil value, buffers in Auto Revert mode are no longer polled for changes periodically. This reduces the power consumption of an idle Emacs, but may fail on some network file systems; set auto-revert-notify-exclude-dir-regexp to match files where notification is not supported. The default value is nil.

A major mode can declare that notification on the buffer's default directory is sufficient to know when updates are required, by setting the new variable buffer-auto-revert-by-notification to a non-nil value. Auto Revert mode can use this information to avoid polling the buffer periodically when auto-revert-avoid-polling is non-nil.

#### 5.94.3global-auto-revert-ignore-buffer can now also be a predicate

function that can be used for more fine-grained control of which buffers to auto-revert.

### 5.95 auth-source-pass

#### 5.95.1 New user option auth-source-pass-filename.

Allows setting the path to the password-store, defaults to ~/.password-store.

#### 5.95.2 New user option auth-source-pass-port-separator.

Specifies separator between host and port, defaults to colon ":".

#### 5.95.3 Minimize the number of decryptions during password lookup.

This makes the package usable with physical tokens requiring touching a sensor for every decryption.

### 5.96 Bookmarks

#### 5.96.1bookmark-file and bookmark-old-default-file are now obsolete

aliases of bookmark-default-file.

#### 5.96.2 New user option bookmark-watch-bookmark-file.

When non-nil, watch whether the bookmark file has changed on disk.

#### 5.96.3 The old bookmark file format is no longer supported.

This bookmark file format has not been used in Emacs since at least version 19.34, released in 1996, and will no longer be automatically converted to the new bookmark file format.

The following functions are now declared obsolete: bookmark-grok-file-format-version, bookmark-maybe-upgrade-file-format, bookmark-upgrade-file-format-from-0, and bookmark-upgrade-version-0-alist.

### 5.97 The mantemp.el library is now marked obsolete.

This library generates manual C++ template instantiations. It should no longer be useful on modern compilers, which do this automatically.

### 5.98 Ispell

#### 5.98.1 New hook ispell-change-dictionary-hook.

This runs after changing the dictionary and could be used to automatically spellcheck a buffer when changing language without needing to advice ispell-change-dictionary.

### 5.99 scroll-lock

#### 5.99.1 New command scroll-lock-next-line-always-scroll.

This command is bound to S-down and scrolls the buffer up in particular when the end of the buffer is visible in the window.

### 5.100 mwheel.el

#### 5.100.1mwheel-install is now obsolete.

Use mouse-wheel-mode instead. Note that mouse-wheel-mode is already enabled by default on most graphical displays.

### 5.101 Gravatar

#### 5.101.1gravatar-cache-ttl is now a number of seconds.

The previously used timestamp format of a list of integers is still supported, but is deprecated. The default value has not changed.

#### 5.101.2gravatar-size can now be nil.

This results in the use of Gravatar's default size of 80 pixels.

#### 5.101.3 The default fallback gravatar is now configurable.

This is possible using the new user options gravatar-default-image and gravatar-force-default.

#### 5.102.1 The built-in ada-mode is now deleted. The GNU ELPA package is a

good replacement, even in very large source files.

### 5.103 time-stamp

#### 5.103.1 New '%5z' conversion for time-stamp-format gives time zone offset.

Specifying '%5z' in time-stamp-format or time-stamp-pattern expands to the time zone offset, e.g., '+0100'. The time zone used is specified by time-stamp-time-zone.

Because this feature is new in Emacs 27.1, do not use it in the local variables section of any file that might be edited by an older version of Emacs.

#### 5.103.2 Some conversions recommended for time-stamp-format have changed.

The new documented/recommended %-conversions are closer to those used by format-time-string and are compatible at least as far back as Emacs 22.1 (released in 2007).

Uppercase abbreviated day name of week: was %3A, now %#a Full day name of week: was %:a, now %:A Uppercase abbreviated month name: was %3B, now %#b Full month name: was %:b, now %:B Four-digit year: was %:y, now %Y Lowercase timezone name: was %z, now %#Z Fully-qualified host name: was %s, now %Q Unqualified host name: (was none), now %q Login name: was %u, now %l User's full name: was %U, now %L

Merely having '(add-hook 'before-save-hook 'time-stamp)' in your Emacs init file does not expose you to this change. However, if you set time-stamp-format or time-stamp-pattern with a file-local variable, you may need to update the value.

### 5.105 CC Mode

#### 5.105.1 You can now flag "wrong style" comments with font-lock-warning-face.

To do this, use c-toggle-comment-style, if needed, to set the desired default comment style (block or line); then set the user option c-mark-wrong-style-of-comment to non-nil.

### 5.106 Mailcap

#### 5.106.1 The new function mailcap-file-name-to-mime-type has been added.

It's a simple convenience function for looking up MIME types based on file name extensions.

#### 5.106.2 The default way the list of possible external viewers for MIME

types is sorted and chosen has changed. Earlier, the most specific viewer was chosen, even if there was a general override in ~/.mailcap. For instance, if /etc/mailcap has an entry for image/gif, that one will be chosen even if you have an entry for "image/*" in your ~/.mailcap file. But with the new method, entries from ~/.mailcap overrides all system and Emacs-provided defaults. To get the old method back, set mailcap-prefer-mailcap-viewers to nil.

### 5.107 MH-E

#### 5.107.1 The hook mh-show-mode-hook is now called before the message is inserted.

Functions that want to affect the message text (for example, to change highlighting) can no longer use mh-show-mode-hook, because the message contents will not yet have been inserted when the hook is called. Such functions should now be attached to mh-show-hook.

### 5.108 URL

#### 5.108.1 The 'file:' handler no longer looks for index.html in

directories if you ask it for a "file:///dir" URL. Since this is a low-level library, such decisions (if they are to be made at all) are left to higher-level functions.