From 6d9503d41b759b76b794d2eecb969e7c3d85e986 Mon Sep 17 00:00:00 2001 From: Chizi123 <joelgrun@gmail.com> Date: Mon, 11 Mar 2019 10:31:07 +0000 Subject: [PATCH] Removed workgroups2, added org babel c support --- /dev/null | 7 --- tramp | 38 +++++++++++++++--- init.el | 2 config.org | 21 +++++++--- 4 files changed, 46 insertions(+), 22 deletions(-) diff --git a/config.org b/config.org index b71394d..6349e10 100644 --- a/config.org +++ b/config.org @@ -3,7 +3,7 @@ Dependencies needed for Aspell, poppler PDF-tools, compilers and ghost-script provided by mingw64 #+BEGIN_SRC emacs-lisp (when (eq system-type 'windows-nt) - ;; (add-to-list 'exec-path "C:/msys64/usr/bin") + (add-to-list 'exec-path "C:/msys64/usr/bin") (add-to-list 'exec-path "C:/msys64/mingw64/bin") (add-to-list 'exec-path "c:/Program Files/gnuplot") (setenv "PATH" (mapconcat #'identity exec-path path-separator))) @@ -282,11 +282,11 @@ ** Workgroups Open the pages when you quit #+BEGIN_SRC emacs-lisp -(use-package workgroups2 - :ensure t - :diminish workgroups-mode - :config - (workgroups-mode 1)) + ;; (use-package workgroups2 + ;; :ensure t + ;; :diminish workgroups-mode + ;; :config + ;; (workgroups-mode 1)) #+END_SRC ** ibuffer #+BEGIN_SRC emacs-lisp @@ -731,7 +731,7 @@ (setq matlab-indent-function t)) #+END_SRC -* Org mode +* Org mode ** Up to date org #+BEGIN_SRC emacs-lisp (use-package org @@ -762,3 +762,10 @@ :config (add-hook 'org-mode-hook (lambda () (org-bullets-mode)))) #+END_SRC +** Org Babel +*** Languages +Add C to org babel supported languages +#+BEGIN_SRC emacs-lisp + (add-to-list 'org-babel-load-languages '(C . t)) +#+END_SRC + diff --git a/init.el b/init.el index 86c8096..5950c68 100644 --- a/init.el +++ b/init.el @@ -37,7 +37,7 @@ '(ede-project-directories (quote ("c:/Users/joelg/.emacs.d"))) '(package-selected-packages (quote - (magit minesweeper speed-type spray fireplace powershell company-auctex company-bibtex company-irony-c-headers company-reftex gnuplot-mode gnuplot matlab-mode diminish keyfreq zenburn-theme yasnippet x86-lookup workgroups2 which-key volatile-highlights use-package undo-tree srefactor smartparens racket-mode popwin plantuml-mode pdf-tools org-bullets nyan-mode latex-preview-pane helm-projectile ggtags flycheck-pos-tip flycheck-clang-analyzer company-math company-c-headers clean-aindent-mode auto-package-update)))) + (csv-mode magit minesweeper speed-type spray fireplace powershell company-auctex company-bibtex company-irony-c-headers company-reftex gnuplot-mode gnuplot matlab-mode diminish keyfreq zenburn-theme yasnippet x86-lookup workgroups2 which-key volatile-highlights use-package undo-tree srefactor smartparens racket-mode popwin plantuml-mode pdf-tools org-bullets nyan-mode latex-preview-pane helm-projectile ggtags flycheck-pos-tip flycheck-clang-analyzer company-math company-c-headers clean-aindent-mode auto-package-update)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/snippets/latex-mode/ENGR10003 Assignment 1/A0 b/snippets/latex-mode/ENGR10003 Assignment 1/A0 deleted file mode 100644 index d823270..0000000 --- a/snippets/latex-mode/ENGR10003 Assignment 1/A0 +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: A0 -# key: A0 -# -- -\overline{A_0}\hspace{0.1cm} \ No newline at end of file diff --git a/snippets/latex-mode/ENGR10003 Assignment 1/A1 b/snippets/latex-mode/ENGR10003 Assignment 1/A1 deleted file mode 100644 index 0002fb9..0000000 --- a/snippets/latex-mode/ENGR10003 Assignment 1/A1 +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: A1 -# key: A1 -# -- -\overline{A_1}\hspace{0.1cm} \ No newline at end of file diff --git a/snippets/latex-mode/ENGR10003 Assignment 1/A2 b/snippets/latex-mode/ENGR10003 Assignment 1/A2 deleted file mode 100644 index 48ede9f..0000000 --- a/snippets/latex-mode/ENGR10003 Assignment 1/A2 +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: A2 -# key: A2 -# -- -\overline{A_2}\hspace{0.1cm} \ No newline at end of file diff --git a/snippets/latex-mode/ENGR10003 Assignment 1/A3 b/snippets/latex-mode/ENGR10003 Assignment 1/A3 deleted file mode 100644 index 2265f0e..0000000 --- a/snippets/latex-mode/ENGR10003 Assignment 1/A3 +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet -*- -# name: A3 -# key: A3 -# -- -\overline{A_3}\hspace{0.1cm} \ No newline at end of file diff --git a/snippets/org-mode/source-code-expand~ b/snippets/org-mode/source-code-expand~ deleted file mode 100644 index 3911f70..0000000 --- a/snippets/org-mode/source-code-expand~ +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: snippet -*- -# name: Org source code expand -# key: <s -# group: code snippets -#+BEGIN_SRC $0 -#+END_SRC -# -- diff --git a/tramp b/tramp index 38f96a3..78b4cca 100644 --- a/tramp +++ b/tramp @@ -1,4 +1,4 @@ -;; -*- emacs-lisp -*- <19/02/03 21:19:40 c:/Users/joelg/.emacs.d/tramp> +;; -*- emacs-lisp -*- <19/03/05 19:57:13 c:/Users/joelg/.emacs.d/tramp> ;; Tramp connection history. Don't change this file. ;; You can delete it, forcing Tramp to reapply the checks. @@ -48,7 +48,7 @@ ("ls" "/bin/ls --color=never") ("ls-quoting-style" t)) ((tramp-file-name "pscp" "joel" nil "49.177.178.176" "2222" nil nil) - ("uname" "Linux 4.20.5-1.g34ae151-default") + ("uname" "Linux 4.20.12-1.gb35c1fc-default") ("locale" "LC_ALL=en_US.utf8") ("test" "test") ("remote-path" @@ -63,10 +63,9 @@ ("perl-file-spec" t) ("perl-cwd-realpath" t) ("perl" "\\perl") - ("tmpdir" "/pscp:joel@49.177.178.176#2222:/tmp") - ("uid-integer" 1000) + ("case-insensitive" nil) ("readlink" "\\readlink") - ("case-insensitive" nil)) + ("git" "\\git")) ((tramp-file-name "pscp" "joel" nil "127.0.1.1" "123" nil nil) ("uname" "Linux 4.20.2-1-default") ("locale" "LC_ALL=en_US.utf8") @@ -85,7 +84,32 @@ ("perl-cwd-realpath" t) ("perl" "\\perl") ("git" "\\git")) - ((tramp-file-name "pscp" "joel" nil "127.0.0.1" "123" nil nil) + ((tramp-file-name "pscp" nil nil "192.168.1.26" nil nil nil) nil) - ((tramp-file-name "pscp" "joel" nil "127.0.0.1" "22" nil nil) + ((tramp-file-name "pscp" "joel" nil "192.168.1.26" nil nil nil) + ("uname" "Linux 4.20.12-1.gb35c1fc-default") + ("locale" "LC_ALL=en_US.utf8") + ("test" "test") + ("remote-path" + ("/bin" "/usr/bin" "/sbin" "/usr/sbin" "/usr/local/bin" "/usr/local/sbin")) + ("remote-shell" "/bin/sh") + ("~" "/home/joel") + ("file-exists" "test -e") + ("stat" "env QUOTING_STYLE=locale \\stat") + ("id" "/usr/bin/id") + ("gid-integer" 100) + ("gid-string" "users") + ("perl-file-spec" t) + ("perl-cwd-realpath" t) + ("perl" "\\perl") + ("case-insensitive" nil) + ("readlink" "\\readlink") + ("git" "\\git") + ("uid-integer" 1000) + ("tmpdir" "/pscp:joel@192.168.1.26:/tmp") + ("touch-t" t) + ("touch" "\\touch") + ("ls" "/bin/ls --color=never") + ("ls-quoting-style" t)) + ((tramp-file-name "pscp" nil nil "49.177.178.176" nil nil nil) nil)) -- Gitblit v1.9.3