From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#42429: 28.0.50; browse-url-of-dired doesn't work on directories Date: Sun, 19 Jul 2020 21:29:57 +0200 Message-ID: <87zh7vl2ve.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13612"; mail-complaints-to="usenet@ciao.gmane.io" To: 42429@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 19 21:31:12 2020 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 1jxF1j-0003O9-Ch for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Jul 2020 21:31:11 +0200 Original-Received: from localhost ([::1]:55010 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jxF1i-000405-2I for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Jul 2020 15:31:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33078) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxF1b-0003zd-1K for bug-gnu-emacs@gnu.org; Sun, 19 Jul 2020 15:31:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49738) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jxF1a-0006d5-OC for bug-gnu-emacs@gnu.org; Sun, 19 Jul 2020 15:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jxF1a-0001xb-KY for bug-gnu-emacs@gnu.org; Sun, 19 Jul 2020 15:31:02 -0400 X-Loop: help-debbugs@gnu.org 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-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15951870154538 (code B ref -1); Sun, 19 Jul 2020 19:31:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Jul 2020 19:30:15 +0000 Original-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 Original-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 Original-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 Original-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=; Original-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 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-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" Xref: news.gmane.io gmane.emacs.bugs:183256 Archived-At: 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