Resolva os problemas de aviso ao iniciar o emacs no Ubuntu

1

Meu Emacs no Ubuntu sempre mostra avisos abaixo, o que é bastante irritante.

Warning (initialization): An error occurred while loading ‘/home/AROT/.emacs.d/init.el’:

error: Key sequence RET o starts with non-prefix key RET

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the ‘--debug-init’ option to view a complete error backtrace.

Então eu segui as instruções e iniciei o emacs com o comando emacs --debug-init e vi as seguintes informações:

Debugger entered--Lisp error: (file-missing "Cannot open load file" "No such file or directory" "tex-site")
  require(tex-site)
  eval-buffer(#<buffer  *load*-267398> nil "/home/AROT/.emacs.d/elpa/auctex-11.88.6/auctex-autoloads.el" nil t)  ; Reading at buffer position 10037
  load-with-code-conversion("/home/AROT/.emacs.d/elpa/auctex-11.88.6/auctex-autoloads.el" "/home/AROT/.emacs.d/elpa/auctex-11.88.6/auctex-autoloads.el" nil t)
  load("/home/AROT/.emacs.d/elpa/auctex-11.88.6/auctex-autoloads" nil t)
  package--activate-autoloads-and-load-path(#s(package-desc :name auctex :version (11 88 6) :summary "Integrated environment for *TeX*" :reqs nil :kind nil :archive nil :dir "/home/AROT/.emacs.d/elpa/auctex-11.88.6" :extras ((:url . "http://www.gnu.org/software/auctex/")) :signed nil))
  package--load-files-for-activation(#s(package-desc :name auctex :version (11 88 6) :summary "Integrated environment for *TeX*" :reqs nil :kind nil :archive nil :dir "/home/AROT/.emacs.d/elpa/auctex-11.88.6" :extras ((:url . "http://www.gnu.org/software/auctex/")) :signed nil) nil)
  package-activate-1(#s(package-desc :name auctex :version (11 88 6) :summary "Integrated environment for *TeX*" :reqs nil :kind nil :archive nil :dir "/home/AROT/.emacs.d/elpa/auctex-11.88.6" :extras ((:url . "http://www.gnu.org/software/auctex/")) :signed nil) nil deps)
  package-activate(auctex)
  package-initialize()
  byte-code("23!024!05670#0120\"13 7" [prelude-dir package-user-dir require cl package add-to-list package-archives ("melpa" . "http://melpa.org/packages/") t expand-file-name "elpa" package-initialize] 4)
  require(prelude-packages)
  eval-buffer(#<buffer  *load*> nil "/home/AROT/.emacs.d/init.el" nil t)  ; Reading at buffer position 4156
  load-with-code-conversion("/home/AROT/.emacs.d/init.el" "/home/AROT/.emacs.d/init.el" t t)
  load("/home/AROT/.emacs.d/init" t t)
  #f(compiled-function () #<bytecode 0x25ec51>)()
  command-line()
  normal-top-level()

Como eu tenho pouco conhecimento sobre o LISP, alguém poderia me ajudar nessa questão? Obrigado!

    
por ROBOT AI 17.08.2018 / 02:27

0 respostas