sellout / emacs-color-theme-solarized

Emacs highlighting using Ethan Schoonover’s Solarized color scheme
http://ethanschoonover.com/solarized
MIT License
1.16k stars 202 forks source link

Unclear installation instructions #198

Open anderso opened 7 years ago

anderso commented 7 years ago

The first step of the installation instructions is this:

Add the emacs-color-theme-solarized directory to your Emacs custom-theme-load-path.

Where do I get this directory from, is it the contents of this repository? Or should I just create an empty directory?

anderso commented 7 years ago

I have now got it working. The Downloads section instructs to download it either from the Solarized homepage or the Solarized github page. But the emacs theme from the Solarized download seems to be organized differently.

I think the installation instructions assume that this repository has been downloaded. I also misunderstood the first step as meaning that I should put the directory emacs-color-theme-solarized in my custom-theme-load-path. But what it means is I should modify my custom-theme-load-path so that it includes the theme directory. I ended up putting it in ~/.emacs.d/ and adding this to my emacs init file:

(add-to-list 'custom-theme-load-path "~/.emacs.d/emacs-color-theme-solarized")                                                                                                                                                                              

And now it works. I still think that, if I'm not mistaken, the download and installation instructions are conflicting as it is now.

azzamsa commented 7 years ago

Sir @anderso

The steps is

  1. create a directory inside your .emacs.d directory named themes (or anything you want)
  2. put the downloaded files from this repository to your /themes dir
  3. add (load-theme 'solarized t) to your .init file (sometimes it will be .emacs file)
  4. save and reload the init ( you can do this by saving your .emacs and reload your emacs ) or by M-x eval-current-buffer.

please close this issue if it's already solved your problem and comment if still you have some eror

Thanks :)

anderso commented 7 years ago

Thanks, but the issue really is that the readme is broken, if you follow the instructions you will not end up with a working theme. So I would propose that it is changed or many others will also have difficulty installing the theme.

The download instructions tell you to download the theme from the Solarized distribution but the installation instruction assumes you have downloaded this repository.