{"id":12065,"date":"2024-03-26T11:59:51","date_gmt":"2024-03-26T15:59:51","guid":{"rendered":"https:\/\/irreal.org\/blog\/?p=12065"},"modified":"2024-03-26T11:59:51","modified_gmt":"2024-03-26T15:59:51","slug":"casual-a-porcelain-for-calc","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=12065","title":{"rendered":"Casual: A Porcelain For Calc"},"content":{"rendered":"<p>\nThose of you who have been reading Irreal for a while know that I&rsquo;m a huge fan of Emacs Calc. It&rsquo;s tremendously flexible and comprehensive and it&rsquo;s built into Emacs. But that comprehensiveness comes at a price: it&rsquo;s <i>very<\/i> hard to learn its commands and they always prove evanescent if you don&rsquo;t use them regularly. I&rsquo;ve been through the manual a couple times and I still can&rsquo;t remember how to use most of Calc. I almost always bring up the cheat sheet when I need to do anything more than the basic calculator functions.\n<\/p>\n<p>\nCharles Choi to the rescue. We haven&rsquo;t heard from Choi for a while and now we know why. He&rsquo;s been busy building a <a href=\"http:\/\/yummymelon.com\/devnull\/announcing-casual-an-opinionated-porcelain-for-emacs-calc.html\">porcelain for Emacs Calc<\/a>. It&rsquo;s a transient menu that helps you remember many of the esoteric Calc commands. When you get stuck, you can bring up the menu and navigate your way to the proper command.\n<\/p>\n<p>\nChoi says that he&rsquo;s not trying to provide full coverage of the Calc commands, just the most\u2014for some value of &ldquo;most&rdquo;\u2014used commands. You can read about his goals and non-goals at his post.\n<\/p>\n<p>\nThe package is on MELPA and although Choi doesn&rsquo;t give the <code>use-package<\/code> recipe for installing it, here&rsquo;s what I used:\n<\/p>\n<div class=\"org-src-container\">\n<pre class=\"src src-elisp\">(<span style=\"color: #a020f0;\">use-package<\/span> <span style=\"color: #008b8b;\">casual<\/span>\n  <span style=\"color: #483d8b;\">:ensure<\/span> t\n  <span style=\"color: #483d8b;\">:bind<\/span> (<span style=\"color: #483d8b;\">:map<\/span> calc-mode-map (<span style=\"color: #8b2252;\">\"C-o\"<\/span> . 'casual-main-menu)))\n<\/pre>\n<\/div>\n<p>\nI just installed it so I don&rsquo;t have a lot of experience with it yet but so far I really like it. The menu doesn&rsquo;t appear until you invoke it and it disappears after you choose a command so it doesn&rsquo;t get in the way. I can see this package making Calc more approachable and increasing its usage. If you&rsquo;re a Calc user or would like to be, you definitely want to take a look at Choi&rsquo;s post.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Those of you who have been reading Irreal for a while know that I&rsquo;m a huge fan of Emacs Calc. It&rsquo;s tremendously flexible and comprehensive and it&rsquo;s built into Emacs. But that comprehensiveness comes at a price: it&rsquo;s very hard &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=12065\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[18],"class_list":["post-12065","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\/12065","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=12065"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12065\/revisions"}],"predecessor-version":[{"id":12066,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12065\/revisions\/12066"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12065"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12065"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12065"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}