From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#72203: 31.0.50; browse-url-emacs (url-file-handler) errors when eglot is loaded Date: Sat, 20 Jul 2024 10:11:43 +0300 Message-ID: <86ttgkedw0.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19627"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72203@debbugs.gnu.org To: Nick OBrien , =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= , Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 20 09:12:25 2024 Return-path: Envelope-to: geb-bug-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 1sV4GX-0004zW-AF for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Jul 2024 09:12:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sV4GC-0007HH-Pb; Sat, 20 Jul 2024 03:12:04 -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 1sV4GB-0007H6-A5 for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2024 03:12:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sV4GB-0007WF-1L for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2024 03:12:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sV4G9-00043j-Vn for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2024 03:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Jul 2024 07:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72203 X-GNU-PR-Package: emacs Original-Received: via spool by 72203-submit@debbugs.gnu.org id=B72203.172145951415588 (code B ref 72203); Sat, 20 Jul 2024 07:12:01 +0000 Original-Received: (at 72203) by debbugs.gnu.org; 20 Jul 2024 07:11:54 +0000 Original-Received: from localhost ([127.0.0.1]:51631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sV4G1-00043M-Mw for submit@debbugs.gnu.org; Sat, 20 Jul 2024 03:11:54 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sV4Fy-000438-QL for 72203@debbugs.gnu.org; Sat, 20 Jul 2024 03:11:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sV4Ft-0007V0-1O; Sat, 20 Jul 2024 03:11:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=XZKQYM0t787urA4Pv8c6womIYh4M20M54tTgaDtv1zg=; b=C9yYMZFO4mmWH03E8Pwf OQ5XIOoGKN5mWvjNz2a02bWmpEom/Zy7GTpmskHI+d4KtSCIlOQIZUBntrE/if95DnOt2HugJ+GSq noh4/zC+bARBRhEBEYAOIBe8zAa7lahr6Ioipa0yO7Djx7e4SixEiX9NCMSRmUJKpvOd0p6ciJz2l AdI2xQEGw88q3mciH+harB/623orPtO+o5dIISreLIzcTh6TaxnrU+eaR1OyiqxN49FcXPQGstBJD 0JNG5yDU9uxDWSh/pn5/g6CZq2JYCJi3YdIt5Dlcj9b/ZFXNOCwP7tmdBQfvICU6gdK3FutUHmOJo 6wziJuOhlIdd+A==; In-Reply-To: (bug-gnu-emacs@gnu.org) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:289011 Archived-At: > Date: Sat, 20 Jul 2024 00:56:38 +0000 > From: Nick OBrien via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Steps to reproduce: > > emacs -Q > > (require 'eglot) > (setq debug-on-error t) > (browse-url-emacs "https://www.gnu.org/licenses/gpl-3.0.txt") > > There is an error, but after the gpl-3.0.txt buffer is populated. I got > this backtrace (with long arguments manually replaced with ...): > > Debugger entered--Lisp error: (void-function nil) > nil(...) > url-directory-files("https://www.gnu.org/licenses/" nil ... t nil) > apply(url-directory-files ("https://www.gnu.org/licenses/" nil ... t nil)) > url-file-handler(directory-files "https://www.gnu.org/licenses/" nil ... t nil) > directory-files("https://www.gnu.org/licenses/" nil ... t) > #f(compiled-function (d) #)("https://www.gnu.org/licenses/") > locate-dominating-file("https://www.gnu.org/licenses/" #f(compiled-function (d) #)) > project-try-vc("https://www.gnu.org/licenses/") > run-hook-with-args-until-success(project-try-vc "https://www.gnu.org/licenses/") > project--find-in-directory("https://www.gnu.org/licenses/") > project-current() > eglot--current-project() > eglot-current-server() > eglot--maybe-activate-editing-mode() > run-hooks(after-change-major-mode-hook) > run-mode-hooks(text-mode-hook) > text-mode() > set-auto-mode-0(text-mode nil) > set-auto-mode--apply-alist(... nil nil) > set-auto-mode() > normal-mode(t) > after-find-file(nil t) > find-file-noselect-1(# "https://www.gnu.org/licenses/gpl-3.0.txt" nil nil "https://www.gnu.org/licenses/gpl-3.0.txt" (nil nil)) > find-file-noselect("https://www.gnu.org/licenses/gpl-3.0.txt" nil nil nil) > find-file-other-window("https://www.gnu.org/licenses/gpl-3.0.txt") > browse-url-emacs("https://www.gnu.org/licenses/gpl-3.0.txt") > (progn (browse-url-emacs "https://www.gnu.org/licenses/gpl-3.0.txt")) > eval((progn (browse-url-emacs "https://www.gnu.org/licenses/gpl-3.0.txt")) t) > elisp--eval-last-sexp(nil) > #f(compiled-function () #)() > eval-last-sexp(nil) > funcall-interactively(eval-last-sexp nil) > command-execute(eval-last-sexp) Adding João and Dmitry.