The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  ВХОД  слежка  RSS
"emacs не находит файл 'senator'. Как исправить?"
Вариант для распечатки  
Пред. тема | След. тема 
Форумы Программирование под UNIX (Public)
Изначальное сообщение [Проследить за развитием треда]

"emacs не находит файл 'senator'. Как исправить?" 
Сообщение от chainik Искать по авторуВ закладки(??) on 10-Дек-05, 12:58  (MSK)
emacs вылетает с ошибкой

An error has occured while loading '~/.emacs':
File error: "Cannot open load file", "senator"

В файле ".emacs" (приводится внизу) никакой "senator" не упоминается - ерунда какая-то.
Как поправить?

Ошибка появилась после того как я поэкспериментировал с галочками в меню X-окна emacs, но теперь я уже не могу указать эти меню, т.к. они простто не появляются, а что именно было сделано - не помню. Однако перед этим я установил cedet и ecb. Вначале вроде бы работало, запускались какие-то анализирующие окна, хотя оценить это дело мне трудно, т.к. я новичек...

Вот конфигурационный файл:

(custom-set-variables
  ;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
'(case-fold-search t)
'(current-language-environment "ASCII")
'(default-frame-alist (quote ((vertical-scroll-bars . right) (tool-bar-lines . 1) (menu-bar-lines . 1))))
'(desktop-enable t nil (desktop))
'(even-window-heights t)
'(global-font-lock-mode t nil (font-lock))
'(global-semantic-highlight-edits-mode t nil (semantic-util-modes))
'(global-semantic-idle-completions-mode nil nil (semantic-idle))
'(global-semantic-idle-scheduler-mode t nil (semantic-idle))
'(global-semantic-idle-summary-mode t nil (semantic-idle))
'(global-semantic-show-parser-state-mode t nil (semantic-util-modes))
'(global-semantic-show-unmatched-syntax-mode t nil (semantic-util-modes))
'(global-semantic-stickyfunc-mode nil nil (semantic-util-modes))
'(global-senator-minor-mode t nil (senator))
'(initial-frame-alist (quote ((height . 160) (left . 3000))))
'(make-backup-files nil)
'(mouse-wheel-mode t nil (mwheel))
'(pop-up-frame-alist (quote ((height . 10))))
'(save-place t nil (saveplace))
'(save-place-limit 100)
'(scroll-bar-mode (quote right))
'(split-height-threshold 500)
'(transient-mark-mode t)
'(visible-bell t)
'(which-function-mode t nil (which-func)))
(custom-set-faces
  ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
)
;;(desktop-load-default)
;;(desktop-read)

;; Load CEDET
(load-file "/root/sn/distributives/first/emacs/cedet-1.0pre3/common/cedet.el")

;; Enabling various SEMANTIC minor modes.  See semantic/INSTALL for more ideas.
;; Select one of the following
(semantic-load-enable-code-helpers)
;; (semantic-load-enable-guady-code-helpers)
;; (semantic-load-enable-excessive-code-helpers)

;; Enable this if you develop in semantic, or develop grammars
(semantic-load-enable-semantic-debugging-helpers)

(add-to-list 'load-path "/root/sn/distributives/first/emacs/ecb-2.32")
(require 'ecb)

  Правка | Высказать мнение | Ответить | Рекомендовать в FAQ | Cообщить модератору | Наверх

 Оглавление

Сообщения по теме [Сортировка по времени, UBB]

1. "emacs не находит файл 'senator'. Как исправить?" 
Сообщение от chainik Искать по авторуВ закладки(??) on 10-Дек-05, 13:23  (MSK)
Прошу прощения, я разобрался. Нужно, видимо, было в файле .emacs прописать загрузку cedet и ecb до custom-set-variables.
  Удалить Правка | Высказать мнение | Ответить | Рекомендовать в FAQ | Cообщить модератору | Наверх


Архив | Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Оцените тред (1=ужас, 5=супер)? [ 1 | 2 | 3 | 4 | 5 ]




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2025 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру