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#58464: 28.1; browse-url-emacs doesn't work for local files on Windows Date: Wed, 12 Oct 2022 19:07:32 +0300 Message-ID: <83ilkpauuz.fsf@gnu.org> References: <82k055fsos.fsf@gmail.com> <87y1tlcn7u.fsf@gnus.org> <83czaxchgp.fsf@gnu.org> <87mta1b2p9.fsf@gnus.org> <83sfjtazln.fsf@gnu.org> <87edvdays6.fsf@gnus.org> <83leplavfs.fsf@gnu.org> <871qrdavc6.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26551"; mail-complaints-to="usenet@ciao.gmane.io" Cc: pquessev@gmail.com, 58464@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 12 18:24:51 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 1oieXK-0006fv-HG for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Oct 2022 18:24:50 +0200 Original-Received: from localhost ([::1]:50540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oieXJ-00088b-2G for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Oct 2022 12:24:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36382) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oieH4-0005e5-Oh for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 12:08:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59218) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oieH4-000669-H7 for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 12:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oieH4-0001pj-CA for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 12:08: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: Wed, 12 Oct 2022 16:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58464 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 58464-submit@debbugs.gnu.org id=B58464.16655908647015 (code B ref 58464); Wed, 12 Oct 2022 16:08:02 +0000 Original-Received: (at 58464) by debbugs.gnu.org; 12 Oct 2022 16:07:44 +0000 Original-Received: from localhost ([127.0.0.1]:58294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oieGi-0001oz-Ni for submit@debbugs.gnu.org; Wed, 12 Oct 2022 12:07:44 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oieGV-0001ob-FX for 58464@debbugs.gnu.org; Wed, 12 Oct 2022 12:07:39 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33136) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oieGP-000637-VA; Wed, 12 Oct 2022 12:07:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=VCgx7Mnhc59d+NTqo7PSpXp8Z1OeoOX5ZYKR1i6taIU=; b=DM8u/LePi7P9 12VSpz9KKcP+ScFF1SUF58HSyN9+hABrUqAjIUuAv91SHYdm6cwHZEvM6atvhjGpzc5nhYD1/IWL5 0kLw4pikb4Wqa4cS8beTT9/WtRCKCRF6qYHtvskOTEtAPzghGMA/c7IG43pUXxJ3JimRLo3SG/q7h uAMp8WwG5SvdhIpISbeGK5GvOjbGd8ZB/d7HLR8rP+JTf+MSNqSvGctbFgPe3OA4g4EkD7bGxh1rA nm+ZLL4XL5+bvvbRn9KYeejvCqvs7xMdf/XLbkc/cMX9Z8MDQLonChLvWwhCh0By7GEWvYQqpq2Vn CYhmApXWfQGdybygPHc9iQ==; Original-Received: from [87.69.77.57] (port=2450 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oieGN-0001cu-Re; Wed, 12 Oct 2022 12:07:21 -0400 In-Reply-To: <871qrdavc6.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 12 Oct 2022 17:57:13 +0200) 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:245231 Archived-At: > From: Lars Ingebrigtsen > Cc: pquessev@gmail.com, 58464@debbugs.gnu.org > Date: Wed, 12 Oct 2022 17:57:13 +0200 > > Eli Zaretskii writes: > > > I'm not sure I follow: file:// URLs always point to local files, no? > > browse-url-emacs takes any URL, not just file:// URL. > > (browse-url-emacs "https://gnus.org/") "works fine", except for the same > error messages. But this bug report ius about file:// URLs, not about anything else. > >> (But also see bug#58302 -- browse-url-emacs shouldn't be calling these > >> functions at all.) > > > > How else can Emacs visit files except via insert-file-contents? Or > > what do you mean by "these functions"? > > `url-file-handler'. Which ends up calling the same functions?