(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)
stuff.el
and starting emacs withemacs -Q -l /path/to/file/stuff.el
- I got no error. So when/where did you get the error and what did it say? – NickD Dec 18 '22 at 19:43File 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
– Tunahan Deniz Dec 18 '22 at 19:53emacs -Q
worries about the.emacs
file at all (but I haven't tested, so there is always the possibility that I am mistaken). – NickD Dec 19 '22 at 02:33Opinion-based
. – NickD Dec 19 '22 at 05:53