Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gives Error and Nothing More #72

Open
henrymazza opened this issue Aug 31, 2022 · 1 comment · May be fixed by #75
Open

Gives Error and Nothing More #72

henrymazza opened this issue Aug 31, 2022 · 1 comment · May be fixed by #75

Comments

@henrymazza
Copy link

henrymazza commented Aug 31, 2022

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 added a commit to sellout/epresent that referenced this issue Jun 30, 2023
This variable gets set buffer-locally by Org, but it defaults to nil and may be
nil in some cases when `epresent-fontify` is called. So this ensures it’s set
before using it as a regexp (otherwise `re-search-forward` will error.

Fixes eschulte#72.
@sellout
Copy link

sellout commented Jun 30, 2023

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.

@sellout sellout linked a pull request Jun 30, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants