unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Sander Boer" <sanderboer@yahoo.com>
To: emacs-devel@gnu.org
Subject: What would a 21st centruy text render engine do -was: Re: HTML5 the new lisp ?
Date: Tue, 02 Aug 2011 12:40:37 +0200	[thread overview]
Message-ID: <87ei14w0yi.fsf_-_@COLTRANE.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: m339hm3x3t.fsf@verona.se

>>>>> "JV" == joakim  <joakim@verona.se> writes:

...[38 lines removed]...
    JV| 
    JV| I'm not really sure what you are talking about but if you want
    JV| to play with Emacs and HTML5 it is possible in a primitive way
    JV| with the xwidget branch. You can create a webkit area in an
    JV| Emacs buffer and manipulate it by injecting javascript fragments
    JV| in it.
    JV| 
    JV| I would like to achieve a better elisp/DOM bridge for my
    JV| purposes but I'm procrastinating it because it's not obvious how
    JV| to do it in an interesting way. (Either by machine generating
    JV| DOM bindings with Cedet/SRecode, or by making some form of
    JV| adapter compatible with xml-parse-region)
    JV| 
    JV| Anyway, if some of this HTML5 enthusiasm could be directed into
    JV| the furtherance of the xwidget branch, that would be
    JV| splendiferous :)
    JV| 
    JV| -- Joakim Verona
    JV| 
    JV| 
    JV| 

Dear Joakim,
I'm taking a top-down approach to this idea ("what does it all mean? ")
because I am, as you might have guessed, code-agnostic as in pretty n00b.
My n00b-ness notwithstanding, I am convinced that your work can unlock
unlimited potential for emacs as a platform.

As such I am rallying support for your effort and trying to engage a
discussion on what a good implementation paradigm could be.

Your approach to let's call it an opt-in canvas is a great way to
implement a feature that can be perceived as an add-on, making it easier
to dismiss.
The discussion on whether the basic rendering engine of emacs is in need
of close inspection is still valid and I wonder where the points of
resistance are. Surely, the difficulty of (core) implementation can be
overcome if there is widespread acceptance of its necessity.  

What would a 21st century  text render engine do ? 
1. look gorgeous (how does one domesticate a mix of variable width and
mono spaced fonts) 
2.  provide a platform that caters to GUIs as well as terminals 

Where @1 can be dismissed as subjective and we land ourselves in a
'public acceptance' discussion, I would like to start off by simply
stating that a aesthetics contribute to quality of life.
Also, from a coding point of view, there is something to be said for
coding on a platform that will be the platform of most Internet
connected devices. 
Comments in variable width fonts anyone ? with hyper-links ? in-code
bug-tracker ? in-code collaboration ?!

@2 however touches the core of the text-rendering paradigm as it is now
and I feel it is an unnecessary duality that takes the weakest platform
(terminals) as its starting point. I know that did not happen by choice
but by progressing from a term-based environment to a GUI based
environment. Today's emacs acts and feels like an upgraded terminal app.
I feel the opposite approach must be investigated, where one would
'downgrade' a GUI app to fit a terminal environment, much akin to the
term browsers we like so much.

-- 
Sander Boer





      parent reply	other threads:[~2011-08-02 10:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-31 20:25 HTML5 the new lisp ? Sander Boer
2011-07-31 20:42 ` Thien-Thi Nguyen
2011-07-31 22:26 ` joakim
2011-08-01 11:58   ` Dimitri Fontaine
2011-08-01 12:14     ` Lars Ingebrigtsen
2011-08-01 13:50       ` joakim
2011-08-02 11:09         ` Andreas Röhler
2011-08-02 11:19           ` Antoine Levitt
2011-08-02 10:40   ` Sander Boer [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=87ei14w0yi.fsf_-_@COLTRANE.i-did-not-set--mail-host-address--so-tickle-me \
    --to=sanderboer@yahoo.com \
    --cc=emacs-devel@gnu.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).