From: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: control@debbugs.gnu.org, 37644@debbugs.gnu.org
Subject: bug#37644: html-href-anchor should have TAB expansion when prompting
Date: Fri, 18 Oct 2019 16:04:26 +0800 [thread overview]
Message-ID: <87pniulbsl.7.fsf@jidanni.org> (raw)
In-Reply-To: <87imp1c62z.8.fsf@jidanni.org>
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" == Lars Ingebrigtsen <larsi@gnus.org> writes:
LI> 積丹尼 Dan Jacobson <jidanni@jidanni.org> 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 ‘sgml-mode.el’.
>>
>> Problem is it doesn't have filename expansion turned on.
>>
>> 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.
>>
>> 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 not
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 files
LI> starting with "http".
LI> So I'm closing this bug report -- if somebody thinks the command should
LI> work this way, please reopen.
LI> --
LI> (domestic pets only, the antidote for overdose, milk.)
LI> bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2019-10-18 8:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-07 8:28 bug#37644: html-href-anchor should have TAB expansion when prompting 積丹尼 Dan Jacobson
2019-10-14 21:03 ` Lars Ingebrigtsen
2019-10-18 8:04 ` 積丹尼 Dan Jacobson [this message]
2020-08-06 13:12 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pniulbsl.7.fsf@jidanni.org \
--to=jidanni@jidanni.org \
--cc=37644@debbugs.gnu.org \
--cc=control@debbugs.gnu.org \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).