{"id":216,"date":"2017-08-14T10:55:51","date_gmt":"2017-08-14T15:55:51","guid":{"rendered":"http:\/\/myblog.vindaloo.com\/?p=216"},"modified":"2017-08-14T10:55:51","modified_gmt":"2017-08-14T15:55:51","slug":"emacs-use-tabs-rather-than-spaces","status":"publish","type":"post","link":"http:\/\/myblog.vindaloo.com\/?p=216","title":{"rendered":"Emacs use tabs rather than spaces."},"content":{"rendered":"<p>Today, about the only place you should see an ascii TAB in a file is in a Makefile. In a world where memory is metered as gigabytes of RAM and terabytes of storage on fast SSDs there is absolutely no need to save space in a source code or configuration file by using a tab rather than two or four or eight spaces. Note well that <a href=\"https:\/\/www.jwz.org\/doc\/tabs-vs-spaces.html\" target=\"_blank\">I may be talking to your editor configuration<\/a> and not you. But when you write code you should say what you mean and mean what you say unequivocally. I say this because I have been looking at a whitespace difference in my puppet checks for better than a month now. This is because my file has in production has tabs and my file in the puppet\/git repository has spaces.<\/p>\n<p>To that end, I&#8217;m linking <a href=\"https:\/\/www.emacswiki.org\/emacs\/NoTabs\" target=\"_blank\">this bit of Emacs magic<\/a> for readers and my future self.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today, about the only place you should see an ascii TAB in a file is in a Makefile. In a world where memory is metered as gigabytes of RAM and terabytes of storage on fast SSDs there is absolutely no need to save space in a source code or configuration file by using a tab &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/myblog.vindaloo.com\/?p=216\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Emacs use tabs rather than spaces.&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,13,18],"tags":[],"class_list":["post-216","post","type-post","status-publish","format-standard","hentry","category-basics","category-old-news","category-unix"],"_links":{"self":[{"href":"http:\/\/myblog.vindaloo.com\/index.php?rest_route=\/wp\/v2\/posts\/216","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/myblog.vindaloo.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/myblog.vindaloo.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/myblog.vindaloo.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/myblog.vindaloo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=216"}],"version-history":[{"count":2,"href":"http:\/\/myblog.vindaloo.com\/index.php?rest_route=\/wp\/v2\/posts\/216\/revisions"}],"predecessor-version":[{"id":222,"href":"http:\/\/myblog.vindaloo.com\/index.php?rest_route=\/wp\/v2\/posts\/216\/revisions\/222"}],"wp:attachment":[{"href":"http:\/\/myblog.vindaloo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=216"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/myblog.vindaloo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=216"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/myblog.vindaloo.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}