Я пытаюсь получить солнечную цветовую тему в emacs 23 по http://david.rothlis.net/emacs/customize_colors.html. Я поместил все папки и файлы в ~/.emacs.d. Затем я добавил:Каков правильный синтаксис файла .emacs в emacs 23?
(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:)
с отладкой Thats:
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)