unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: "Eric M. Ludlam" <eric@siege-engine.com>
Cc: emacs-devel@gnu.org
Subject: Re: What IDE features are in CEDET?
Date: Sat, 26 Apr 2008 00:09:03 +0200	[thread overview]
Message-ID: <4812567F.6030500@gmail.com> (raw)
In-Reply-To: <200804252145.m3PLjDMj013623@projectile.siege-engine.com>

Eric M. Ludlam wrote:
> If you
> suspect the existing nxml parser output could be translated into the
> same style of output as Semantic's tag structures, that can work, but
> I'm not entirely sure what would be done with the results since xml
> is flexible enough to cause every schema to need it's own translator
> into Semantic tag format.

I no nothing about the details. What I thought was that Semantic (or 
perhaps more the user interface part of it) could ask nxml-mode for the 
state, completione possibilities etc, whenever needed.

> Semantic has incremental parsing also, but only have a full pass has
> been done.

That reminds me of that Emacs font-lock can do a second pass where 
context is taken into account. (If I have understood things correctly.)

> There was a long thread on this topic in the cedet-devel@sf.net
> mailing list.  Semantic's mode targeting is done using
> "mode-local.el" which is part of CEDET, which allows simple context
> switching between language features in a single buffer.

Seems like a needed feature.

> You are talking about multiple languages in
> a single buffer which is different.

Yes, but sometimes you can have view the buffer content either way. For 
example a buffer containing a php file can be viewed as either just 
consisting of php code (which of course is a valid view) or as some part 
containing xhtml and some containing php script code.

The advantages/disadvanteges is of course those you have mentioned. I 
mention this just to make the concepts more clear.




  reply	other threads:[~2008-04-25 22:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-25 17:27 What IDE features are in CEDET? Eric M. Ludlam
2008-04-25 20:09 ` Lennart Borgman (gmail)
2008-04-25 21:45   ` Re[2]: " Eric M. Ludlam
2008-04-25 22:09     ` Lennart Borgman (gmail) [this message]
2008-04-25 23:16       ` Eric M. Ludlam
2008-04-26 14:49         ` Richard M Stallman
2008-04-26  4:45 ` Richard M Stallman
2008-04-26 12:26   ` Re[2]: " Eric M. Ludlam
2008-04-26 21:54     ` Richard M Stallman
2008-04-28  2:28       ` Re[2]: " Eric M. Ludlam

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=4812567F.6030500@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=eric@siege-engine.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 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).