From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Nick OBrien via "Bug reports for GNU Emacs, the Swiss army knife of text editors" 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 00:56:38 +0000 Message-ID: Reply-To: Nick OBrien Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15831"; mail-complaints-to="usenet@ciao.gmane.io" To: 72203@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 20 02:58:29 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 1sUyQf-0003vZ-DU for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Jul 2024 02:58:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sUyQK-0002Hg-0A; Fri, 19 Jul 2024 20:58:08 -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 1sUyQG-0002HS-7G for bug-gnu-emacs@gnu.org; Fri, 19 Jul 2024 20:58:04 -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 1sUyQF-000819-R5 for bug-gnu-emacs@gnu.org; Fri, 19 Jul 2024 20:58:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sUyQE-0002Kg-Eh for bug-gnu-emacs@gnu.org; Fri, 19 Jul 2024 20:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nick OBrien Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Jul 2024 00:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72203 X-GNU-PR-Package: emacs X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.17214370298903 (code B ref -1); Sat, 20 Jul 2024 00:58:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Jul 2024 00:57:09 +0000 Original-Received: from localhost ([127.0.0.1]:51418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sUyPN-0002JW-3m for submit@debbugs.gnu.org; Fri, 19 Jul 2024 20:57:09 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:37048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sUyPK-0002JO-4Y for submit@debbugs.gnu.org; Fri, 19 Jul 2024 20:57:07 -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 1sUyPI-00027q-0o for bug-gnu-emacs@gnu.org; Fri, 19 Jul 2024 20:57:04 -0400 Original-Received: from mail-4316.protonmail.ch ([185.70.43.16]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sUyPB-0007xk-Tr for bug-gnu-emacs@gnu.org; Fri, 19 Jul 2024 20:57:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1721437004; x=1721696204; bh=gC6Z4Dabr2txOdi9vKjfwunYH9fBZPeBsPdo4t1ry2Q=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=OVzWOXs/JwRuzhWKdvAvQ4hRfer6RLM5bHieiXOlnpdBRctCGy9lzyGD0Z208Wqk4 HaVVZO8KzHs44zgxamdkLKk8y3pVc9XfPhvQYJYmPgLIdsexzuWSGrr16lGB13bnwx 6pf/euAaPKFFedGtS+/iterwW1oSeMrGXh1F4+NHl2aL0Wc5DV1IeLvy4NOseS7C0b 6t4YsxGe6jM7eETs5/XR/rh1RqOdn/7yzpZ3rxYkwAIEeZMz4FZzhl0Vx5Z6XmUkqa xdqmFeaSIQfV6QEUAcNb2fJhnDanUYmHftQIoavcSXc5OdslGWGcl1rKX1VNaeUWhW MvkKgmQu0I3xw== Feedback-ID: 53815645:user:proton X-Pm-Message-ID: 25c83e9fe2a2a810e4259b3f4429c93d33b48173 Received-SPF: pass client-ip=185.70.43.16; envelope-from=nick4f42@proton.me; helo=mail-4316.protonmail.ch X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:289007 Archived-At: 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-fu= nction (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/licen= ses/gpl-3.0.txt" nil nil "https://www.gnu.org/licenses/gpl-3.0.txt" (nil ni= l)) 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.t= xt")) t) elisp--eval-last-sexp(nil) #f(compiled-function () #)() eval-last-sexp(nil) funcall-interactively(eval-last-sexp nil) command-execute(eval-last-sexp) In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.0, Xaw3d scroll bars) Repository revision: 99b360bb5aabf324cf038c27ac76ac1513319754 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101013 System Description: NixOS 24.05 (Uakari) Configured using: 'configure --prefix=3D/nix/store/1wzjg52vljqzzwgj3i1wvlq8ybz8safl-emacs-git-20240718.= 0 --disable-build-details --with-modules --with-x-toolkit=3Dlucid --with-cairo --with-xft --with-compress-install --with-toolkit-scroll-bars --with-native-compilation --without-imagemagick --with-mailutils --without-small-ja-dic --with-tree-sitter --with-xinput2 --without-xwidgets --with-dbus --with-selinux' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XAW3D XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LC_MONETARY: en_US.UTF-8 value of $LC_NUMERIC: en_US.UTF-8 value of $LC_TIME: en_US.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t buffer-read-only: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr jka-compr misearch multi-isearch emacsbug help-fns radix-tree cl-extra cl-print mm-archive message sendmail yank-media dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util mailabbrev gmm-utils mailheader mm-decode mm-bodies mm-encode mail-utils gnutls network-stream url-cache url-dav parse-time iso8601 xml url-http url-auth mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm puny url-handlers browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf mailcap eglot external-completion jsonrpc xref flymake thingatpt project compat diff diff-mode track-changes easy-mmode ert pp ewoc debug backtrace help-mode find-func filenotify warnings compile text-property-search comint ansi-osc ansi-color ring pcase url-util url-parse auth-source cl-seq eieio eieio-core cl-macs icons password-cache json map byte-opt gv bytecomp byte-compile url-vars imenu time-date subr-x cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo x-toolkit xinput2 x multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 176537 29166) (symbols 48 11470 0) (strings 32 36163 1998) (string-bytes 1 1251305) (vectors 16 22615) (vector-slots 8 273895 25920) (floats 8 60 96) (intervals 56 3301 59) (buffers 992 17))