unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Nic Ferrier <nferrier@tapsellferrier.co.uk>
Cc: Juri Linkov <juri@jurta.org>, emacs-devel@gnu.org
Subject: Emacs and Javascript/XSLT (was Re: A new online publishing tool for Texinfo documents.)
Date: 25 Nov 2003 10:37:12 +0000	[thread overview]
Message-ID: <87u14sbup3.fsf_-_@kanga.tapsellferrier.co.uk> (raw)
In-Reply-To: <m3llq4bso3.fsf@kfs-l.imdomain.dk>

storm@cua.dk (Kim F. Storm) writes:

> Juri Linkov <juri@jurta.org> writes:
> 
> > I still think that there is no need to add Javascript and XSLT engines
> > to Emacs.  The solution you propose will be useful for web browsers
> > because they have no other extensibility mechanisms.  But Emacs could
> > handle pages received from server by using local Emacs Lisp programs.
> > The received pages could contain some indication about their type so
> > that Emacs will decide what functions to call to handle them.  And
> > this is much safer than to embed Emacs Lisp code on the web pages.
> 
> I totally agree.
> 
> Just put something like
> 
> <!-- *Info-Node* next=XX prev=XX up=XX index=XX ... -->
> 
> into every page and let emacs info reader -- or stand-alone info
> reader -- deal with that; should be damn trivial compared to XSLT or
> javascript or whatever.
> 
> But by all means, add whatever javascript and XML etc to make it
> useful in a standard browser as well.

This is not about altering the emacs info reader. This is about
writing a new HTML publishing system for Texinfo.

The arguments about adding Javascript and XSLT functionality to Emacs
are about the functionality of Emacs/W3, _not_ about Emacs info mode.

Whether the new publishing system relies on Javascript/XSLT or not is
aside from the question of whether Javascript/XSLT functionality
should be added to Emacs/W3. Clearly, Emacs/W3 is never going to be a
competitive browser without those features.


IMHO it's really not defensible to suggest that Emacs shouldn't have
access to XSLT (the question is _how_).

I can understand reservations about adding Javascript to
emacs. Unfortunately, I can't see anyway of doing it other than
linking the Javascript engine into emacs and rms has said he won't
support that.


If the new publishing system uses Javascript then Emacs/W3 won't be
able to display the pages with all the functionality.

If people here feel that a client side code system supporting emacs
lisp would be useful then I think I could probably add that to W3 and
support the 2 sets of code used for the publishing tool (Elisp and
Javascript).

Tagging might also be possible but this would require patching W3 to
support this new info publishing system. That doesn't seem the right
way round to me.


Nic

  reply	other threads:[~2003-11-25 10:37 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-22 21:18 A new online publishing tool for Texinfo documents Karl Berry
2003-11-22 21:37 ` Nic Ferrier
2003-11-24  7:57   ` Juri Linkov
2003-11-24  9:11     ` Nic Ferrier
2003-11-25  4:27       ` Richard Stallman
2003-11-25  7:52       ` Juri Linkov
2003-11-25 11:21         ` Kim F. Storm
2003-11-25 10:37           ` Nic Ferrier [this message]
2003-11-25 15:47             ` Emacs and Javascript/XSLT (was Re: A new online publishing tool for Texinfo documents.) Stefan Monnier
2003-11-25 17:55             ` Juri Linkov
2003-11-24  9:43     ` XML and emacs " Nic Ferrier
2003-11-24 14:10     ` A new online publishing tool for Texinfo documents Karl Berry
2003-11-25 21:45       ` Juri Linkov
2003-11-24 16:22   ` Richard Stallman
2003-11-24 16:39     ` Nic Ferrier
2003-11-22 21:48 ` A new online publishing tool for Texinfo documents (regarding Lynx and Links) Nic Ferrier
2003-11-23  0:12   ` Alex Schroeder

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=87u14sbup3.fsf_-_@kanga.tapsellferrier.co.uk \
    --to=nferrier@tapsellferrier.co.uk \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.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).