{"id":6171,"date":"2017-04-27T10:38:00","date_gmt":"2017-04-27T14:38:00","guid":{"rendered":"http:\/\/irreal.org\/blog\/?p=6171"},"modified":"2017-04-27T15:55:24","modified_gmt":"2017-04-27T19:55:24","slug":"installed-emacs-25-2","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=6171","title":{"rendered":"Installed Emacs 25.2"},"content":{"rendered":"<p> Emacs 25.2 is mostly a bug-fix release and I haven&rsquo;t had any problems so I didn&rsquo;t bother installing it as soon as it was released. Still, Irreal likes to be up-to-date on all things Emacs so I finally got around to compiling and installing it. Really, compiling it from source isn&rsquo;t much harder than using homebrew or one of its siblings. <\/p>\n<p> Here&rsquo;s the recipe for compiling and installing it on macOS: <\/p>\n<div class=\"org-src-container\">\n<pre class=\"src src-shell\"><span style=\"color: #483d8b;\">cd<\/span> path-to-untared-source\nconfigure --with-ns <span style=\"color: #a0522d;\">CFLAGS<\/span>=<span style=\"color: #8b2252;\">\"-g3 -O2 -I \/usr\/local\/include\/libxml2\"<\/span>\nmake\nmake install\nsudo mv nextstep\/Emacs.app \/Applications\n<\/pre>\n<\/div>\n<p> I always <code>mv<\/code> my current Emacs to a backup version but that&rsquo;s probably just irrational paranoia. The above recipe builds Emacs with EWW support. If you have additional needs, you may have to adjust the configure. <\/p>\n<p> <b>UPDATE<\/b> <span class=\"timestamp-wrapper\"><span class=\"timestamp\">[2017-04-27 Thu]<\/span><\/span>: <a href=\"http:\/\/irreal.org\/blog\/?p=6171#comment-3277414160\">John Mastro<\/a> commented that he thought  specifying the <code>CFLAGS<\/code> variable to <code>configure<\/code> overroad the default  value, which turns on some optimization. After some investigation,  which you can read about in the comments, I discovered that that was  indeed the case. I rebuilt Emacs with the new configure invocation  shown above. If you followed the old recipe, you may want to do the same. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Emacs 25.2 is mostly a bug-fix release and I haven&rsquo;t had any problems so I didn&rsquo;t bother installing it as soon as it was released. Still, Irreal likes to be up-to-date on all things Emacs so I finally got around &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=6171\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[18],"class_list":["post-6171","post","type-post","status-publish","format-standard","hentry","category-general","tag-emacs"],"_links":{"self":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6171"}],"version-history":[{"count":2,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6171\/revisions"}],"predecessor-version":[{"id":6173,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6171\/revisions\/6173"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}