Emacs 29 (date 2023)
Emacs NEWS Files
Keybinding Functions Change
Emoji
New commands for inserting Emoji. They have Ctrl+x 8 e prefix key.
describe-mode now shows minor modes list to bottom
describe-mode now shows global minor modes list to bottom.
help-mode now shows keybinding in monospace font and with border.
by default on Microsoft Windows, the monospace font used is bitmap courier. very ugly.
new variable major-mode-remap-alist , now easier to remap modes.
- help-enable-variable-value-editing
-
when t, you can edit variable value when using
describe-variable.to edit, press e at the value point.
(setq help-enable-variable-value-editing t)
Alt+x
help-quick
shows a cheatsheet of keys.
help buffer, type i to jump to emacs/elisp manual
e.g.
Alt+x describe-function
dired, then press i.
Emacs 29 Byte Compile Unescaped Single Quote Warning
tree-sitter
- tree-sitter is now part of emacs. it's a parser for text editors. https://tree-sitter.github.io/tree-sitter/
you have to install grammar files.
new modes using tree-sitter:
typescript-ts-modetsx-ts-modec-ts-modec++-ts-modejava-ts-modepython-ts-modecss-ts-modejson-ts-modecsharp-ts-modebash-ts-modedockerfile-ts-modecmake-ts-modetoml-ts-modego-ts-modego-mod-ts-modeyaml-ts-moderust-ts-moderuby-ts-mode
Eglot Interface for Language Server Protocol (LSP)
Eglot package is now part of emacs.
eglot.
this is mostly for emacs lisp coders to write major modes using LSP.
author is João Távora (aka joaotavora) https://github.com/joaotavora/eglot
misc notes
use-packagenow is part of emacs. it is for managing config for packages.
- new functions, for installing packages directly.
package-vc-installpackage-vc-updatepackage-vc-update-all
- new
sqlite-mode. works with SQLite database.
- new option
-xto run elisp script, sans loading init. - new option
--init-directory
- view image now support webp format
- emacs now support multi-touch touchpads, such as on laptop.
- tree-sitter, a fantastic thing, i'll be spending time on it in coming months.
- https://tree-sitter.github.io/tree-sitter/
here's some collection of articles related to it.
misc notes
- composition-break-at-point
-
variable.
If true,
prevent auto-composition of characters around cursor.
This means you can edit composed unicode chars such as emoji with skin color. e.g. Unicode: Variation Selector
(setq composition-break-at-point t)
- switch-to-prev-buffer-skip-regexp
-
Buffers that
switch-to-prev-bufferandswitch-to-next-buffershould skip. new in emacs 29.
xah-next-user-buffer
- ** New function
define-keymap. - This function allows defining a number of keystrokes with one form.
- ** New macro
defvar-keymap. - This macro allows defining keymap variables more conveniently.
- **
defvar-keymapcan specifyrepeat-modebehavior for the keymap. - Use
:repeat tto have all bindings be repeatable or for more advanced usage:
2023-06-26 thanks to this reference i have used.
- Emacs 29 is nigh! What can we expect?
- By Lucien Cartier-Tilet (Aka Phundrak).
- https://blog.phundrak.com/emacs-29-what-can-we-expect/