unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#56885: Fix url-about.el in EWW or make it obsolete
@ 2022-08-02 12:17 Stefan Kangas
  2022-08-02 12:21 ` Lars Ingebrigtsen
  2022-08-04  7:53 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 2 replies; 12+ messages in thread
From: Stefan Kangas @ 2022-08-02 12:17 UTC (permalink / raw)
  To: 56885

Severity: minor

Is url-about.el useful?  I note that evaluating this works:

    (pop-to-buffer (url-retrieve-synchronously "about:protocols"))

However, when I try to view that HTML in EWW like so, it does not work:

    M-x eww RET about:protocols RET

I just get a buffer saying "Loading http://about:protocols/...", but not
the expected list of protocols.

I think this should either be fixed to work in EWW, or we should decide
that url-about.el is no longer useful and therefore mark it obsolete.





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#56885: Fix url-about.el in EWW or make it obsolete
  2022-08-02 12:17 bug#56885: Fix url-about.el in EWW or make it obsolete Stefan Kangas
@ 2022-08-02 12:21 ` Lars Ingebrigtsen
  2022-08-04  7:53 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 0 replies; 12+ messages in thread
From: Lars Ingebrigtsen @ 2022-08-02 12:21 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 56885

Stefan Kangas <stefan@marxist.se> writes:

> Is url-about.el useful?  I note that evaluating this works:
>
>     (pop-to-buffer (url-retrieve-synchronously "about:protocols"))

I can't imagine anybody would ever use this.






^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#56885: Fix url-about.el in EWW or make it obsolete
  2022-08-02 12:17 bug#56885: Fix url-about.el in EWW or make it obsolete Stefan Kangas
  2022-08-02 12:21 ` Lars Ingebrigtsen
@ 2022-08-04  7:53 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-08-04  8:05   ` Lars Ingebrigtsen
  1 sibling, 1 reply; 12+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-04  7:53 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 56885

Stefan Kangas <stefan@marxist.se> writes:

> I think this should either be fixed to work in EWW

Now done.  So it should not be obsoleted.





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#56885: Fix url-about.el in EWW or make it obsolete
  2022-08-04  7:53 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-08-04  8:05   ` Lars Ingebrigtsen
  2022-08-04  8:29     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 12+ messages in thread
From: Lars Ingebrigtsen @ 2022-08-04  8:05 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: Po Lu, 56885

Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs@gnu.org> writes:

>> I think this should either be fixed to work in EWW
>
> Now done.  So it should not be obsoleted.

No, it's still useless, so it should be obsoleted.  (And the eww change
should be reverted.)






^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#56885: Fix url-about.el in EWW or make it obsolete
  2022-08-04  8:05   ` Lars Ingebrigtsen
@ 2022-08-04  8:29     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-08-04  8:33       ` Lars Ingebrigtsen
  0 siblings, 1 reply; 12+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-04  8:29 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 56885, Stefan Kangas

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text
> editors" <bug-gnu-emacs@gnu.org> writes:
>
>>> I think this should either be fixed to work in EWW
>>
>> Now done.  So it should not be obsoleted.
>
> No, it's still useless, so it should be obsoleted.  (And the eww change
> should be reverted.)

What other way of viewing the provided information is there?  I'm
personally only interested in having a nice formatted method of viewing
`url-proxy-services', and IIRC this did work before.





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#56885: Fix url-about.el in EWW or make it obsolete
  2022-08-04  8:29     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-08-04  8:33       ` Lars Ingebrigtsen
  2022-08-04  9:06         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 12+ messages in thread
From: Lars Ingebrigtsen @ 2022-08-04  8:33 UTC (permalink / raw)
  To: Po Lu; +Cc: 56885, Stefan Kangas

Po Lu <luangruo@yahoo.com> writes:

> What other way of viewing the provided information is there?  I'm
> personally only interested in having a nice formatted method of viewing
> `url-proxy-services', and IIRC this did work before.

`url-proxy-services' is a normal defcustom, so you can view it via `C-h
v' or Customize, like any other variable.

Having about:foo in url.el is cute, but it emulates browsers that had
no other way to specify stuff like this.  Emacs is much more powerful
than that.






^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#56885: Fix url-about.el in EWW or make it obsolete
  2022-08-04  8:33       ` Lars Ingebrigtsen
@ 2022-08-04  9:06         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-08-04  9:09           ` Lars Ingebrigtsen
  0 siblings, 1 reply; 12+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-04  9:06 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 56885, Stefan Kangas

Lars Ingebrigtsen <larsi@gnus.org> writes:

> `url-proxy-services' is a normal defcustom, so you can view it via `C-h
> v' or Customize, like any other variable.

It's certainly not as pleasant to view that way as in the neatly
formatted about:protocols page.

> Having about:foo in url.el is cute, but it emulates browsers that had
> no other way to specify stuff like this.  Emacs is much more powerful
> than that.

But why is such "power" a reason to remove the about:protocols URL? What
harm is being done by keeping it there?





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#56885: Fix url-about.el in EWW or make it obsolete
  2022-08-04  9:06         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-08-04  9:09           ` Lars Ingebrigtsen
  2022-08-04 10:23             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 12+ messages in thread
From: Lars Ingebrigtsen @ 2022-08-04  9:09 UTC (permalink / raw)
  To: Po Lu; +Cc: 56885, Stefan Kangas

Po Lu <luangruo@yahoo.com> writes:

> But why is such "power" a reason to remove the about:protocols URL? What
> harm is being done by keeping it there?

The harm is that we have to maintain it.  If it's useless (and this
patently is, since it hasn't worked probably in decades, and nobody has
complained, so nobody had a use for it), it should be obsoleted.

So I'm now doing that.






^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#56885: Fix url-about.el in EWW or make it obsolete
  2022-08-04  9:09           ` Lars Ingebrigtsen
@ 2022-08-04 10:23             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-08-04 14:21               ` Lars Ingebrigtsen
  0 siblings, 1 reply; 12+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-04 10:23 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 56885, Stefan Kangas

Lars Ingebrigtsen <larsi@gnus.org> writes:

> The harm is that we have to maintain it.

I didn't see any maintenance happening, yet it still worked.  Had Stefan
not gone out of his way to find it, we would not even be having this
discussion right now.

I tend to find that whether or not a piece of obscure old code in Emacs
works doesn't depend on how much maintenance it gets, but what state it
was in when it was first installed.

Case in point: the OffiX and old KDE code in x-dnd.el, which nobody
uses, has existed without changes for a comparable amount of time, and
still worked perfectly when it was tested several months ago.  However,
the XDND and Motif code has always had serious bugs that were only fixed
in the past few months, despite being actively maintained.

Or the entire NS port, which despite active maintenance (and use by a
large amount of people) could not display mouse-highlight and italic
text correctly.  The MS-DOS port in Emacs 28.1 is in a much better state
compared to the NS port, despite work on it being limited to biennial
build fixes.

> If it's useless (and this patently is, since it hasn't worked probably
> in decades

It has worked fine since it was installed in 2002.  eww came after.

> and nobody has complained

I am now.

> So I'm now doing that.

Why?  As I already said, there _is_ a use for it.  Is there another way
to obtain information about supported URL schemes, their ports,
services, and the proxies that apply to them, all in a single page?





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#56885: Fix url-about.el in EWW or make it obsolete
  2022-08-04 10:23             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-08-04 14:21               ` Lars Ingebrigtsen
  2022-08-05  0:54                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 12+ messages in thread
From: Lars Ingebrigtsen @ 2022-08-04 14:21 UTC (permalink / raw)
  To: Po Lu; +Cc: 56885, Stefan Kangas

Po Lu <luangruo@yahoo.com> writes:

> Why?  As I already said, there _is_ a use for it.  Is there another way
> to obtain information about supported URL schemes, their ports,
> services, and the proxies that apply to them, all in a single page?

If that's something that somebody wants, then writing a new command like
`url-describe-schemes' (that uses the *Help* machinery) would be the
natural thing to do.  I haven't really seen anybody (else) request that,
though.






^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#56885: Fix url-about.el in EWW or make it obsolete
  2022-08-04 14:21               ` Lars Ingebrigtsen
@ 2022-08-05  0:54                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-08-05 11:54                   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 12+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-05  0:54 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 56885, Stefan Kangas

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Po Lu <luangruo@yahoo.com> writes:
>
>> Why?  As I already said, there _is_ a use for it.  Is there another way
>> to obtain information about supported URL schemes, their ports,
>> services, and the proxies that apply to them, all in a single page?
>
> If that's something that somebody wants, then writing a new command like
> `url-describe-schemes' (that uses the *Help* machinery) would be the
> natural thing to do.

Why can't we keep what already exists, instead of forcing people to
replace it with something else? That's sounds deliberately annoying to
people.





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#56885: Fix url-about.el in EWW or make it obsolete
  2022-08-05  0:54                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-08-05 11:54                   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 12+ messages in thread
From: Lars Ingebrigtsen @ 2022-08-05 11:54 UTC (permalink / raw)
  To: Po Lu; +Cc: 56885, Stefan Kangas

Po Lu <luangruo@yahoo.com> writes:

> Why can't we keep what already exists, instead of forcing people to
> replace it with something else? That's sounds deliberately annoying to
> people.

Since the code didn't really work, nobody's using it, and nobody's
getting annoyed.





^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-08-05 11:54 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-02 12:17 bug#56885: Fix url-about.el in EWW or make it obsolete Stefan Kangas
2022-08-02 12:21 ` Lars Ingebrigtsen
2022-08-04  7:53 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-04  8:05   ` Lars Ingebrigtsen
2022-08-04  8:29     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-04  8:33       ` Lars Ingebrigtsen
2022-08-04  9:06         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-04  9:09           ` Lars Ingebrigtsen
2022-08-04 10:23             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-04 14:21               ` Lars Ingebrigtsen
2022-08-05  0:54                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-05 11:54                   ` Lars Ingebrigtsen

Code repositories for project(s) associated with this 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).