dennisog / julia-shell-mode

Emacs major mode for an interactive Julia shell.
GNU General Public License v2.0
42 stars 10 forks source link

Cannot open load file, no such file or directory, julia-mode #9

Open prayagupa opened 8 years ago

prayagupa commented 8 years ago

I cloned the repository to ~/.emacs.d and added following config to init.el

(add-to-list 'load-path "~/.emacs.d/julia-shell-mode")
(require 'julia-shell)

but I get error

Warning (initialization): An error occurred while loading `/Users/prayagupd/.emacs.d/init.el':

File error: Cannot open load file, no such file or directory, julia-mode

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.
Debugger entered--Lisp error: (file-error "Cannot open load file" "no such file or directory" "julia-mode")
  require(julia-mode)
  eval-buffer(#<buffer  *load*-272268> nil "/Users/prayagupd/.emacs.d/julia-shell-mode/julia-shell.el" nil t)  ; Reading at buffer position 1772
  load-with-code-conversion("/Users/prayagupd/.emacs.d/julia-shell-mode/julia-shell.el" "/Users/prayagupd/.emacs.d/julia-shell-mode/julia-shell.el" nil t)
  require(julia-shell)
  eval-buffer(#<buffer  *load*> nil "/Users/prayagupd/.emacs.d/init.el" nil t)  ; Reading at buffer position 3086
  load-with-code-conversion("/Users/prayagupd/.emacs.d/init.el" "/Users/prayagupd/.emacs.d/init.el" t t)
  load("/Users/prayagupd/.emacs.d/init" t t)
  #[0 "\205\262    \306=\203\307\310Q\202;   \311=\204\307\312Q\202;\313\307\314\315#\203*\316\202;\313\307\314\317#\203:\320\nB\321\202;\316\322\323\322\211#\210\322=\203a\324\325\326\307\327Q!\"\323\322\211#\210\322=\203`\210\203\243\330!\331\232\203\243\332!\211\333P\334!\203}\211\202\210\334!\203\207\202\210\314\262\203\241\335\"\203\237\336\337#\210\340\341!\210\266\f?\205\260\314\323\342\322\211#)\262\207" [init-file-user system-type delayed-warnings-list user-init-file inhibit-default-init inhibit-startup-screen ms-dos "~" "/_emacs" windows-nt "/.emacs" directory-files nil "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "^_emacs\\(\\.elc?\\)?$" (initialization "`_emacs' init file is deprecated, please use `.emacs'") "~/_emacs" t load expand-file-name "init" file-name-as-directory "/.emacs.d" file-name-extension "elc" file-name-sans-extension ".el" file-exists-p file-newer-than-file-p message "Warning: %s is newer than %s" sit-for 1 "default"] 7 "\n\n(fn)"]()
  command-line()
  normal-top-level()
dennisog commented 8 years ago

Hi, it seems like you need to install & load julia-mode in order for this to work.