emacs - cperl mode
[dotfiles.git] / emacs.d_2 / config.org
index a128b4a..5d92caa 100644 (file)
@@ -39,7 +39,7 @@ Disable scroll bar, tool-bar and menu-bar
 
   (scroll-bar-mode 0)
   (tool-bar-mode 0)
-  (menu-bar-mode 0)
+  (menu-bar-mode 1)
 
   (setq debug-on-error t)
   (setq inhibit-startup-message t)
@@ -49,7 +49,9 @@ Disable scroll bar, tool-bar and menu-bar
 
 #+END_SRC
 
-* Use-package
+* Package Management Tools
+
+** Use-package
 
 Using [[https://github.com/jwiegley/use-package][use-package]] to manage emacs packages
 
@@ -63,6 +65,20 @@ Using [[https://github.com/jwiegley/use-package][use-package]] to manage emacs p
 
 #+END_SRC
 
+** El-get
+
+[[https://github.com/dimitri/el-get][El-get]] is package management tool, whicl allows to install external elisp package from any git repository not in mepla. 
+Check out [[http://tapoueh.org/emacs/el-get.html][el-get]].
+
+#+BEGIN_SRC emacs-lisp :tangle yes :results silent
+
+  (use-package el-get
+    :ensure t
+    :init
+    (add-to-list 'load-path "~/.emacs.d/el-get"))
+
+#+END_SRC
+
 * Color and Fonts Settings
 
 ** highlight current line
@@ -477,7 +493,16 @@ Type =o= to go to the link
 
 #+BEGIN_SRC emacs-lisp :tangle yes :results silent
 
-  (defalias 'perl-mode 'cperl-mode)
+   (defalias 'perl-mode 'cperl-mode)
+
+   (setq cperl-hairy t) ;; Turns on most of the CPerlMode options
+   (setq cperl-auto-newline t)
+   (setq cperl-highlight-variables-indiscriminately t)
+
+  ;(add-to-list 'load-path "~/.emacs.d/elisp/")
+  ;(require 'template)
+  ;(template-initialize)
+  ;(require 'perlnow)
 
 #+END_SRC