From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: eglot: "Feature provided by other file: "project" Date: Mon, 12 Aug 2024 18:18:30 +0000 Message-ID: <4WjN7H2Szdz9rxN@submission02.posteo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9458"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 12 20:19:38 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sdZdp-0002FX-MP for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 12 Aug 2024 20:19:37 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sdZd4-0006t7-Gg; Mon, 12 Aug 2024 14:18:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sdZd2-0006sv-76 for help-gnu-emacs@gnu.org; Mon, 12 Aug 2024 14:18:48 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sdZcw-0004kh-6M for help-gnu-emacs@gnu.org; Mon, 12 Aug 2024 14:18:44 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 8648C240027 for ; Mon, 12 Aug 2024 20:18:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.jp; s=2017; t=1723486715; bh=SLAUzs1JoYX2HonzwtAj+Z4FPO335ktcIK5VGQd0zMQ=; h=Date:From:To:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id:From; b=BTcPvYsbuBe7q844eznGYpY8pww6TKhjZbgXN3Uv4TBQTVSF20PA38eGfpJ4A+sfn P+JTfiy297vNlwh2ufdBiOM/kr2Aw4tLjvSaQMRaAHB5+HpAChWmzyPMG3W2/LWqh8 /NGFIvRhkoOXQ7uyeWCbNKkgBeg6D2eeuwwHSmsuzYnONQAifO0G3O9qcuRiS2nvI6 DWxqKzbqX1oSPKaYrvlxKdwxkSzTsJfQURbuj+3qIHqW2vkubG4eKkO9Kt09B/05E6 7LyrySqYG5XbjzP51BhwJcG7b/ycwHEiQjaUjglyeSWM8udzzf5rGMiwcP/szvM95a Wr3lXLNLqkbzQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WjN7H0x9gz9rxM for ; Mon, 12 Aug 2024 20:18:34 +0200 (CEST) Received-SPF: pass client-ip=185.67.36.65; envelope-from=c.buhtz@posteo.jp; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:147643 Archived-At: Hello, I do get the long error and debug output you can see at the end of this file. I don't know what else to do. According to some comments in the internet it seems to be a dependency conflict. Not sure what it is. I also tried to load "project" before loading "eglot" With this lines. (use-package project :ensure t :defer nil ) But the error seems to be the same. I do not need "project" package. I don't use it myself. Debugger entered--Lisp error: (error "Feature provided by other file: project") error("Feature provided by other file: %S" project) require-with-check(project) mapc(require-with-check (project flymake xref jsonrpc external-completion)) byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\210\300\310!\210\300\311!\210\300\312\313\314#\210\300\315!\210\300\316!\210..." [require imenu cl-lib url-parse url-util pcase compile warnings filenotify ert text-property-search nil t diff-mode diff fboundp require-with-check #f(compiled-function (feature &rest _) #) eldoc reload seq mapc (project flymake xref jsonrpc 0xe7454d06d3b1d5f>external-completion) make-obsolete-variable 0xe7454d06d3b1d5f>eglot--managed-mode-hook eglot-managed-mode-hook 0xe7454d06d3b1d5f>"1.6" defvaralias 0xe7454d06d3b1d5f>eglot-confirm-server-initiated-edits 0xe7454d06d3b1d5f>eglot-confirm-server-edits (saved-value 0xe7454d06d3b1d5f>saved-variable-comment) put "1.16" 0xe7454d06d3b1d5f>eglot-events-buffer-size eglot-events-buffer-config 0xe7454d06d3b1d5f>defalias eglot--uri-to-path eglot-uri-to-path 0xe7454d06d3b1d5f>make-obsolete eglot--path-to-uri eglot-path-to-uri 0xe7454d06d3b1d5f>eglot--range-region eglot-range-region 0xe7454d06d3b1d5f>eglot--server-capable eglot-server-capable 0xe7454d06d3b1d5f>eglot--server-capable-or-lose 0xe7454d06d3b1d5f>eglot-server-capable-or-lose eglot-lsp-abiding-column 0xe7454d06d3b1d5f>eglot-utf-16-linepos "1.12" ...] 8) require(eglot nil 0xe7454d06d3b1d5f>t) (not (require 'eglot nil t)) (if (not (require 0xe7454d06d3b1d5f>'eglot nil t)) (display-warning 'use-package (format 0xe7454d06d3b1d5f>"Cannot load %s" 'eglot) :error)) (progn (let 0xe7454d06d3b1d5f>((custom--inhibit-theme-enable nil)) (if (memq 0xe7454d06d3b1d5f>'use-package custom-known-themes) nil 0xe7454d06d3b1d5f>(custom-declare-theme 'use-package 'use-package-theme 0xe7454d06d3b1d5f>nil) (enable-theme 'use-package) (setq 0xe7454d06d3b1d5f>custom-enabled-themes (remq 'use-package 0xe7454d06d3b1d5f>custom-enabled-themes))) (custom-theme-set-variables 0xe7454d06d3b1d5f>'use-package '(eglot-autoshutdown t nil nil 0xe7454d06d3b1d5f>"Customized with use-package eglot") 0xe7454d06d3b1d5f>'(flymake-no-changes-timeout 5 nil nil "Customized 0xe7454d06d3b1d5f>with use-package eglot"))) (if (not (require 'eglot 0xe7454d06d3b1d5f>nil t)) (display-warning 'use-package (format "Cannot 0xe7454d06d3b1d5f>load %s" 'eglot) :error)) (if (boundp 0xe7454d06d3b1d5f>'eglot-mode-map) (let* ((name "C-c a r") (key "\3ar") 0xe7454d06d3b1d5f>(kmap (or (if (and eglot-mode-map ...) (symbol-value 0xe7454d06d3b1d5f>eglot-mode-map) eglot-mode-map) global-map)) (kdesc 0xe7454d06d3b1d5f>(cons (if (stringp name) name (key-description name)) 0xe7454d06d3b1d5f>(if (symbolp eglot-mode-map) eglot-mode-map 0xe7454d06d3b1d5f>'eglot-mode-map))) (binding (lookup-key kmap key))) 0xe7454d06d3b1d5f>(let ((entry (assoc kdesc personal-keybindings)) 0xe7454d06d3b1d5f>(details (list #'eglot-rename (if ... nil binding)))) 0xe7454d06d3b1d5f>(if entry (setcdr entry details) (add-to-list 0xe7454d06d3b1d5f>'personal-keybindings (cons kdesc details)))) 0xe7454d06d3b1d5f>(define-key kmap key #'eglot-rename)) 0xe7454d06d3b1d5f>(eval-after-load 'eglot #'(lambda nil (let* ((name 0xe7454d06d3b1d5f>"C-c a r") (key "\3ar") (kmap ...) (kdesc ...) 0xe7454d06d3b1d5f>(binding ...)) (let (... ...) (if entry ... ...)) 0xe7454d06d3b1d5f>(define-key kmap key #'eglot-rename)))))) 0xe7454d06d3b1d5f>(condition-case err (progn (let 0xe7454d06d3b1d5f>((custom--inhibit-theme-enable nil)) (if (memq 0xe7454d06d3b1d5f>'use-package custom-known-themes) nil 0xe7454d06d3b1d5f>(custom-declare-theme 'use-package 'use-package-theme 0xe7454d06d3b1d5f>nil) (enable-theme 'use-package) (setq 0xe7454d06d3b1d5f>custom-enabled-themes (remq 'use-package 0xe7454d06d3b1d5f>custom-enabled-themes))) (custom-theme-set-variables 0xe7454d06d3b1d5f>'use-package '(eglot-autoshutdown t nil nil 0xe7454d06d3b1d5f>"Customized with use-package eglot") 0xe7454d06d3b1d5f>'(flymake-no-changes-timeout 5 nil nil "Customized 0xe7454d06d3b1d5f>with use-package eglot"))) (if (not (require 'eglot 0xe7454d06d3b1d5f>nil t)) (display-warning 'use-package (format "Cannot 0xe7454d06d3b1d5f>load %s" 'eglot) :error)) (if (boundp 0xe7454d06d3b1d5f>'eglot-mode-map) (let* ((name "C-c a r") (key "\3ar") 0xe7454d06d3b1d5f>(kmap (or (if ... ... eglot-mode-map) global-map)) 0xe7454d06d3b1d5f>(kdesc (cons (if ... name ...) (if ... eglot-mode-map 0xe7454d06d3b1d5f>...))) (binding (lookup-key kmap key))) (let ((entry 0xe7454d06d3b1d5f>(assoc kdesc personal-keybindings)) (details (list 0xe7454d06d3b1d5f>... ...))) (if entry (setcdr entry details) 0xe7454d06d3b1d5f>(add-to-list 'personal-keybindings (cons kdesc 0xe7454d06d3b1d5f>details)))) (define-key kmap key #'eglot-rename)) 0xe7454d06d3b1d5f>(eval-after-load 'eglot #'(lambda nil (let* (... ... 0xe7454d06d3b1d5f>... ... ...) (let ... ...) (define-key kmap key 0xe7454d06d3b1d5f>...)))))) ((debug error) (funcall 0xe7454d06d3b1d5f>use-package--warning30 :catch err))) load-with-code-conversion("/home/user/.emacs.d/init.el" "/home/user/.emacs.d/init.el" t t) load("/home/user/.emacs.d/init" noerror nomessage) startup--load-user-init-file(#f(compiled-function () #) #f(compiled-function () #) t) command-line() normal-top-level()