Emacs Prelude File Error Cannot Open Load File Package
Contents |
Sign in Pricing Blog Support Search GitHub This repository Watch 214 Star 3,144 Fork emacs cannot open load file vc-git 1,390 bbatsov/prelude Code Issues 133 Pull requests 10 Projects emacs cannot open load file color-theme 0 Wiki Pulse Graphs New issue New install, gets error: file-error "Cannot open load file" emacs cannot open load file no such file or directory "package" #85 Closed albertsj1 opened this Issue Feb 26, 2012 · 2 comments Projects None yet Labels None yet Milestone No milestone cannot open load file emacs Assignees No one assigned 2 participants albertsj1 commented Feb 26, 2012 Hi. I just followed the instructions to install emacs24 via homebrew and prelude and got the following error when running 'emacs --debug-init' Debugger entered--Lisp error: (file-error "Cannot open load file" "package") require(package) eval-buffer(#
Homebrew Install Emacs
Reading at buffer position 1205 load-with-code-conversion("/Users/jalberts/.emacs.d/modules/prelude-packages.el" "/Users/jalberts/.emacs.d/modules/prelude-packages.el" nil t) require(prelude-packages) eval-buffer(#
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this
Update Emacs Mac
site About Us Learn more about Stack Overflow the company Business Learn emacs require package more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question package-initialize x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up emacs https://github.com/bbatsov/prelude/issues/85 marmalade: “Cannot open load file”, “package” up vote 13 down vote favorite 2 I'm using emacs 24 and would like to install marmalade. I've tried adding the following to my ~/.emacs file, as per the instructions on http://marmalade-repo.org/: (require 'package) (add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/")) (package-initialize) When I try to reload e-macs I get the error: Error in init file: File error: "Cannot open http://stackoverflow.com/questions/20105967/emacs-marmalade-cannot-open-load-file-package load file", "package". What might be wrong? emacs elisp marmalade share|improve this question edited Nov 23 '14 at 3:59 Drew 19.6k53849 asked Nov 20 '13 at 20:10 The Unfun Cat 4,25874065 What happens if you interactively type M-x package-initialize? –Carl Groner Nov 20 '13 at 20:39 Don't know much about Emacs, I'd prefer direct dmg install ;-) –noob Nov 20 '13 at 22:46 6 I was using emacs 22 not 24. I deserve downvotes. –The Unfun Cat Nov 22 '13 at 7:13 add a comment| 2 Answers 2 active oldest votes up vote 7 down vote accepted Sounds like your version of Emacs does not come with library package.el. Does M-x find-library package find it? If not, you can try downloading it from the web (maybe start with Emacs Wiki), and then putting it in your load-path. But even in that case it might not work with your Emacs version. share|improve this answer answered Nov 20 '13 at 20:40 Drew 19.6k53849 add a comment| Did you find this question interesting? Try our newsletter Sign up for our newsletter and get our top new question
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack http://stackoverflow.com/questions/21733220/trying-to-install-malabar-mode-in-emacs-getting-cannot-open-load-file-malabar Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Trying to install malabar-mode in emacs, getting “Cannot open load file, malabar-mode” up vote 4 down vote cannot open favorite 5 So I've followed the instructions on the malabar-mode github page. I have emacs packages set up, with melpa added as a an archive (which is where malabar-mode is). mvm's containing directory is in my exec-path, and I have added the following to my ~/.emacs file, as per the README's instructions: (setq semantic-default-submodes '(global-semantic-idle-scheduler-mode global-semanticdb-minor-mode global-semantic-idle-summary-mode global-semantic-mru-bookmark-mode)) (semantic-mode 1) (require 'malabar-mode) (setq malabar-groovy-lib-dir "/path/to/malabar/lib") (add-to-list 'auto-mode-alist '("\\.java\\'" . malabar-mode)) However, cannot open load when I start up emacs, I get: Warning (initialization): An error occurred while loading `/Users/kalaracey/.emacs': File error: Cannot open load file, malabar-mode How can I get malabar mode to work? I am using Emacs 24, which has CEDET built in, so that is why I have added the above code to my ~/.emacs file (as per the instructions). java maven emacs elisp melpa share|improve this question edited Feb 12 '14 at 20:51 Chris 28.4k115357 asked Feb 12 '14 at 16:07 kalaracey 3531820 2 You're probably missing (package-initialize) at the top of your ~/.emacs. I just installed malabar-mode and it works. –abo-abo Feb 12 '14 at 16:10 Out of curiosity, you have changed (setq malabar-groovy-lib-dir "/path/to/malabar/lib") to an acutal path on your system? –Orpheus Feb 12 '14 at 16:38 You are using the Emacs 23.x instructions rather than the 24. –M Smith Feb 12 '14 at 23:20 add a comment| 1 Answer 1 active oldest votes up vote 6 down vote malabar-mode was added to MELPA so you do not need to install it by hand anymore. To install (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t) (package-initialize) (package-install 'malabar-mode) (package-install 'flycheck) ;; This is optional but nice to have In .emacs. Because malabar-mode takes so long to load (over