{"id":45954,"date":"2024-03-26T14:51:37","date_gmt":"2024-03-26T14:51:37","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=45954"},"modified":"2024-03-26T14:51:37","modified_gmt":"2024-03-26T14:51:37","slug":"gnu-emacs-29-3-emergency-bug-fixes","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2024\/03\/gnu-emacs-29-3-emergency-bug-fixes\/","title":{"rendered":"GNU Emacs 29.3 Released with Emergency Bug Fixes [Ubuntu PPA]"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/emacs-icon.webp\"><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\" \/><\/a><\/p>\n<p>GNU Emacs editor released new 29.3 as an emergency bug-fix release this Sunday.<\/p>\n<p>The new release intended to fix several security vulnerabilities described below:<\/p>\n<ul>\n<li>Arbitrary Lisp code is no longer evaluated as part of turning on Org mode. This is for security reasons, to avoid evaluating malicious Lisp code.<\/li>\n<li>New buffer-local variable &#8216;untrusted-content&#8217;. When this is non-nil, Lisp programs should treat buffer contents with extra caution.<\/li>\n<li>Gnus now treats inline MIME contents as untrusted. To get back previous insecure behavior, &#8216;untrusted-content&#8217; should be reset to nil in the buffer.<\/li>\n<li>LaTeX preview is now by default disabled for email attachments. To get back previous insecure behavior, set the variable <code>org--latex-preview-when-risky<\/code> to a non-nil value.<\/li>\n<li>Org mode now considers contents of remote files to be untrusted. Remote files are recognized by calling <code>file-remote-p<\/code>.<\/li>\n<\/ul>\n<p><!--more--><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/emacs293.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45955\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/emacs293-700x697.webp\" alt=\"\" width=\"610\" height=\"607\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/emacs293-700x697.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/emacs293-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/emacs293-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/emacs293-768x765.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/emacs293.webp 772w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<h3>How to get GNU Emacs 29.3 in Linux<\/h3>\n<p>Emacs does NOT provide official package for Linux. <\/p>\n<p>Besides building from <a href=\"https:\/\/www.gnu.org\/software\/emacs\/download.html\" target=\"_blank\" rel=\"noopener\">source tarball<\/a>, here are a few community maintained packages, including <b>Snap package<\/b> which is available in Ubuntu Software (App Center), and <b><a href=\"https:\/\/flathub.org\/apps\/org.gnu.emacs\" target=\"_blank\" rel=\"noopener\">Flatpak package<\/a><\/b> runs in sandbox for most Linux.<\/p>\n<p>For those who prefer the classic <code>.deb<\/code> package format, I&#8217;ve uploaded the package into this <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/emacs\" rel=\"noopener\" target=\"_blank\">unofficial PPA<\/a> for Ubuntu 20.04, Ubuntu 22.04, Ubuntu 23.10, and Ubuntu 24.04.<\/p>\n<p>The PPA package is NO change backport from <a href=\"https:\/\/launchpad.net\/debian\/+source\/emacs\" rel=\"noopener\" target=\"_blank\">Debian Unstable<\/a>, but without well testing. Use it at your own risk. To add the PPA and install Emacs 29.3 from it, open terminal (Ctrl+Alt+T) and run commands one by one:<\/p>\n<pre>sudo add-apt-repository ppa:ubuntuhandbook1\/emacs<\/pre>\n<pre>sudo apt update<\/pre>\n<pre>sudo apt install emacs emacs-common<\/pre>","protected":false},"excerpt":{"rendered":"<p>GNU Emacs editor released new 29.3 as an emergency bug-fix release this Sunday. The new release intended to fix several security vulnerabilities described below: Arbitrary Lisp code is no longer evaluated as part of turning on Org mode. This is for security reasons, to avoid evaluating malicious Lisp code. New buffer-local variable &#8216;untrusted-content&#8217;. When this [&hellip;]<\/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],"class_list":["post-45954","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-emacs"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/45954","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=45954"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/45954\/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=45954"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=45954"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=45954"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}