(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
;; Comment/uncomment this line to enable MELPA Stable if desired. See `package-archive-priorities`
;; and `package-pinned-packages`. Most users will not need or want to do this.
;;(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t)
(package-initialize)
;;; jedi completion
;;; see https://github.com/tkf/emacs-jedi
;; jedi dependency: deferred
(add-to-list 'load-path (expand-file-name
"~/.emacs.d/el-get/deferred"))
;; jedi dependency: deferred
(add-to-list 'load-path (expand-file-name
"~/.emacs.d/el-get/ctable"))
;; jedi dependency: epc
(add-to-list 'load-path (expand-file-name
"~/.emacs.d/el-get/epc"))
(add-to-list 'load-path (expand-file-name
"~/.emacs.d/el-get/jedi"))
(require 'jedi)
(setq jedi:server-args
'("--sys-path" "/usr/lib/python2.7/"
"--sys-path" "/usr/lib/python2.7/site-packages"))
(setq jedi:setup-keys t)
Warning (initialization): An error occurred while loading ‘/home/tuna/.emacs’:
File is missing: Cannot open load file, There is no such file or directory, jedi
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the ‘--debug-init’ option to view a complete error backtrace. Disable showing Disable logging
ı am new in using emacs and ı dont know how can ı install and use packages so what is basic alghoritm of install packages to emacs? when do ı use M-x shortcut when do ı add codes to initialization file? (ı mean .emacs file)