all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim Cross <theophilusx@gmail.com>
To: Andrey Kotlarski <m00naticus@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: inclusion of emacs-w3m
Date: Thu, 6 Sep 2012 08:25:09 +1000	[thread overview]
Message-ID: <CAC=50j9suxA6fbwGZzmFwLgO-ga0av9Vud0jWXCgSwRV9CLffA@mail.gmail.com> (raw)
In-Reply-To: <87ehmgqh4u.fsf@gmail.com>

On 6 September 2012 07:44, Andrey Kotlarski <m00naticus@gmail.com> wrote:
> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>> Ivan Kanis <ivan.kanis@googlemail.com> writes:
>>
>>>> Now that Emacs proper has an HTML parser (via libxml2), an HTML renderer
>>>> (via shr.el), and an HTTP library (via url*.el), writing a totally
>>>> Emacs-based web browser should be pretty easy for somebody who has some
>>>> time to spare.
>>>
>>> I don't think it's that easy.
>>
>> Why not?  You just need to add some bookmarking stuff and a cookie
>> editor, and you're done.
>
> There is w3, though unmaintained for years.  Until some threading
> support comes to Elisp, such packages would suffer.
>
>> Oh, and forms support.  And stuff.  It shouldn't take anybody more than
>> a month to implement a full-featured Emacs browser.  (Well.  As
>> full-featured as a totally non-JS browser will ever be.)
>
> If the rumours of Guile Elisp nearing working integration with GNU/Emacs
> are right and as Guile has support for Javascript too (not to mention
> native threads), that could open some doors.
>
>
> --
> It is better to keep your mouth shut and be thought a fool than to
> open it and remove all doubt.
>                 -- Mark Twain
>
>

I think Lars' suggestion is a good one. There are lots of very cool
things you can do with an all elisp web browser. The emacspeak package
has made some very interesting use of w3, but the lack of work on w3
is beginning to cause some problems.

w3m is useful, but limited compared to what you can do with a browser
all written in elisp. I've looked at the w3 code base a number of
times, but the work required to re-factor it is quite daunting. The
addition of a parser and renderer in emacs certainly offers some
excellent opportunities. If I had more knowledge re: DOM, CSS etc, it
would be something I'd love to have time to look at. Would certainly
try to assist anyone who was thinking of developing something in this
are where I can. Assuming a browser with no javascript support, the
challenge is likely to be how to implement a workable subset of CSS
support to enable a reasonable rendering of pages. This is one area
where w3 seems to be quite broken.

The Guile approach would appear to offer some really great
opportunities, but after so many years, I will wait until we actually
see an emacs with support for guile which is as integrated as elisp
is.

In the meantime, my suggestion would be for any package maintainers
who have requirements for basic display of html content to consider
using native elisp packages over relying on things like w3m.el. While
w3m.el gives a solution to things like viewing HTML formatted email,
native elsip support would allow the sort of customizations we have
grown to love.

If the appropriate paperwork and licensing can be worked out to add
w3m.el as an elpa package, I don't see any problems with that - it
would provide at lest an option for those on platforms where it makes
sense.

-- 
Tim Cross



  reply	other threads:[~2012-09-05 22:25 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-11 10:43 inclusion of emacs-w3m Ivan Kanis
2012-09-04 15:30 ` Lars Ingebrigtsen
2012-09-04 18:55   ` Ivan Kanis
2012-09-04 20:06     ` Óscar Fuentes
2012-09-05 14:27     ` Lars Ingebrigtsen
2012-09-05 21:44       ` Andrey Kotlarski
2012-09-05 22:25         ` Tim Cross [this message]
2012-09-11 10:38       ` Thien-Thi Nguyen
2012-09-11 16:59         ` chad
2012-09-11 17:14           ` Andreas Schwab
2012-09-11 17:24             ` chad
2012-09-11 19:33               ` Wojciech Meyer
2012-09-27 21:31         ` Lars Magne Ingebrigtsen
2012-09-27 21:47           ` Tekk
2012-09-27 21:55             ` Lars Magne Ingebrigtsen
2012-09-28  6:26               ` Stephen J. Turnbull
2012-09-28  8:49           ` Thien-Thi Nguyen
2012-09-06 12:30   ` joakim
2012-12-21 11:06     ` Ted Zlatanov
2012-09-05 13:30 ` Stefan Monnier
2012-09-06 13:27   ` Ivan Kanis
  -- strict thread matches above, loose matches on Subject: below --
2012-09-06  8:33 Stefan Schlee
2012-09-06  9:09 ` Tim Cross

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAC=50j9suxA6fbwGZzmFwLgO-ga0av9Vud0jWXCgSwRV9CLffA@mail.gmail.com' \
    --to=theophilusx@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=m00naticus@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.