当前位置: 技术问答>linux和unix
emacs显示行号问题
来源: 互联网 发布时间:2017-02-02
本文导语: 我在linux中的目录/usr/share/emacs/sit-lsp/中添加了linum.el 在.emacs 中添加 (add-to-list 'load-path "/usr/share/emacs/site-lisp/") (require 'linum) (global-linum-mode 1) 可是加载文件时候出现下面情况 (emacs) Loading disp-table...done Loadin...
我在linux中的目录/usr/share/emacs/sit-lsp/中添加了linum.el
在.emacs 中添加
(add-to-list 'load-path "/usr/share/emacs/site-lisp/")
(require 'linum)
(global-linum-mode 1)
可是加载文件时候出现下面情况
(emacs)
Loading disp-table...done
Loading tool-bar...done
Loading image...done
Loading tooltip...done
Loading /usr/share/emacs/site-lisp/site-start.d/igrep-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/lang-coding-systems-init.el (source)...
Loading encoded-kb...done
Loading /usr/share/emacs/site-lisp/site-start.d/lang-coding-systems-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/php-mode-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/po-mode-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/psgml-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/python-mode-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/rpm-spec-mode-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/tramp-init.el (source)...done
Loading edmacro...done
Loading cl-macs...done
Loading /root/.emacs.d/themes/color-theme-example.el (source)...done
Loading /root/.emacs.d/themes/color-theme-library.el (source)...done
Loading easy-mmode...done
An error has occurred while loading `/root/.emacs':
Symbol's function definition is void: define-globalized-minor-mode
To ensure normal operation, you should investigate the cause
of the error in your initialization file and remove it. Start
Emacs with the `--debug-init' option to view a complete error
backtrace
在emacs中也不显示行号,请问一下,有谁知道该怎么做,还有emacs在启动时候都是加载什么文件,比如root/下面的.emacs
除了这个还有其他的没有;
另外谁有emacs的很好的插件,也可以给我留个链接
到底要在emacs里怎样显示行号应该怎么办呢,请指点一下……非常感谢!!!
在.emacs 中添加
(add-to-list 'load-path "/usr/share/emacs/site-lisp/")
(require 'linum)
(global-linum-mode 1)
可是加载文件时候出现下面情况
(emacs)
Loading disp-table...done
Loading tool-bar...done
Loading image...done
Loading tooltip...done
Loading /usr/share/emacs/site-lisp/site-start.d/igrep-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/lang-coding-systems-init.el (source)...
Loading encoded-kb...done
Loading /usr/share/emacs/site-lisp/site-start.d/lang-coding-systems-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/php-mode-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/po-mode-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/psgml-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/python-mode-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/rpm-spec-mode-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/tramp-init.el (source)...done
Loading edmacro...done
Loading cl-macs...done
Loading /root/.emacs.d/themes/color-theme-example.el (source)...done
Loading /root/.emacs.d/themes/color-theme-library.el (source)...done
Loading easy-mmode...done
An error has occurred while loading `/root/.emacs':
Symbol's function definition is void: define-globalized-minor-mode
To ensure normal operation, you should investigate the cause
of the error in your initialization file and remove it. Start
Emacs with the `--debug-init' option to view a complete error
backtrace
在emacs中也不显示行号,请问一下,有谁知道该怎么做,还有emacs在启动时候都是加载什么文件,比如root/下面的.emacs
除了这个还有其他的没有;
另外谁有emacs的很好的插件,也可以给我留个链接
到底要在emacs里怎样显示行号应该怎么办呢,请指点一下……非常感谢!!!
|
/usr/share/emacs/site-lisp/ 这个貌似不用添加吧
|
这么久了,居然没有人回答!