Emacs File Error Cannot Open Load File Color-theme
Contents |
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
Emacs Cannot Open Load File Vc-git
site About Us Learn more about Stack Overflow the company Business Learn more emacs cannot open load file package about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x emacs custom theme directory 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 Cannot open
Emacs Install Color Theme
load file | Emacs doesn't see my .el files even if they exist on MAC OS X? up vote 0 down vote favorite I recently started using MAC OS X Mavericks and I installed Emacs Version 24.3 (9.0) for MAC. Previously I used Emacs 23 on my Ubuntu laptop and everything worked great. I was trying to reset my .emacs init file on the MAC
Add The Emacs-color-theme-solarized Directory To Your Emacs Custom-theme-load-path
OS X (using the one I have created time after time on the Ubuntu laptop), but I came across some problems due some modes I used to use: When I start emacs I get the following error: File error: Cannot open load file, color-theme I know this usually happens when Emacs can't find the file but everything worked on Ubuntu, here is the Lisp: (add-to-list 'load-path "/usr/share/emacs/site-lisp/emacs-goodies-el/color-theme.el") (require 'color-theme) (eval-after-load "color-theme" '(progn (color-theme-initialize) (color-theme-dark-tonio))) Actually, the file /usr/share/emacs/site-lisp/emacs-goodies-el/color-theme.el exists on my MAC, but I get this error, does someone came across a similar problem and resolved it? What should I do? Thanks for the attention osx emacs load-path share|improve this question asked Jul 8 '14 at 14:21 tonix 1,69612057 Since you require color-theme just before, you don't need the eval-after-load wrapper which is just there to delay execution of the last two lines to after color-theme is loaded. –Stefan Jul 8 '14 at 14:33 add a comment| 2 Answers 2 active oldest votes up vote 3 down vote accepted load-path should contain the directory in which the file is found. I.e. use (add-to-list 'load-path "/usr/share/emacs/site-lisp/emacs-goodies-el/") share|improve this answer answ
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 Overflow the company Business Learn more about hiring unable to find theme file emacs developers or posting ads with us Emacs Questions Tags Users Badges Unanswered Ask Question _
Emacs Solarized Dark
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. Join them; it only takes a minute: Sign emacs load theme up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top How to install a color theme for Emacs 24? up vote 0 down vote http://stackoverflow.com/questions/24634270/cannot-open-load-file-emacs-doesnt-see-my-el-files-even-if-they-exist-on-mac favorite 1 Recently, I found a website providing many color themes for Emacs, so I decided to install one. However, I was confused by some instructions from web or other forums and I couldn't manage to install anything. So I come here to ask for help, hope someone could help me install a color theme for Emacs! My OS is Ubuntu. PS: I have downloaded one color theme, extract it to a folder called elisp, and wrote http://emacs.stackexchange.com/questions/5475/how-to-install-a-color-theme-for-emacs-24 the following command in the .emacs file (add-to-list 'load-path "~/elisp/black-theme-master") (require 'blackboard-theme) when I open Emacs, it gives me an error warning. Warning (initialization): An error occurred while loading `/home/shieh/.emacs': File error: Cannot open load file, blackboard-theme 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 the theme I got is here: Blackborad theme package themes emacs24.4 share|improve this question edited Dec 18 '14 at 3:32 asked Dec 17 '14 at 11:53 chinashieh 615 Could you edit your answer to explain what you have tried so far, please? –Dan♦ Dec 17 '14 at 12:57 1 Please also provide the link to where you got the color theme. A google search turned up this version of blackboard-theme, which suggests you need to use (load-theme 'blackboard t) in your init file. –Dan♦ Dec 17 '14 at 13:21 You mistyped "blackboard" as "blackborad". I suspect that there are other typos. Once you have found and fixed them, things will likely work as expected. As far as I know "Cannot open load file, SOMEFILE" always means "SOMEFILE isn't on the load-path". You say you did put it on the load-path, but that likely isn't true, probably because of a typo. –tarsius Dec 17 '14 at 22:05 add a
Sign in Pricing Blog Support Search GitHub This repository Watch 57 Star 999 Fork 189 sellout/emacs-color-theme-solarized Code https://github.com/sellout/emacs-color-theme-solarized/issues/174 Issues 24 Pull requests 11 Projects 0 Wiki Pulse Graphs New issue Cannot open load file: solarized-definitions #174 Open 4r1y4n opened this Issue Nov 29, 2015 · 15 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 3 participants 4r1y4n commented Nov 29, 2015 cannot open I'm using emacs 24.3.1 and i'm trying to load solarized theme: GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on lamiak, modified by Debian I copied solarized-theme.el color-theme-solarized.el solarized-definitions.el into my ~/.emacs.d then I run M-x load-theme -> solarized or M-x customize-themes -> check solarized in both ways I get "cannot open cannot open load load file: solarized-definitions" ! What is the problem? Owner sellout commented Nov 29, 2015 Not to be curt, but just to ensure I make the directions as clear as possible for everyone, can you start from https://github.com/sellout/emacs-color-theme-solarized/blob/master/README.md#installation--usage and let me know if you have any issues then? Thanks. 4r1y4n commented Nov 29, 2015 Actually I did ! I just summarized it here! doing what https://github.com/sellout/emacs-color-theme-solarized/blob/master/README.md#installation--usage says (at Emacs 24 section) causes same error on startup: Warning (initialization): An error occurred while loading `/home/r1y4n/.emacs': File error: Cannot open load file, solarized-definitions 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. While the solarized-definitions.el is there: r1y4n@r1y4n-PC:~/.emacs.d$ ls -l total 156 drwx------ 3 r1y4n r1y4n 4096 Nov 29 18:29 ./ drwx------ 124 r1y4n r1y4n 69632 Nov 29 18:18 ../ drwx------ 2 r1y4n r1y4n 4096 Nov 29