From unknown Thu Jun 19 14:26:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42429: 28.0.50; browse-url-of-dired doesn't work on directories Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Jul 2020 19:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42429 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 42429@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15951870154538 (code B ref -1); Sun, 19 Jul 2020 19:31:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Jul 2020 19:30:15 +0000 Received: from localhost ([127.0.0.1]:33051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxF0k-00016M-VK for submit@debbugs.gnu.org; Sun, 19 Jul 2020 15:30:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:42382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxF0h-00012z-Ta for submit@debbugs.gnu.org; Sun, 19 Jul 2020 15:30:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60902) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxF0h-0003nq-NW for bug-gnu-emacs@gnu.org; Sun, 19 Jul 2020 15:30:07 -0400 Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:54538) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxF0g-0006Mk-1C for bug-gnu-emacs@gnu.org; Sun, 19 Jul 2020 15:30:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=zHCILdWVSkCRBNTt5TLJupubGVymd6iKhQH3bVs9xnw=; b=YT5fHzZpp0rYpqCjYF8peGEzt5 uN9NykdCa1yj0FjNBTmgiMtUMkisJ9j0V+z13k2Tu1M4/WsMZuVmGTgqkncyr9/i/zdf4COCBNd5w X3Y/eQwPgqqguyZckfTw+fF/IvD/rr1dCXsHZH+7z9dSNL3PK0VM9dS4pwbKlqMh/Qt0=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jxF0Y-00041x-1u for bug-gnu-emacs@gnu.org; Sun, 19 Jul 2020 21:30:03 +0200 From: Lars Ingebrigtsen Date: Sun, 19 Jul 2020 21:29:57 +0200 Message-ID: <87zh7vl2ve.fsf@gnus.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: To reproduce: C-x C-f /tmp Go to the "." directory M-x browse-url-of-dired-file Debugger entered--Lisp error: (wrong-type-argument arrayp nil) file-truename(nil) find-file-noselect-1(#> "file:///tmp" nil nil "/tmp" (24379393 66306)) find-file-noselect("file:///tmp" [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) To reproduce: C-x C-f /tmp Go to the "." directory M-x browse-url-of-dired-file Debugger entered--Lisp error: (wrong-type-argument arrayp nil) file-truename(nil) find-file-noselect-1(#> "file:///tmp" nil nil "/tmp" (24379393 66306)) find-file-noselect("file:///tmp" nil nil nil) find-file-other-window("file:///tmp") browse-url-emacs("file:///tmp" nil) apply(browse-url-emacs "file:///tmp" nil) browse-url("file:///tmp") browse-url-of-file("/tmp") browse-url-of-dired-file() funcall-interactively(browse-url-of-dired-file) call-interactively(browse-url-of-dired-file record nil) command-execute(browse-url-of-dired-file record) execute-extended-command(nil "browse-url-of-dired-file" nil) funcall-interactively(execute-extended-command nil "browse-url-of-dired-file" nil) call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) The question is... should this work? There's this commit from 2011, which seems to suggest that it should? But I have no idea what it's supposed to do. Just pop up a dired buffer? It's an odd thing to support. commit 2a86a00c4fbd998fedf778c65764f607f7da1855 Author: Ralph Schleicher AuthorDate: Sun May 8 14:34:51 2011 -0400 Commit: Chong Yidong CommitDate: Sun May 8 14:34:51 2011 -0400 Expand file names during browse-url-of-dired-file (Bug#8259). * lisp/net/browse-url.el (browse-url-of-dired-file): Allow browsing of special file names `.' and `..'. In GNU Emacs 28.0.50 (build 8, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2020-07-19 built on xo Repository revision: 17f646128f04e9e8590f0371026a14d516f21c63 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: Debian GNU/Linux bullseye/sid -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Thu Jun 19 14:26:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42429: 28.0.50; browse-url-of-dired doesn't work on directories Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Jul 2020 22:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42429 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 42429@debbugs.gnu.org Cc: Michael Albinus Received: via spool by 42429-submit@debbugs.gnu.org id=B42429.15958880061626 (code B ref 42429); Mon, 27 Jul 2020 22:14:01 +0000 Received: (at 42429) by debbugs.gnu.org; 27 Jul 2020 22:13:26 +0000 Received: from localhost ([127.0.0.1]:55953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0BN8-0000Q9-E3 for submit@debbugs.gnu.org; Mon, 27 Jul 2020 18:13:26 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0BN6-0000Pu-Vi for 42429@debbugs.gnu.org; Mon, 27 Jul 2020 18:13:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=R/mgNZ+zu97i0/TxKLwzpRaY9/Gnz138PogKk+XdErs=; b=BBwHMtL535EKNCCg/s9Iu1u/C5 ey8z9BI+kruqSxFMzgKtqNHFEC8EAkqBpSlxQkrXX0xu0sJnb1YRIPy0CGbd8JSyaO26pP46t8NRy uKaGCETlRtDtcrwbUnemN2/aFhN3/mjsRr9/bgR5xQ653y+Rmqlf/D6E+UEDQmd4j8Cg=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k0BMx-0005Q1-Va; Tue, 28 Jul 2020 00:13:18 +0200 From: Lars Ingebrigtsen References: <87zh7vl2ve.fsf@gnus.org> Date: Tue, 28 Jul 2020 00:13:14 +0200 In-Reply-To: <87zh7vl2ve.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 19 Jul 2020 21:29:57 +0200") Message-ID: <87ft9c4net.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > Debugger entered--Lisp error: (wrong-type-argument arrayp nil) > file-truename(nil) > find-file-noselect-1(#> "file:///tmp" nil nil "/tmp" (24379393 66306)) > find-file-noselect("file: [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > Debugger entered--Lisp error: (wrong-type-argument arrayp nil) > file-truename(nil) > find-file-noselect-1(#> "file:///tmp" nil nil "/tmp" (24379393 66306)) > find-file-noselect("file:///tmp" nil nil nil) > find-file-other-window("file:///tmp") > browse-url-emacs("file:///tmp" nil) It turns out that this is handled through the url-file-handler stuff... (defun browse-url-emacs (url &optional same-window) [...] (let ((file-name-handler-alist (cons (cons url-handler-regexp 'url-file-handler) file-name-handler-alist))) (if same-window (find-file url) (find-file-other-window url)))) (browse-url-emacs "file:///tmp" nil) Michael, do you know anything about this? :-) I'm wholly unfamiliar with the url-file-handler stuff or how it's supposed to work. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Thu Jun 19 14:26:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42429: 28.0.50; browse-url-of-dired doesn't work on directories Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Oct 2020 09:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42429 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 42429@debbugs.gnu.org Received: via spool by 42429-submit@debbugs.gnu.org id=B42429.160292667322894 (code B ref 42429); Sat, 17 Oct 2020 09:25:01 +0000 Received: (at 42429) by debbugs.gnu.org; 17 Oct 2020 09:24:33 +0000 Received: from localhost ([127.0.0.1]:33321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTiS0-0005xC-Ru for submit@debbugs.gnu.org; Sat, 17 Oct 2020 05:24:33 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTiRz-0005wv-IQ for 42429@debbugs.gnu.org; Sat, 17 Oct 2020 05:24:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=RoX7H5suv8N0NlUeKGD/B3agOU1Ct6QdpUOQifoA38g=; b=IuYR0dx653VUmawpJNuuyGDED8 Q8oK0+sg/f5tLsx8piFQPqDyyue7tsxHadcma/8cSkqOafheh3baFt6oY6eSDT/PdWySv7L1z0U1H YKxKPGD9XKFNzhRy/1GXCgYJsbvKXuAL9anOU5aZU4XhYhTpV1lQ3bS9kqSwuD2jllZk=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kTiRq-0001vY-TN for 42429@debbugs.gnu.org; Sat, 17 Oct 2020 11:24:25 +0200 From: Lars Ingebrigtsen References: <87zh7vl2ve.fsf@gnus.org> <87ft9c4net.fsf@gnus.org> X-Now-Playing: Machinedrum's _Vapor City Citizenship Programme_: "U Still Lie" Date: Sat, 17 Oct 2020 11:24:21 +0200 In-Reply-To: <87ft9c4net.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 28 Jul 2020 00:13:14 +0200") Message-ID: <87blh1urwa.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: This is now fixed on the trunk. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is now fixed on the trunk. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 17 05:24:39 2020 Received: (at control) by debbugs.gnu.org; 17 Oct 2020 09:24:39 +0000 Received: from localhost ([127.0.0.1]:33324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTiS7-0005xT-2J for submit@debbugs.gnu.org; Sat, 17 Oct 2020 05:24:39 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37742) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTiS5-0005xA-Kd for control@debbugs.gnu.org; Sat, 17 Oct 2020 05:24:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=pjY3wmE8YjY5/JjKbKryXPYsXl2f7xHakUyoe+ulduM=; b=PJXhQYBseXEf4g3Bx7E7k+KTbl gN2qUAmpFWvEtr0J0yojIjxItgIua2jEaDKNJkkEJuNOu56TQrF17Zvwd63gLldEb0/FfQg8UcOhB VEyyTMsg2BCSjRsJYA/05Ch/P5NKQdigs/EaOUsnvBdMrLbhoUj+/nDsvfoDzykTCz1c=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kTiRx-0001vf-SE for control@debbugs.gnu.org; Sat, 17 Oct 2020 11:24:32 +0200 Date: Sat, 17 Oct 2020 11:24:28 +0200 Message-Id: <87a6wlurw3.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #42429 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 42429 fixed close 42429 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 42429 fixed close 42429 28.1 quit