X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=emacs.d%2Fconfig.org;h=df43076663da265ce2912e463389bc339e3d07a7;hb=3c71d946eb334a9dcd22bbe5c5c0eba6ed65631f;hp=63e3373bd3260627e119dd13f30529cc7a4b3ed6;hpb=465ba1c51a6d69453710051de3c7abb52accb10b;p=dotfiles.git diff --git a/emacs.d/config.org b/emacs.d/config.org index 63e3373..df43076 100644 --- a/emacs.d/config.org +++ b/emacs.d/config.org @@ -2056,6 +2056,24 @@ irony-company :ensure t) #+END_SRC +** Scheme +Install =guile=, =guile= is an implementation of =Scheme= programming language. +#+BEGIN_SRC sh + brew install guile +#+END_SRC + +#+BEGIN_SRC emacs-lisp :tangle yes :results silent + (setq geiser-scheme-implementation 'guile) +#+END_SRC + +#+BEGIN_SRC scheme + (define a "3") + a +#+END_SRC + +#+RESULTS: +: 3 + ** Racket #+BEGIN_SRC emacs-lisp :tangle yes :results silent (use-package racket-mode @@ -2117,7 +2135,7 @@ Set the environments vairables in compilation mode (file-name-nondirectory (buffer-file-name))) ".hpp\"" \n \n "using namespace std;" \n \n - "int main ()" + "int main (int argc, char *argv[])" "\n{" \n > _ \n "return 0;" @@ -2136,7 +2154,7 @@ Set the environments vairables in compilation mode (file-name-sans-extension (file-name-nondirectory (buffer-file-name))) ".h\"" \n \n - "int main ()\n" + "int main (int argc, char *argv[])\n" "{" \n > _ \n "return 0;\n"