{"id":40468,"date":"2023-08-28T13:58:23","date_gmt":"2023-08-28T17:58:23","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=40468"},"modified":"2023-08-28T13:58:23","modified_gmt":"2023-08-28T17:58:23","slug":"mg-text-editor","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2023\/08\/28\/mg-text-editor\/","title":{"rendered":"mg Text Editor"},"content":{"rendered":"<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/Mg_(text_editor)\">Wikipedia<\/a> (via <a href=\"https:\/\/atp.fm\/548\">Accidental Tech Podcast<\/a>):<\/p>\n<blockquote cite=\"https:\/\/en.wikipedia.org\/wiki\/Mg_(text_editor)\"><p>mg, originally called MicroGnuEmacs (and later changed at the request of <a href=\"https:\/\/en.wikipedia.org\/wiki\/Richard_Stallman\" title=\"Richard Stallman\">Richard Stallman<\/a>), is a public-domain <a href=\"https:\/\/en.wikipedia.org\/wiki\/Text_editor\" title=\"Text editor\">text editor<\/a> that runs on <a href=\"https:\/\/en.wikipedia.org\/wiki\/Unix-like\" title=\"Unix-like\">Unix-like<\/a> <a href=\"https:\/\/en.wikipedia.org\/wiki\/Operating_systems\" title=\"Operating systems\">operating systems<\/a>. It is based on <a href=\"https:\/\/en.wikipedia.org\/wiki\/MicroEMACS\" title=\"MicroEMACS\">MicroEMACS<\/a>, but intended to more closely resemble <a href=\"https:\/\/en.wikipedia.org\/wiki\/GNU_Emacs\" title=\"GNU Emacs\">GNU Emacs<\/a> while still maintaining a small memory footprint and fast speed.<\/p><\/blockquote>\n<p>I&rsquo;ve been occasionally annoyed, <a href=\"https:\/\/www.emacswiki.org\/emacs\/EmacsForMacOS\">since<\/a> <a href=\"https:\/\/www.reddit.com\/r\/MacOS\/comments\/dq7s1w\/was_the_emacs_command_removed_in_catalina\/\">Catalina<\/a>, that Emacs is <a href=\"https:\/\/www.reddit.com\/r\/emacs\/comments\/10xgs7w\/i_just_learned_that_new_macs_dont_come_with_emacs\/\">no longer<\/a> built into macOS. Yes, it can be installed, but it was nice to be able to depend on it always being there. Fortunately, mg is pre-installed and seems to be a good substitute for my purposes of quickly doing small searches or edits from Terminal or via SSH.<\/p>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2019\/06\/04\/macos-10-15-switches-from-bash-to-zsh\/\">macOS 10.15 Switches From bash to zsh<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Wikipedia (via Accidental Tech Podcast): mg, originally called MicroGnuEmacs (and later changed at the request of Richard Stallman), is a public-domain text editor that runs on Unix-like operating systems. It is based on MicroEMACS, but intended to more closely resemble GNU Emacs while still maintaining a small memory footprint and fast speed. I&rsquo;ve been occasionally [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2023-08-28T17:58:25Z","apple_news_api_id":"0304cc92-bc21-4988-9024-b0469c2e2b21","apple_news_api_modified_at":"2023-08-28T17:58:25Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/AAwTMkrwhSYiQJLBGnC4rIQ","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[124,30,1666,2223,2453,74,68],"class_list":["post-40468","post","type-post","status-publish","format-standard","hentry","category-technology","tag-emacs","tag-mac","tag-macos-10-15","tag-macos-13-ventura","tag-mg","tag-opensource","tag-texteditor"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/40468","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=40468"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/40468\/revisions"}],"predecessor-version":[{"id":40469,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/40468\/revisions\/40469"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=40468"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=40468"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=40468"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}