profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/mineo/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

metabrainz/picard 2522

MusicBrainz Picard audio file tagger

alastair/python-musicbrainzngs 219

Python bindings for Musicbrainz' NGS webservice

metabrainz/picard-plugins 111

Picard plugins: use 1.0 branch for Picard < 2.0 (python 2/Qt4) and 2.0 branch for Picard >= 2.0 (python 3/Qt5)

metabrainz/mb2wikidatabot 4

A bot for importing data from MusicBrainz into Wikidata

metabrainz/mbsssss 3

MusicBrainz simple Solr search server schema

mineo/abzer 2

AcousticBrainz submission tool

metabrainz/picard-plugin-tools 1

Tools to manage picard plugins

mineo/acousticbrainz-client 1

A client to upload data to an acousticbrainz server

ByronStar/mymixred 0

Nodejs Application

GollumEvent

issue commentplintx/mopidy-radionet

radionet/favorite_stations must be set

Duplicate of #10

LeafyLappa

comment created time in 17 days

push eventmineo/emacs-leuven-theme

Wieland Hoffmann

commit sha 85b283e074eddefa3a242880925de9577d976513

underline ahs-face

view details

push time in 18 days

push eventmineo/emacs-leuven-theme

Wieland Hoffmann

commit sha 3babdbc46962fb260328405d1ee1b19b67b195a7

Underline matching parens

view details

push time in 18 days

push eventmineo/emacs-leuven-theme

Wieland Hoffmann

commit sha 17a1c43cb51cf27be70c78dac2ad04bbecebf398

Use the same background color in ahs-* faces as in highlight-symbol-face

view details

push time in 18 days

push eventmineo/emacs-leuven-theme

Wieland Hoffmann

commit sha d2a482cba8f21a5d82ae393cf7b9e214c5c248fb

Fix typo

view details

Wieland Hoffmann

commit sha f97eb174f7278c56ac5ec04050c9c9e971fe1204

Use the same background color in ahs-* faces as in highlight-symbol-face

view details

push time in 18 days

issue openedemacs-lsp/lsp-mode

Disabling automatic installation for all clients doesn't work

Thank you for the bug report

  • [X] I am using the latest version of lsp-mode related packages.
  • [X] I checked FAQ and Troubleshooting sections
  • [X] You may also try reproduce the issue using clean environment using the following command
emacs -q -l lsp-start-plain.el

where lsp-start-plain.el can be downloaded here.

Bug description

Using the instructions to disable automatic installation for all clients/servers from https://emacs-lsp.github.io/lsp-mode/page/faq/#how-do-i-disable-automatic-installation-for-particular-language-server doesn't work anymore.

Steps to reproduce

Run

(add-hook 'lsp-mode-hook
   (lambda () (mapc (lambda (client) (setf (lsp-client-download-server-fn client) nil))
                    (ht-values lsp-clients))))

Open a file which runs lsp-mode-hook. For the lsp-start-plain.el example, I opened a python file. This asked me "Unable to find installed server supporting this file. The following servers could be installed automatically: " without providing any options. Pressing RET resulted in the stack trace seen below.

Expected behavior

No error.

Which Language Server did you use?

None in particular, but this happens in files using clangd.

OS

Linux

Error callstack

Debugger entered--Lisp error: (wrong-type-argument lsp--client nil)
  signal(wrong-type-argument (lsp--client nil))
  (or (and (memq (type-of client) cl-struct-lsp--client-tags) t) (signal 'wrong-type-argument (list 'lsp--client client)))
  (progn (or (and (memq (type-of client) cl-struct-lsp--client-tags) t) (signal 'wrong-type-argument (list 'lsp--client client))) (let* ((v client)) (aset v 32 (let* ((va (current-buffer)) (vlist (progn (or ... ...) (aref client 32)))) (if (memql va vlist) vlist (cons va vlist))))))
  (let ((client (lsp--completing-read (concat "Unable to find installed server supporting this fi..." "The following servers could be installed automatic...") clients (-compose #'symbol-name #'lsp--client-server-id) nil t))) (progn (or (and (memq (type-of client) cl-struct-lsp--client-tags) t) (signal 'wrong-type-argument (list 'lsp--client client))) (let* ((v client)) (aset v 32 (let* ((va (current-buffer)) (vlist (progn ... ...))) (if (memql va vlist) vlist (cons va vlist)))))) (lsp--install-server-internal client))
  (cond (matching-clients (if (setq lsp--buffer-workspaces (or (and (not (lsp-find-session-folder ... ...)) (lsp--try-open-in-library-workspace)) (lsp--try-project-root-workspaces (equal arg '...) (and arg (not ...))))) (progn (lsp-mode 1) (if lsp-auto-configure (progn (lsp--auto-configure))) (setq lsp-buffer-uri (lsp--buffer-uri)) (lsp--info "Connected to %s." (apply 'concat (mapcar #'... lsp--buffer-workspaces)))))) ((setq clients (lsp--filter-clients (-andfn #'lsp--matching-clients\? #'lsp--client-download-in-progress\?))) (lsp--info "There are language server(%s) installation in prog..." (-map #'lsp--client-server-id clients)) (seq-do #'(lambda (client) (progn (or (and ... t) (signal ... ...)) (let* (...) (aset v 32 ...)))) clients)) ((setq clients (lsp--filter-clients (-andfn #'lsp--matching-clients\? #'lsp--client-download-server-fn (-not #'lsp--client-download-in-progress\?)))) (let ((client (lsp--completing-read (concat "Unable to find installed server supporting this fi..." "The following servers could be installed automatic...") clients (-compose #'symbol-name #'lsp--client-server-id) nil t))) (progn (or (and (memq (type-of client) cl-struct-lsp--client-tags) t) (signal 'wrong-type-argument (list 'lsp--client client))) (let* ((v client)) (aset v 32 (let* (... ...) (if ... vlist ...))))) (lsp--install-server-internal client))) ((setq clients (if matching-clients nil (lsp--filter-clients (-andfn #'lsp--matching-clients\? (-not #'lsp--server-binary-present\?))))) (lsp--warn "The following servers support current file but do ..." (mapconcat #'(lambda (client) (symbol-name (progn ... ...))) clients " "))) ((not (lsp--filter-clients #'lsp--matching-clients\?)) (lsp--error "There are no language servers supporting current m..." major-mode major-mode major-mode)))
  (let (clients (matching-clients (lsp--filter-clients (-andfn #'lsp--matching-clients\? #'lsp--server-binary-present\?)))) (cond (matching-clients (if (setq lsp--buffer-workspaces (or (and (not ...) (lsp--try-open-in-library-workspace)) (lsp--try-project-root-workspaces (equal arg ...) (and arg ...)))) (progn (lsp-mode 1) (if lsp-auto-configure (progn (lsp--auto-configure))) (setq lsp-buffer-uri (lsp--buffer-uri)) (lsp--info "Connected to %s." (apply 'concat (mapcar ... lsp--buffer-workspaces)))))) ((setq clients (lsp--filter-clients (-andfn #'lsp--matching-clients\? #'lsp--client-download-in-progress\?))) (lsp--info "There are language server(%s) installation in prog..." (-map #'lsp--client-server-id clients)) (seq-do #'(lambda (client) (progn (or ... ...) (let* ... ...))) clients)) ((setq clients (lsp--filter-clients (-andfn #'lsp--matching-clients\? #'lsp--client-download-server-fn (-not #'lsp--client-download-in-progress\?)))) (let ((client (lsp--completing-read (concat "Unable to find installed server supporting this fi..." "The following servers could be installed automatic...") clients (-compose ... ...) nil t))) (progn (or (and (memq ... cl-struct-lsp--client-tags) t) (signal 'wrong-type-argument (list ... client))) (let* ((v client)) (aset v 32 (let* ... ...)))) (lsp--install-server-internal client))) ((setq clients (if matching-clients nil (lsp--filter-clients (-andfn #'lsp--matching-clients\? (-not ...))))) (lsp--warn "The following servers support current file but do ..." (mapconcat #'(lambda (client) (symbol-name ...)) clients " "))) ((not (lsp--filter-clients #'lsp--matching-clients\?)) (lsp--error "There are no language servers supporting current m..." major-mode major-mode major-mode))))
  (progn (let (clients (matching-clients (lsp--filter-clients (-andfn #'lsp--matching-clients\? #'lsp--server-binary-present\?)))) (cond (matching-clients (if (setq lsp--buffer-workspaces (or (and ... ...) (lsp--try-project-root-workspaces ... ...))) (progn (lsp-mode 1) (if lsp-auto-configure (progn ...)) (setq lsp-buffer-uri (lsp--buffer-uri)) (lsp--info "Connected to %s." (apply ... ...))))) ((setq clients (lsp--filter-clients (-andfn #'lsp--matching-clients\? #'lsp--client-download-in-progress\?))) (lsp--info "There are language server(%s) installation in prog..." (-map #'lsp--client-server-id clients)) (seq-do #'(lambda (client) (progn ... ...)) clients)) ((setq clients (lsp--filter-clients (-andfn #'lsp--matching-clients\? #'lsp--client-download-server-fn (-not ...)))) (let ((client (lsp--completing-read ... clients ... nil t))) (progn (or (and ... t) (signal ... ...)) (let* (...) (aset v 32 ...))) (lsp--install-server-internal client))) ((setq clients (if matching-clients nil (lsp--filter-clients (-andfn ... ...)))) (lsp--warn "The following servers support current file but do ..." (mapconcat #'(lambda ... ...) clients " "))) ((not (lsp--filter-clients #'lsp--matching-clients\?)) (lsp--error "There are no language servers supporting current m..." major-mode major-mode major-mode)))))
  (if (buffer-file-name) (progn (let (clients (matching-clients (lsp--filter-clients (-andfn #'lsp--matching-clients\? #'lsp--server-binary-present\?)))) (cond (matching-clients (if (setq lsp--buffer-workspaces (or ... ...)) (progn (lsp-mode 1) (if lsp-auto-configure ...) (setq lsp-buffer-uri ...) (lsp--info "Connected to %s." ...)))) ((setq clients (lsp--filter-clients (-andfn ... ...))) (lsp--info "There are language server(%s) installation in prog..." (-map #'lsp--client-server-id clients)) (seq-do #'(lambda ... ...) clients)) ((setq clients (lsp--filter-clients (-andfn ... ... ...))) (let ((client ...)) (progn (or ... ...) (let* ... ...)) (lsp--install-server-internal client))) ((setq clients (if matching-clients nil (lsp--filter-clients ...))) (lsp--warn "The following servers support current file but do ..." (mapconcat #'... clients " "))) ((not (lsp--filter-clients #'lsp--matching-clients\?)) (lsp--error "There are no language servers supporting current m..." major-mode major-mode major-mode))))))
  lsp()
  run-hooks(change-major-mode-after-body-hook prog-mode-hook python-mode-hook)
  apply(run-hooks (change-major-mode-after-body-hook prog-mode-hook python-mode-hook))
  run-mode-hooks(python-mode-hook)
  python-mode()

Anything else?

No response

created time in a month

push eventmineo/dotfiles

Wieland Hoffmann

commit sha 649b91f9c5f3570b02a16e9e033e6cef730dba8f

Disable auto-install of LSP servers

view details

Wieland Hoffmann

commit sha 722d2fff0a9011537bc7f4f8848dc4063543dfb4

spacemacs already includes github-clone

view details

push time in 3 months