
;;; ------------------------------------------------------------------------------
;;; FILE        | .emacs-pkginit.el
;;; AUTHOR      | sameh kamal
;;; DESCRIPTION | emacs initial packages installation
;;; ------------------------------------------------------------------------------


(require 'package)

(add-to-list 'package-archives '("marmalade"    . "http://marmalade-repo.org/packages/"       ))
(add-to-list 'package-archives '("elpy"         . "http://jorgenschaefer.github.io/packages/" ))
(add-to-list 'package-archives '("melpa"        . "http://melpa.org/packages/"                ) t)

; list the packages you want
(setq package-list
      '(  use-package
	  python-environment
	  flycheck
	  elpy
	  jedi
	  seti-theme
      	  auto-complete
	  magit
	  yasnippet
	  highlight-parentheses
	  multiple-cursors
	  markdown-mode
	  markdown-mode+
	  dired+
	  diff-hl
	  org
       )
)

; activate all the packages
(package-initialize)

; fetch the list of packages available 
(unless package-archive-contents
  (package-refresh-contents))

; install the missing packages
(dolist (package package-list)
  (unless (package-installed-p package)
    (package-install package)))

;;; emacs-pkginit.el ends here

;; ------------------------------------------------------------------------------
;; FILE        | .emacs-pkginit.el
;; AUTHOR      | sameh kamal
;; DESCRIPTION | emacs initial packages installation
;; ------------------------------------------------------------------------------

(require 'package)

(add-to-list 'package-archives '("marmalade"    . "http://marmalade-repo.org/packages/"       ))
(add-to-list 'package-archives '("elpy"         . "http://jorgenschaefer.github.io/packages/" ))
(add-to-list 'package-archives '("melpa"        . "http://melpa.org/packages/"                ) t)

; list the packages you want
(setq package-list
      '(  use-package
	  python-environment
	  flycheck
	  elpy
	  jedi
	  seti-theme
      	  auto-complete
	  magit
	  yasnippet
	  auctex
	  highlight-parentheses
	  multiple-cursors
	  markdown-mode
	  markdown-mode+
	  dired+
	  diff-hl
	  org
       )
)

; activate all the packages
(package-initialize)

; fetch the list of packages available 
(unless package-archive-contents
  (package-refresh-contents))

; install the missing packages
(dolist (package package-list)
  (unless (package-installed-p package)
    (package-install package)))

;;; emacs-pkginit.el ends here

Add auctex to install packages list
Add auctex to install packages list

samehkamaleldin/dot-files,samehkamaleldin/linux-env-utils