http://david.rothlis.net/emacs/customize_colors.htmlに従って、emacs 23でソラライズされたカラーテーマを取得しようとしています。すべてのフォルダーとファイルを ~/.emacs.d に配置しました。それから私は追加しました:
(add-to-list 'load-path "~/.emacs.d/color-theme-6.6.0"')
(add-to-list 'load-path "~/.emacs.d/emacs-color-theme-solarized-master"')
(require 'color-theme)
(require 'color-theme-solarized)
私の .emacs ファイルに。ただし、これにより次のエラーが発生します。
Warning (initialization): An error occurred while loading `/home/brain/.emacs':
Invalid read syntax: )
それをデバッグすると:
Debugger entered--Lisp error: (invalid-read-syntax ")")
eval-buffer(#<buffer *load*> nil "/home/brain/.emacs" nil t) ; Reading at buffer position 80
load-with-code-conversion("/home/brain/.emacs" "/home/brain/.emacs" t t)
load("~/.emacs" t t)
#[nil "\205\264
私は長い間これに取り組んできましたが、http://www.gnu.org/software/emacs/manual/html_node/emacs/Init-で、自分でこれを行う正しい方法を見つけることができないようです- Syntax.html#Init-Syntax、SO または他の場所で。私は Linux にまったく慣れていませんが、それが原因だとは思いません。どんな助けでも大歓迎です。ありがとう。
PSこれは私の.emacs全体がどのように見えるかです:
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:inherit nil :stipple nil :background "white" :foreground "black" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 83 :width normal :foundry "unknown" :family "DejaVu Sans Mono")))))
(add-to-list 'load-path "~/.emacs.d/color-theme-6.6.0"')
(add-to-list 'load-path "~/.emacs.d/emacs-color-theme-solarized-master"')
(require 'color-theme)
(require 'color-theme-solarized)