From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#44189: html-href-anchor, html-image should expand local filenames Date: Sun, 25 Oct 2020 23:05:39 +0800 Message-ID: <87zh4afirg.5.fsf@jidanni.org> References: <87wnzgch8s.5.fsf@jidanni.org> <87wnzea0ij.fsf@gnus.org> <871rhm4da0.5.fsf@jidanni.org> <87h7qi9zck.fsf@gnus.org> 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="38690"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44189@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 25 16:06:13 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 1kWhaz-0009qu-VH for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Oct 2020 16:06:10 +0100 Original-Received: from localhost ([::1]:33522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kWhaz-0006ZI-1h for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Oct 2020 11:06:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWhas-0006Yo-Pd for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2020 11:06:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53990) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kWhas-0000fn-GG for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2020 11:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kWhas-0002B0-BP for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2020 11:06:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87wnzgch8s.5.fsf@jidanni.org> Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Oct 2020 15:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44189 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 44189-submit@debbugs.gnu.org id=B44189.16036383478335 (code B ref 44189); Sun, 25 Oct 2020 15:06:02 +0000 Original-Received: (at 44189) by debbugs.gnu.org; 25 Oct 2020 15:05:47 +0000 Original-Received: from localhost ([127.0.0.1]:37303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWhac-0002AN-W8 for submit@debbugs.gnu.org; Sun, 25 Oct 2020 11:05:47 -0400 Original-Received: from aye.elm.relay.mailchannels.net ([23.83.212.6]:15258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWhab-0002AF-BD for 44189@debbugs.gnu.org; Sun, 25 Oct 2020 11:05:46 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 2CC774812F9; Sun, 25 Oct 2020 15:05:44 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a12.g.dreamhost.com (100-96-22-112.trex.outbound.svc.cluster.local [100.96.22.112]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id A5F8E480E6C; Sun, 25 Oct 2020 15:05:43 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from pdx1-sub0-mail-a12.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.10); Sun, 25 Oct 2020 15:05:44 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Chemical-Spill: 5a70d84f2dee903f_1603638343894_2858197839 X-MC-Loop-Signature: 1603638343894:1191633263 X-MC-Ingress-Time: 1603638343894 Original-Received: from pdx1-sub0-mail-a12.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a12.g.dreamhost.com (Postfix) with ESMTP id 679B37E68B; Sun, 25 Oct 2020 08:05:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type :content-transfer-encoding; s=jidanni.org; bh=zg5QJ4IEWpX9EB3lRT c7v/f4JfM=; b=CjWPurQBhBcb6w7d2cgI/9yqFe1f3CHvPD1G/G/PnKqtrMiHwQ /u59F9Amgb2K9oChbhxtTRdeRrCTVUgeE29dctlx+KyQm1Oa+xUMzdrAovkaV2ih jzRo/3Q5VRUZy8cSBE71zAbEvFLDuAVXDnMjAroB0Yc05uXWH3u9KVng0= Original-Received: from jidanni.org (114-41-20-71.dynamic-ip.hinet.net [114.41.20.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a12.g.dreamhost.com (Postfix) with ESMTPSA id E2EBC7E689; Sun, 25 Oct 2020 08:05:42 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a12 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:191497 Archived-At: But when authoring the typical webpage, one might include up to e.g., eight images/barf01.jpg, images/barf02.jpg, etc. for each reference to someotherfile.html (./someotherfile.html) In fact most web pages include at least one image, but not necessarily a link to another local article. Thus we see it is actually more important. Anyway these never needed their own key bindings in the first place. All they needed was to detect if http, etc. protocols were in front. If not, they should expand relative / local filenames. >>>>> "LI" =3D=3D Lars Ingebrigtsen writes: LI> =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes= : >> But they forgot to also make >> html-image-file !!! LI> It doesn't really seem important enough to warrant its own keybinding= , I LI> think.