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#58464: 28.1; browse-url-emacs doesn't work for local files on Windows Date: Wed, 12 Oct 2022 13:10:24 +0200 Message-ID: <87tu49cn6n.fsf@gnus.org> References: <82k055fsos.fsf@gmail.com> <83mta1cxjk.fsf@gnu.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="34148"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Pascal Quesseveur , 58464@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 12 13:11:16 2022 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 1oiZds-0008fg-Hy for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Oct 2022 13:11:16 +0200 Original-Received: from localhost ([::1]:53272 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiZdr-0004fY-Fq for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Oct 2022 07:11:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49648) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiZde-0004fP-MN for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 07:11:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56787) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiZde-0004Tq-ET for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 07:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oiZde-0008KQ-A0 for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 07:11: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: Wed, 12 Oct 2022 11:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58464 X-GNU-PR-Package: emacs Original-Received: via spool by 58464-submit@debbugs.gnu.org id=B58464.166557303531975 (code B ref 58464); Wed, 12 Oct 2022 11:11:02 +0000 Original-Received: (at 58464) by debbugs.gnu.org; 12 Oct 2022 11:10:35 +0000 Original-Received: from localhost ([127.0.0.1]:55864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiZdD-0008Jf-CM for submit@debbugs.gnu.org; Wed, 12 Oct 2022 07:10:35 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:50238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiZdB-0008JP-Gl for 58464@debbugs.gnu.org; Wed, 12 Oct 2022 07:10:34 -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:References: In-Reply-To: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=VIP66M0SYBeTG5gejIlZYOKSFFN1rDlmfM9Q6LR7TKY=; b=ZJfbF2KSjkosdvA3Vs8+72K+C3 FK6E75LDTs6TBR6m0w2UpTMBNVyM2VRIuZyMVS6YbXGSTNdFNuREPXgXQoMFvQL8FOE1QZAnlBw2m vDo95W0HDlJbx+eDIz7538Z9+07C57WVmbVugOpxM+zPeCyTVzhFufGGFOAAYcAbgUOE=; Original-Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oiZd2-00061r-Pu; Wed, 12 Oct 2022 13:10:27 +0200 In-Reply-To: <83mta1cxjk.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 12 Oct 2022 10:26:39 +0300") X-Now-Playing: Nobukazu Takemura's _Music for the exhibition "Einheit"_: "(untitled)" 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:245187 Archived-At: Eli Zaretskii writes: >> emacs -Q >> (browse-url-emacs "file://C:/Windows/win.ini") -> Emacs hangs, nothing >> is displayed, C-g >> (browse-url-emacs "file:///C:/Windows/win.ini") -> file content is >> displayed, Message buffer contains: >> >> File exists, but cannot be read >> #> > > With Emacs 29, I get a different message: > > Use M-x make-directory RET RET to create the directory and its parents > > That's because the file's name and its default-directory are > incorrect: > > M-: buffer-file-name RET > => X:/C:/Windows/win.ini > M-: default-directory RET > => X:/C:/Windows/ > > (where X is the driver letter of what happens to be the current drive > when I invoke Emacs). Was this with the first or the second URL?