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

Completion ends in error through enh-ruby-add-log-current-method #103

Closed
stardiviner opened this issue May 22, 2017 · 3 comments
Closed

Comments

@stardiviner
Copy link

Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
  enh-ruby-up-sexp()
  enh-ruby-add-log-current-method()
  robe-context()
  robe-call-context()
  robe-complete-thing("arg")
  completion-pcm--all-completions("" ("arg" point)
  completion-basic-all-completions("arg"
  completion--some(
  completion--nth-completion(2 "arg"
  completion-all-completions("arg"
  company-capf(candidates "arg")
  company--multi-backend-adapter-candidates((company-capf company-yasnippet) "arg" nil)
  company--multi-backend-adapter((company-capf :with company-yasnippet) candidates "arg")
  apply(company--multi-backend-adapter (company-capf :with company-yasnippet) (candidates "arg"))
  company-call-backend-raw(candidates "arg")
  company--fetch-candidates("arg")
  company-calculate-candidates("arg")
  company--begin-new()
  company--perform()
  company-auto-begin()
  company-idle-begin(#<buffer test.rb> #<window 30 on My Clojure Language Syntax Reference.org> 540 98)
  apply(company-idle-begin (#<buffer test.rb> #<window 30 on My Clojure Language Syntax Reference.org> 540 98))
  timer-event-handler([t 22818 50552 694303 nil company-idle-begin (#<buffer test.rb> #<window 30 on My Clojure Language Syntax Reference.org> 540 98) nil 545000])
Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
  enh-ruby-up-sexp()
  enh-ruby-add-log-current-method()
  robe-context()
  robe-call-context()
  robe-eldoc()
  eldoc-print-current-symbol-info()

After minimal Emacs -q test, confirmed comes from robe.
And robe Melpa version is 20170516.1757.

@dgutov
Copy link
Owner

dgutov commented May 22, 2017

Please look at the backtrace carefully: it comes from enh-ruby-add-log-current-method.

@dgutov dgutov changed the title Robe cause error Completion ends in error through enh-ruby-add-log-current-method May 22, 2017
@dgutov
Copy link
Owner

dgutov commented May 22, 2017

You can either file an issue there, or continue the discussion in zenspider/enhanced-ruby-mode#96

@stardiviner
Copy link
Author

Oh, sorry, I thought this might robe send call to enh-ruby-add-log-current-method with wrong number arguments so caused this issue, seems I'm wrong.

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

No branches or pull requests

2 participants