From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.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#37644: html-href-anchor should have TAB expansion when prompting Date: Fri, 18 Oct 2019 16:04:26 +0800 Message-ID: <87pniulbsl.7.fsf@jidanni.org> References: <87imp1c62z.8.fsf@jidanni.org> <87h84bt4yp.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="14967"; mail-complaints-to="usenet@blaine.gmane.org" Cc: control@debbugs.gnu.org, 37644@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 18 10:06:41 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iLNHU-0003hl-5Z for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Oct 2019 10:06:40 +0200 Original-Received: from localhost ([::1]:36258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLNHS-0000QR-VK for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Oct 2019 04:06:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35292) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLNFy-00076t-O5 for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2019 04:05:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLNFw-0000Oy-BT for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2019 04:05:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40421) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iLNFw-0000NX-38 for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2019 04:05:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iLNFv-0001ZB-Tx for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2019 04:05:03 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87imp1c62z.8.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: Fri, 18 Oct 2019 08:05:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 37644-submit@debbugs.gnu.org id=B37644.15713858845983 (code B ref 37644); Fri, 18 Oct 2019 08:05:03 +0000 Original-Received: (at 37644) by debbugs.gnu.org; 18 Oct 2019 08:04:44 +0000 Original-Received: from localhost ([127.0.0.1]:49240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iLNFc-0001YP-5s for submit@debbugs.gnu.org; Fri, 18 Oct 2019 04:04:44 -0400 Original-Received: from butterfly.birch.relay.mailchannels.net ([23.83.209.27]:38966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iLNFZ-0001YA-Ks; Fri, 18 Oct 2019 04:04:43 -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 E79B02C1C8B; Fri, 18 Oct 2019 08:04:39 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a34.g.dreamhost.com (100-96-90-126.trex.outbound.svc.cluster.local [100.96.90.126]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 945D52C1AB0; Fri, 18 Oct 2019 08:04:38 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from pdx1-sub0-mail-a34.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Fri, 18 Oct 2019 08:04:39 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Cure-Share: 3ba073f03a75a9d7_1571385879738_1285041088 X-MC-Loop-Signature: 1571385879737:607179419 X-MC-Ingress-Time: 1571385879737 Original-Received: from pdx1-sub0-mail-a34.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a34.g.dreamhost.com (Postfix) with ESMTP id 0EEA799AC3; Fri, 18 Oct 2019 01:04:33 -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=R7CMhgVmWXrGVGvnOa hxN1h3yw0=; b=PIUVZjvBbIBGQZ4PWeB6YXpjaKkPcqVlyQZTvtvoKM7Rm13Zmf olEqYa9DycKBLuCh5HwEp3+amfCr2pTfg+ZbNz6lvdgJXGwYiQ4uvgIh8S2V1bBu ROkHIZKQqgTT3hrRpwNZ3wFX4rFdfwGXklV+tnkdIa80VPRc4NnSLDrMo= Original-Received: from jidanni.org (39-10-37-167.adsl.fetnet.net [39.10.37.167]) (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-a34.g.dreamhost.com (Postfix) with ESMTPSA id 54B6E99B0C; Fri, 18 Oct 2019 01:04:32 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a34 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:169646 Archived-At: reopen 37644 thanks No. 1: Nobody would ever want to put file:/// into an HTML document intended for the Internet. I'm not asking for that. No. 2: Everybody needs to be able to put *relative links*, ../../index.html ../index.html index.html bla.html into a HTML document. That's what I'm asking for. And that's what the former HTML Helper Mode did fine. No. 3: Nobdoy should be encouraged to hardwire fully qualified https links when a simple relative link to a page in the same directory is called for. >>>>> "LI" =3D=3D Lars Ingebrigtsen writes: LI> =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes= : >> 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. >>=20 >> Problem is it doesn't have filename expansion turned on. >>=20 >> As often we are putting in relative links into a document, >> it would be great if we could tab expand even >> ../../me/bla.html >> etc. >>=20 >> Entering http[s] links would not be affected. LI> The command requires an URL, and a file name isn't an URL. But the LI> command could prepend a file:// to the file name, I guess, but I'm no= t LI> sure that doing file name completion on an input that's really an URL= is LI> useful. If you start typing http you don't want it to complete to fi= les LI> starting with "http". LI> So I'm closing this bug report -- if somebody thinks the command shou= ld LI> work this way, please reopen. LI> --=20 LI> (domestic pets only, the antidote for overdose, milk.) LI> bloggy blog: http://lars.ingebrigtsen.no