From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Thierry Volpiatto <thievol@posteo.net>,
Eli Zaretskii <eliz@gnu.org>,
44822@debbugs.gnu.org, Drew Adams <drew.adams@oracle.com>
Subject: bug#44822: 27.1; Regression in `ffap-read-file-or-url'
Date: Sat, 31 Jul 2021 13:54:59 -0400 [thread overview]
Message-ID: <jwvwnp6cqtb.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87tukabeu3.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 31 Jul 2021 18:58:12 +0200")
Lars Ingebrigtsen [2021-07-31 18:58:12] wrote:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
>> Hmm... the motivation for the change is described in the comment:
>>
>> ;; FIXME: We earlier tried to make use of `url-file-handler' so
>> ;; `read-file-name' could also be used for URLs, but it
>> ;; introduced all kinds of subtle breakage such as:
>> ;; - (file-name-directory "http://a") returning "http://a/"
>> ;; - Trying to contact remote hosts with no justification
>> ;; These should be fixed in url-handler-mode before we can try
>> ;; using it here again.
>
> Duh; my eyes just skipped that bit. :-/
>
>> Maybe the cure is worse than the disease,
>
> I had forgotten all the peculiarities that url-file-handler has -- it's
> simply not a usable solution.
>
> Perhaps somebody can come up with a much, much simpler solution for use
> in `read-file-name' only -- that shouldn't be insurmountable, I think...
Do you think that someone's last name could end in "olpiatto", maybe?
Stefan
prev parent reply other threads:[~2021-07-31 17:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-23 17:23 bug#44822: 27.1; Regression in `ffap-read-file-or-url' Drew Adams
2020-11-23 17:53 ` Eli Zaretskii
2021-07-31 12:48 ` Lars Ingebrigtsen
2021-07-31 16:47 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-31 16:58 ` Lars Ingebrigtsen
2021-07-31 17:51 ` Lars Ingebrigtsen
2021-08-09 6:21 ` Madhu
2021-08-09 14:03 ` Lars Ingebrigtsen
2021-07-31 17:54 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
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=jwvwnp6cqtb.fsf-monnier+emacs@gnu.org \
--to=bug-gnu-emacs@gnu.org \
--cc=44822@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
--cc=eliz@gnu.org \
--cc=larsi@gnus.org \
--cc=monnier@iro.umontreal.ca \
--cc=thievol@posteo.net \
/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).