help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with LSP-Mode for PHP with Intelephense


From: Emanuel Berg
Subject: Re: Help with LSP-Mode for PHP with Intelephense
Date: Tue, 22 Mar 2022 20:21:46 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Cheshire Yang wrote:

> I need help setting up emacs as a PHP IDE. I'm using Emacs
> 27 on NixOS.

Emacs should already offer a PHP IDE, but other than that cool
combo :)

> First, it should be noted that MELPA works for me _very_
> inconsistently, though the configuration and everything
> looks fine. I was not able to connect to MELPA today

What exactly did you do, error message etc?

> When I run `M-x lsp` to start the server however, I get
> a strange error. This is the output with toggle debug on
> error:
>
> Debugger entered--Lisp error: (void-function -andfn)
>   (-andfn #'lsp--supports-buffer\? #'lsp--server-binary-present\?)
>   (lsp--filter-clients (-andfn #'lsp--supports-buffer\?
> #'lsp--server-binary-present\?))
>   (let (clients (matching-clients (lsp--filter-clients (-andfn
> #'lsp--supports-buffer\? #'lsp--server-binary-present\?))))
> (cond (matching-clients (if (setq lsp--buffer-workspaces (or
> (and (not ...) (lsp--tr$
>   (progn (let (clients (matching-clients (lsp--filter-clients
> (-andfn #'lsp--supports-buffer\?
> #'lsp--server-binary-present\?)))) (cond (matching-clients (if
> (setq lsp--buffer-workspaces (or (and ... ...) (l$
>   (if (buffer-file-name) (progn (let (clients
> (matching-clients (lsp--filter-clients (-andfn
> #'lsp--supports-buffer\? #'lsp--server-binary-present\?))))
> (cond (matching-clients (if (setq lsp--buffer-workspac$
>   lsp(nil)
>   funcall-interactively(lsp nil)
>   call-interactively(lsp record nil)
>   command-execute(lsp record)
>   execute-extended-command(nil "lsp" "lsp")
>   funcall-interactively(execute-extended-command nil "lsp" "lsp")
>   call-interactively(execute-extended-command nil nil)
>   command-execute(execute-extended-command)
>
> I have no clue what any of that means

Me neither ... what is the server and "Intelephense"
you mention?

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]