phillord / lentic

Create views of the same content in two Emacs buffers
183 stars 12 forks source link

Error when run emacs --debug-init #48

Open tumashu opened 8 years ago

tumashu commented 8 years ago
Debugger entered--Lisp error: (void-variable lentic-init-functions)
  add-to-list(lentic-init-functions lentic-python-script-init)
  lentic-script-hook(python-mode-hook lentic-python-script-init)
  eval-buffer(#<buffer  *load*-57812> nil "/home/feng/.emacs.d/elpa/lentic-20160701.1549/lentic-autoloads.el" nil t)  ; Reading at buffer position 8645
  load-with-code-conversion("/home/feng/.emacs.d/elpa/lentic-20160701.1549/lentic-autoloads.el" "/home/feng/.emacs.d/elpa/lentic-20160701.1549/lentic-autoloads.el" nil t)
  load("/home/feng/.emacs.d/elpa/lentic-20160701.1549/lentic-autoloads" nil t)
  package--activate-autoloads-and-load-path([cl-struct-package-desc lentic (20160701 1549) "One buffer as a view of another" ((emacs (24 4)) (m-buffer (0 13)) (dash (2 5 0)) (f (0 17 2)) (s (1 9 0))) nil nil "/home/feng/.emacs.d/elpa/lentic-20160701.1549" nil nil])
  package--load-files-for-activation([cl-struct-package-desc lentic (20160701 1549) "One buffer as a view of another" ((emacs (24 4)) (m-buffer (0 13)) (dash (2 5 0)) (f (0 17 2)) (s (1 9 0))) nil nil "/home/feng/.emacs.d/elpa/lentic-20160701.1549" nil nil] nil)
  package-activate-1([cl-struct-package-desc lentic (20160701 1549) "One buffer as a view of another" ((emacs (24 4)) (m-buffer (0 13)) (dash (2 5 0)) (f (0 17 2)) (s (1 9 0))) nil nil "/home/feng/.emacs.d/elpa/lentic-20160701.1549" nil nil] nil deps)
  package-activate(lentic)
  package-initialize()
  eval-buffer(#<buffer  *load*-996198> nil "/home/feng/project/emacs-packages/emacs-helper/eh-basic.el" nil t)  ; Reading at buffer position 2190
  load-with-code-conversion("/home/feng/project/emacs-packages/emacs-helper/eh-basic.el" "/home/feng/project/emacs-packages/emacs-helper/eh-basic.el" nil nil)
  load("eh-basic")
  load-library("eh-basic")
  eval-buffer(#<buffer  *load*-667174> nil "/home/feng/project/emacs-packages/emacs-helper/emacs-helper.el" nil t)  ; Reading at buffer position 26
  load-with-code-conversion("/home/feng/project/emacs-packages/emacs-helper/emacs-helper.el" "/home/feng/project/emacs-packages/emacs-helper/emacs-helper.el" nil t)
  require(emacs-helper)
  eval-buffer(#<buffer  *load*> nil "/home/feng/.emacs" nil t)  ; Reading at buffer position 530
  load-with-code-conversion("/home/feng/.emacs" "/home/feng/.emacs" t t)
  load("~/.emacs" t t)
  #[0 "\205\266
phillord commented 8 years ago

Oops....

Hopefully this should be addressed now, let me know if not!

tumashu commented 8 years ago

Now it show:

Debugger entered--Lisp error: (void-variable lentic-config)
  (not lentic-config)
  redisplay_internal\ \(C\ function\)()
  message("Loading %s (source)...done" "/home/feng/project/emacs-packages/emacs-helper/eh-basic.el")
  load-with-code-conversion("/home/feng/project/emacs-packages/emacs-helper/eh-basic.el" "/home/feng/project/emacs-packages/emacs-helper/eh-basic.el" nil nil)
  load("eh-basic")
  load-library("eh-basic")
  eval-buffer(#<buffer  *load*-683658> nil "/home/feng/project/emacs-packages/emacs-helper/emacs-helper.el" nil t)  ; Reading at buffer position 26
  load-with-code-conversion("/home/feng/project/emacs-packages/emacs-helper/emacs-helper.el" "/home/feng/project/emacs-packages/emacs-helper/emacs-helper.el" nil t)
  require(emacs-helper)
  eval-buffer(#<buffer  *load*> nil "/home/feng/.emacs" nil t)  ; Reading at buffer position 616
  load-with-code-conversion("/home/feng/.emacs" "/home/feng/.emacs" t t)
  load("~/.emacs" t t)
  #[0 "\205\266
phillord commented 8 years ago

I'm struggling to see how this error could occur, other than lentic.el not having been loaded. Most of this stack trace comes from emacs-helper, eh-basic.el -- are you sure the error is not there.

tumashu commented 8 years ago

eh-basic.el seem to not load any lentic's things, I will find again.