{"id":51937,"date":"2026-08-26T14:45:42","date_gmt":"2026-08-26T14:45:42","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=51937"},"modified":"2026-08-26T14:45:42","modified_gmt":"2026-08-26T14:45:42","slug":"gnu-emacs-31-1-released","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2026\/08\/gnu-emacs-31-1-released\/","title":{"rendered":"GNU Emacs 31.1 Released as the First of 2026"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-36513\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/emacs-icon-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/emacs-icon-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/emacs-icon-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/emacs-icon-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/emacs-icon-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/emacs-icon.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/p>\n<p>GNU Emacs, the powerful text editor, released new 31.1 version a few days ago.<\/p>\n<p>The new version was launched nearly a year after the previous release. It features much better completion, more powerful window\/frame management, unicode 17, and many other changes.<\/p>\n<p><!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/gnuemacs311-603x700.webp\" alt=\"\" width=\"603\" height=\"700\" class=\"aligncenter size-large wp-image-51938\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/gnuemacs311-603x700.webp 603w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/gnuemacs311-258x300.webp 258w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/08\/gnuemacs311.webp 722w\" sizes=\"auto, (max-width: 603px) 100vw, 603px\" \/><\/p>\n<p>The new 31.1 removed the old <code>unexec<\/code> dumper, that&#8217;s deprecated since Emacs 27, and now uses the portable dumper.<\/p>\n<p>The old <code>ctags<\/code> program is no longer built or installed, while, user may use <code>etags --ctags<\/code> instead.<\/p>\n<p>It also added a new configure option to specify where the user unit file for systemd. And, it now defaults to <code>-mfpmath=sse<\/code> or fallback to <code>-fno-tree-sra<\/code> on 32-bit x86 ssytem with GCC 4 or later.<\/p>\n<p>Compatible terminals now have mouse support enabled by default. And, it can now automatically process a <code>user-lisp\/<\/code> directory in your configuration, byte-compiling files and adding them to load-path.<\/p>\n<p>The completions can now appear immediately when the minibuffer opens. The results can update as you type. The flex completion algorithm was rewritten. And, it now has better navigation for vertical\/horizontal completion layouts.<\/p>\n<p>Emacs 31.1 also added many tools for manipulating its layouts, including new commands to combine\/uncombine windows, split and merge frames, and rotate, flip, and transpose entire window layouts.<\/p>\n<p>Frames now have unique numeric IDs, allowing scripts\/configurations to reliably identify them. And, new functions added for finding the most-recently-used frame.<\/p>\n<p>For editing, it features new <code>unfill-paragraph<\/code> command reverses <code>fill-paragraph<\/code>, new commands for Unix-style word deletion, new <code>center-line-mode<\/code>, and new commands for semantic linefeeds.<\/p>\n<p>The <code>line-spacing<\/code> can now control spacing both above and below a line. <code>C-w<\/code> can optionally delete the previous word when no region is active. And, Electric Pair can handle multiple pairs and multi-character delimiters such as <code>\/* ... *\/<\/code>.<\/p>\n<p>Other changes include:<\/p>\n<ul>\n<li>New input methods\/language environments for several languages.<\/li>\n<li>New tree-sitter modes such as <code>mhtml-ts-mode<\/code> and <code>go-work-ts-mode<\/code>.<\/li>\n<li>Network Security Manager now warns about TLS 1.1, DHE and static RSA key exchange at default security level.<\/li>\n<li>New <code>icalendar-mode<\/code> for editing iCalendar data.<\/li>\n<li>New <code>delete-trailing-whitespace-mode<\/code>.<\/li>\n<li>New <code>.npmrc<\/code> editing mode.<\/li>\n<li>Include <code>lua-mode<\/code>.<\/li>\n<li>New <code>system-taskbar-mode<\/code> integrates Emacs with desktop taskbars\/docks.<\/li>\n<li>New <code>system-sleep<\/code> package can prevent the system from sleeping and handle sleep\/wake events.<\/li>\n<\/ul>\n<p>There are also a large amount of other changes. See the <a href=\"https:\/\/github.com\/emacs-mirror\/emacs\/blob\/emacs-31.1\/etc\/NEWS\" target=\"_blank\">NEWS page<\/a> for details.<\/p>\n<h3>Get GNU Emacs 31.1<\/h3>\n<p>The source tarball for the new version is available to download in GNU website via the link below:<\/p>\n<div class=\"wp-block-buttons aligncenter\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-vivid-cyan-blue-to-vivid-purple-gradient-background has-text-color has-background\" href=\"https:\/\/ftp.gnu.org\/gnu\/emacs\/\" target=\"_blank\" rel=\"noreferrer noopener\">Download GNU Emacs<\/a><\/div>\n<\/div>\n<p>Besides building from source, Arch Linux and Fedora (v45 and Rawhide) have built the new version into their own repositories. While, Debian user may keep an eye on <a href=\"https:\/\/tracker.debian.org\/pkg\/emacs\" target=\"_blank\">this page<\/a> for the package status.<\/p>\n<p>There are also community maintained <a href=\"https:\/\/snapcraft.io\/emacs\" target=\"_blank\">snap package<\/a> (in Beta channel so far) that&#8217;s available in Ubuntu App Center, and, <a href=\"https:\/\/flathub.org\/en\/apps\/org.gnu.emacs\" target=\"_blank\">Flatpak package<\/a> (though not updated at the moment) that run in sandbox.<\/p>","protected":false},"excerpt":{"rendered":"<p>GNU Emacs, the powerful text editor, released new 31.1 version a few days ago. The new version was launched nearly a year after the previous release. It features much better completion, more powerful window\/frame management, unicode 17, and many other changes.<\/p>\n","protected":false},"author":1,"featured_media":36513,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[596,2086,597],"class_list":["post-51937","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-emacs","tag-programming","tag-text-editor"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/51937","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=51937"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/51937\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/36513"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=51937"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=51937"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=51937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}