From 9631244e9bfef4d00f309638f40915c801b88cd7 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 22 Mar 2021 06:29:11 +0000 Subject: (Emacs)~calc-mode now has display record and uses evil-collection --- Emacs/.config/emacs/config.org | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 0609120..82ac06f 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -1475,19 +1475,26 @@ for it. Surprise, surprise Emacs comes with a calculator. At this point there is little that surprises me in terms of Emacs' amazing capabilities. -=calc-mode= is a calculator system within Emacs that provides an -incredible array of mathematical operations. It uses reverse polish +=calc-mode= is a calculator system within Emacs that provides a +diverse array of mathematical operations. It uses reverse polish notation to do calculations (though there is a standard infix algebraic notation mode) and provides incredible utilities. #+begin_src emacs-lisp (use-package calc :straight nil + :display + ("*Calculator*" + (display-buffer-at-bottom) + (window-height . 0.18)) :general (leader "ac" #'calc) :init - (setq calc-algebraic-mode t)) + (setq calc-algebraic-mode t) + :config + (with-eval-after-load "evil-collection" + (evil-collection-calc-setup))) #+end_src *** Calctex =calc-mode= also has a 3rd party package called =calctex=. It renders -- cgit v1.2.3-13-gbd6f