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

backend company-capf error #56

Open
MarinosK opened this issue Mar 20, 2024 · 3 comments
Open

backend company-capf error #56

MarinosK opened this issue Mar 20, 2024 · 3 comments

Comments

@MarinosK
Copy link

Whenever I e.g. write SinOsc.ar() and with the pointer inside the parentheses, I get this:

Company: backend company-capf error "Scan error: "Containing expression ends prematurely", 198, 198" with args (prefix)

Debug trace:

Debugger entered--Lisp error: (scan-error "Containing expression ends prematurely" 198 198) scan-sexps(199 -1) forward-sexp(-1 nil) backward-sexp(1) sclang-completion-at-point() completion--capf-wrapper(sclang-completion-at-point optimist) company--capf-wrapper(sclang-completion-at-point optimist) company--capf-data-real() company--capf-data() company-capf(prefix) apply(company-capf prefix) company-call-backend-raw(prefix) company--force-sync(company-call-backend-raw (prefix) company-capf) company-call-backend(prefix) company--begin-new() company--perform() company-auto-begin() company-idle-begin(#<buffer *SCLang:Workspace*> #<window 3 on *SCLang:Workspace*> 426 199) apply(company-idle-begin (#<buffer *SCLang:Workspace*> #<window 3 on *SCLang:Workspace*> 426 199)) timer-event-handler([t 26107 20089 638185 nil company-idle-begin (#<buffer *SCLang:Workspace*> #<window 3 on *SCLang:Workspace*> 426 199) nil 0 nil])

I use GNU Emacs 29.1 (build 1, aarch64-apple-darwin23.1.0, Carbon Version 170 AppKit 2487.2) of 2023-11-11

@kflak
Copy link

kflak commented Jul 26, 2024

Can confirm the same error, using corfu and cape.

System: arch linux, emacs 29.4

@dylangleason
Copy link

Also can confirm on Linux 6.10.10-arch1-1 and using Emacs 29.4

@kflak
Copy link

kflak commented Sep 16, 2024

Emacs 31, same story...

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

3 participants