eschulte / epresent

Presentations in Emacs -- based on Org-mode
183 stars 51 forks source link

Gives Error and Nothing More #72

Open henrymazza opened 2 years ago

henrymazza commented 2 years ago

When running epresent-run I see the following error, it goes to Spacemacs' home screen, changes some fonts, goes fullscreen and nothing more:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  re-search-forward(nil nil t)
  epresent-fontify()
  epresent-mode()
  epresent-run()
  funcall-interactively(epresent-run)
  #<subr call-interactively>(epresent-run record nil)
  apply(#<subr call-interactively> epresent-run (record nil))
  call-interactively@ido-cr+-record-current-command(#<subr call-interactively> epresent-run record nil)
  apply(call-interactively@ido-cr+-record-current-command #<subr call-interactively> (epresent-run record nil))
  call-interactively(epresent-run record nil)
  command-execute(epresent-run record)
  helm-M-x-execute-command(epresent-run)
  helm-execute-selection-action-1()
  helm-execute-selection-action()
  helm-internal((((name . "Emacs Commands history") (init #f(compiled-function () #<bytecode 0x1b51de50f1b8b5eb>)) (candidates . helm-candidates-in-buffer) (cleanup . helm-M-x--unwind-forms) (keymap keymap (keymap ...) keymap (29 . helm-M-x-toggle-short-doc) (21 . helm-M-x-universal-argument) keymap (127 . delete-backward-char) (27 keymap ...) (C-return . helm-cr-empty-string) keymap (C-iso-lefttab . helm-follow-action-backward) (26 . helm-select-action) (tab . helm-execute-persistent-action) (17 . ace-jump-helm-line) (f12 . #f(compiled-function () ... #<bytecode 0x1f4042abc50680>)) (f11 . #f(compiled-function () ... #<bytecode 0x1f4042abd97680>)) (f10 . #f(compiled-function () ... #<bytecode 0x1f4042abd86680>)) (f9 . #f(compiled-function () ... #<bytecode 0x1f4042abde5680>)) (f8 . #f(compiled-function () ... #<bytecode 0x1f4042abdf4680>)) (f7 . #f(compiled-function () ... #<bytecode 0x1f4042abdab680>)) (f6 . #f(compiled-function () ... #<bytecode 0x1f4042abdba680>)) (f5 . #f(compiled-function () ... #<bytecode 0x1f4042abd79680>)) (f4 . #f(compiled-function () ... #<bytecode 0x1f4042abd68680>)) (f3 . #f(compiled-function () ... #<bytecode 0x1f4042abd4f680>)) (f2 . #f(compiled-function () ... #<bytecode 0x1f4042abd5e680>)) (menu-bar keymap ...) (help keymap ...) (23 . helm-helm-yank-text-at-point-with-subkeys) (f1 . #f(compiled-function () ... #<bytecode 0x1f4042abd3d680>)) (8) (20 . helm-toggle-resplit-and-swap-windows) ...) (action . helm-type-command-actions) (persistent-action . helm-M-x-persistent-action) (persistent-help . "Describe this command") (help-message . helm-M-x-help-message) (requires-pattern . 0) (filtered-candidate-transformer helm-M-x-transformer-no-sort #f(compiled-function (candidates source) #<bytecode -0x12935576f8d1210b>) helm-fuzzy-highlight-matches) (volatile . t) (match identity) (fuzzy-match . t) (redisplay . identity) (nomark . t) (coerce . helm-symbolify) (header-line . #("C-j: Describe this command (keep..." 0 3 ...)) (resume . helm-M-x-resume-fn) (multimatch . t) (must-match . t) (group . helm-command) (data . #f(compiled-function () #<bytecode -0xcfeb88b0388c217>)) (get-line . buffer-substring-no-properties) (search helm-mm-exact-search helm-mm-search helm-candidates-in-buffer-search-default-fn helm-fuzzy-search)) ((name . "Emacs Commands") (init #f(compiled-function () #<bytecode -0x1d7b6a0cbe7a02e2>)) (candidates . helm-candidates-in-buffer) (cleanup . helm-M-x--unwind-forms) (keymap keymap (keymap ...) keymap (29 . helm-M-x-toggle-short-doc) (21 . helm-M-x-universal-argument) keymap (127 . delete-backward-char) (27 keymap ...) (C-return . helm-cr-empty-string) keymap (C-iso-lefttab . helm-follow-action-backward) (26 . helm-select-action) (tab . helm-execute-persistent-action) (17 . ace-jump-helm-line) (f12 . #f(compiled-function () ... #<bytecode 0x1f4042abc50680>)) (f11 . #f(compiled-function () ... #<bytecode 0x1f4042abd97680>)) (f10 . #f(compiled-function () ... #<bytecode 0x1f4042abd86680>)) (f9 . #f(compiled-function () ... #<bytecode 0x1f4042abde5680>)) (f8 . #f(compiled-function () ... #<bytecode 0x1f4042abdf4680>)) (f7 . #f(compiled-function () ... #<bytecode 0x1f4042abdab680>)) (f6 . #f(compiled-function () ... #<bytecode 0x1f4042abdba680>)) (f5 . #f(compiled-function () ... #<bytecode 0x1f4042abd79680>)) (f4 . #f(compiled-function () ... #<bytecode 0x1f4042abd68680>)) (f3 . #f(compiled-function () ... #<bytecode 0x1f4042abd4f680>)) (f2 . #f(compiled-function () ... #<bytecode 0x1f4042abd5e680>)) (menu-bar keymap ...) (help keymap ...) (23 . helm-helm-yank-text-at-point-with-subkeys) (f1 . #f(compiled-function () ... #<bytecode 0x1f4042abd3d680>)) (8) (20 . helm-toggle-resplit-and-swap-windows) ...) (action . helm-type-command-actions) (persistent-action . helm-M-x-persistent-action) (persistent-help . "Describe this command") (help-message . helm-M-x-help-message) (requires-pattern . 0) (filtered-candidate-transformer helm-M-x-transformer-no-sort #f(compiled-function (candidates source) #<bytecode -0x12935576f8d1210b>) helm-fuzzy-highlight-matches) (volatile . t) (match identity) (fuzzy-match . t) (redisplay . identity) (nomark . t) (coerce . helm-symbolify) (header-line . #("C-j: Describe this command (keep..." 0 3 ...)) (resume . helm-M-x-resume-fn) (multimatch . t) (must-match . t) (group . helm-command) (data . #f(compiled-function () #<bytecode -0x119d385858ffd98>)) (get-line . buffer-substring-no-properties) (search helm-mm-exact-search helm-mm-search helm-candidates-in-buffer-search-default-fn helm-fuzzy-search))) nil "M-x " nil nil "*helm M-x*" nil nil helm-M-x-input-history)

epresent-quit goes back to initial state.

sellout commented 1 year ago

This could possibly be fixed by #74. However, there are a bunch of calls to re-search-forward in epresent-fontify, so there are other possibilities. Posting another PR for the most likely one.