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 21:59:35 +0800 Message-ID: <871rhm4da0.5.fsf@jidanni.org> References: <87wnzgch8s.5.fsf@jidanni.org> <87wnzea0ij.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="1383"; 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 15:00:18 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 1kWgZF-000AdB-Rx for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Oct 2020 15:00:18 +0100 Original-Received: from localhost ([::1]:38880 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kWgZE-0007tf-Pd for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Oct 2020 10:00:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWgZ0-0007oO-Ut for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2020 10:00:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53902) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kWgZ0-00079t-6e for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2020 10:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kWgZ0-0006sW-0h for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2020 10:00: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 14:00:01 +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.160363438426390 (code B ref 44189); Sun, 25 Oct 2020 14:00:01 +0000 Original-Received: (at 44189) by debbugs.gnu.org; 25 Oct 2020 13:59:44 +0000 Original-Received: from localhost ([127.0.0.1]:37215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWgYi-0006rZ-9d for submit@debbugs.gnu.org; Sun, 25 Oct 2020 09:59:44 -0400 Original-Received: from dog.elm.relay.mailchannels.net ([23.83.212.48]:14793) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWgYf-0006rP-RK for 44189@debbugs.gnu.org; Sun, 25 Oct 2020 09:59:42 -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 80E9F18136B; Sun, 25 Oct 2020 13:59:40 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a84.g.dreamhost.com (100-100-138-6.trex.outbound.svc.cluster.local [100.100.138.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 1C28A180E60; Sun, 25 Oct 2020 13:59:40 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from pdx1-sub0-mail-a84.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 13:59:40 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Vacuous-Turn: 7c7f6355726a17d9_1603634380345_974537620 X-MC-Loop-Signature: 1603634380345:1493855845 X-MC-Ingress-Time: 1603634380345 Original-Received: from pdx1-sub0-mail-a84.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a84.g.dreamhost.com (Postfix) with ESMTP id C7BD27E3BA; Sun, 25 Oct 2020 06:59:39 -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=QApFPswZ33aGuW0U0v vCgs7c0xw=; b=cLFP16iX7bDHs0JwAWJ1c2IpsQ0PrnJJyKkwvOgexzG/1u2yNx ZoR0LvleRNo5oc2guzxolyctffPxeqHnLu8sAOok4fY4abe3qO9Q97v7SGlOuVyV YCc1mZG64c+s9ESGR38HGWjT/i9ocWSNrczk+zdPDcINHz4ImzA3L4Bgc= 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-a84.g.dreamhost.com (Postfix) with ESMTPSA id 5CDEF7E3B8; Sun, 25 Oct 2020 06:59:39 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a84 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:191489 Archived-At: OK, I found it. In https://github.com/emacs-mirror/emacs/blob/master/lisp/textmodes/sgml-mod= e.el That's great. But they forgot to also make html-image-file !!! >>>>> "LI" =3D=3D Lars Ingebrigtsen writes: LI> =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes= : >> These should expand local file names when prompting: >>=20 >> C-c C-c h runs the command html-href-anchor (found in mhtml-mode-map), >> which is an interactive compiled Lisp function in =E2=80=98sgml-mode.e= l=E2=80=99. LI> The html-href-anchor-file command does this.