{"id":2785,"date":"2014-07-02T08:12:01","date_gmt":"2014-07-02T12:12:01","guid":{"rendered":"http:\/\/irreal.org\/blog\/?p=2785"},"modified":"2014-07-02T08:12:03","modified_gmt":"2014-07-02T12:12:03","slug":"emacs-introduction-and-demo","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=2785","title":{"rendered":"Emacs Introduction and Demo"},"content":{"rendered":"<p> <a href=\"http:\/\/www.howardism.org\/\">Howard Abrams<\/a> has a nice video that serves as <a href=\"https:\/\/www.youtube.com\/watch?v=B6jfrrwR10k&#038;feature=youtu.be\">an introduction and demonstration of Emacs<\/a>. Don&#8217;t be fooled by the \u201cintroduction\u201d part. Abrams doesn&#8217;t spend any time on the usual \u3010<kbd>Ctrl<\/kbd>+<kbd>p<\/kbd>\u3011 to move up a line, \u3010<kbd>Ctrl<\/kbd>+<kbd>n<\/kbd>\u3011 to move a line down stuff that take up the majority of introductions. Rather, he emphasizes the demonstration aspects and shows the new user some of the advanced possibilities that Emacs offers. Abrams covers features such as <\/p>\n<ul class=\"org-ul\">\n<li>Multiple Cursors <\/li>\n<li>Expand Region <\/li>\n<li>Org Mode <\/li>\n<li>Writing simple Elisp functions <\/li>\n<li>linum-relative <\/li>\n<\/ul>\n<p> I hadn&#8217;t seen the <code>linum-relative<\/code> before but it looks as if it could be useful in a lot of cases. The idea is that the buffer is numbered with 0 at the line the point is on and negative numbers for the lines above, and positive numbers for the lines below. That makes it easy to jump a required number of lines. For example, if you want to jump to the line labeled 6 you could type \u3010<kbd>Ctrl<\/kbd>+<kbd>6<\/kbd> <kbd>Ctrl<\/kbd>+<kbd>n<\/kbd>\u3011. Most of the time, I use <code>ace-jump-mode<\/code> for jumps of that sort but I can see how <code>linum-relative<\/code> could be useful. <\/p>\n<p> Abrams offers some other tips that you might not have seen so the video is definitely worth watching. It&#8217;s about 36 and a half minutes so plan accordingly. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Howard Abrams has a nice video that serves as an introduction and demonstration of Emacs. Don&#8217;t be fooled by the \u201cintroduction\u201d part. Abrams doesn&#8217;t spend any time on the usual \u3010Ctrl+p\u3011 to move up a line, \u3010Ctrl+n\u3011 to move a &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=2785\">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-2785","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\/2785","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=2785"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2785\/revisions"}],"predecessor-version":[{"id":2786,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2785\/revisions\/2786"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2785"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2785"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2785"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}