unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Cc: 37644@debbugs.gnu.org
Subject: bug#37644: html-href-anchor should have TAB expansion when prompting
Date: Mon, 14 Oct 2019 23:03:26 +0200	[thread overview]
Message-ID: <87h84bt4yp.fsf@gnus.org> (raw)
In-Reply-To: <87imp1c62z.8.fsf@jidanni.org> ("積丹尼 Dan Jacobson"'s message of "Mon, 07 Oct 2019 16:28:36 +0800")

積丹尼 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.

The command requires an URL, and a file name isn't an URL.  But the
command could prepend a file:// to the file name, I guess, but I'm not
sure that doing file name completion on an input that's really an URL is
useful.  If you start typing http you don't want it to complete to files
starting with "http".

So I'm closing this bug report -- if somebody thinks the command should
work this way, please reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2019-10-14 21:03 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 [this message]
2019-10-18  8:04   ` 積丹尼 Dan Jacobson
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=87h84bt4yp.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=37644@debbugs.gnu.org \
    --cc=jidanni@jidanni.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).