From: Stefan Monnier <monnier@iro.umontreal.ca>
To: joakim@verona.se
Cc: emacs-devel@gnu.org
Subject: Re: Improving Emacs for writing code
Date: Tue, 22 Apr 2008 12:02:09 -0400 [thread overview]
Message-ID: <jwv1w4x51q2.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m3lk365hkt.fsf@verona.se> (joakim@verona.se's message of "Tue, 22 Apr 2008 12:06:58 +0200")
> Emacs does a lot of things uniquely well, but we can still learn from
> other code writing environments how to improve the code writing
> experience in Emacs.
> These are concrete proposals I'm prepared to invest time in:
> - Merge Cedet in Emacs.
> Cedet provides many facilities necessary to emulate other modern IDE:s,
> for instance language parsers in lisp. I think Cedet is nicely written,
> and that it wouldn't be a great problem to merge it if a decision to do
> it was reached. I've contributed things to the package and I'm prepared
> to help with any grunt work necessary for the merge, for instance
> discussing issues from emacs-devel with the packages principal authors.
IDE-style features are sorely needed I think, so I am in favor of adding
such things to Emacs. I do not know enough about the current state of
CEDET to know how easy it would be to integrate it. Problems I envision
are mostly:
1 - Getting the copyright paperwork done: the CEDET project has existed
for a long time now, so it likely has had many contributors over the
years, making it that much more difficult to get all the relevant
paperwork.
2 - Making sure CEDET does not affect Emacs globally: last time I tried
CEDET (admittedly, several years ago), it had the nasty tendency to
"take over Emacs", so I couldn't use it for Java without also having
it messing with my Elisp buffers.
> - Provide some ECB like features in Emacs.
> ECB provides the typical IDE workspace view in Emacs, but achieves this
> by advising Emacs core functions a lot.
> In another thread on this list RMS identified the following core C level
> features to be implemented for this feature(slightly edited by me):
> ---------------
> Perhaps the cleanest way is to give each window a plist to specify
> whether various operations should consider it. It could have a:
> - `delete-other-windows' property and a
> - `select-window' property and a
> - `display-buffer' property, and the values of these properties would
> control whether those operations can use this window.
> (this last one can be postponed, since "dedicted" does the same)
> The new `display-buffer' property could be equivalent to the existing
> "dedicated" flag. That would mean it affects some other primitives
> aside from `display-buffer', but that is ok. There is no need to be
> rigid about the relationship between these properties and primitives
> they affect.
> ---------------------
> I'm interested in working on initially implementing the first 2 flags in
> this list. The display-buffer property could be implemented later, since
> the current "window dedication" feature does the same.
It is probably a good idea to try out such an implementation. I'm not
sure if it will work well, but it is worth a try. I would like also to
see some description of the advice used by ECB, to better a better idea
of what kind of features are needed. I tried to look at the code, but
it uses so many pieces of advice, that it's difficult for me to
get a feel for what they do overall.
Stefan
next prev parent reply other threads:[~2008-04-22 16:02 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-22 10:06 Improving Emacs for writing code joakim
2008-04-22 15:49 ` David Hansen
2008-04-22 21:49 ` Re[2]: " Eric M. Ludlam
2008-04-23 1:33 ` Stefan Monnier
2008-04-23 5:10 ` Chong Yidong
2008-04-23 14:05 ` Re[2]: " Eric M. Ludlam
2008-04-23 14:23 ` Chong Yidong
2008-04-23 17:29 ` Stefan Monnier
2008-04-23 15:00 ` Re[2]: " Eric M. Ludlam
2008-04-23 17:45 ` Stefan Monnier
2008-04-24 2:41 ` Re[2]: " Eric M. Ludlam
2008-04-23 19:05 ` Richard M Stallman
2008-04-22 16:02 ` Stefan Monnier [this message]
2008-04-22 16:54 ` klaus.berndl
2008-04-22 17:07 ` Lennart Borgman (gmail)
2008-04-23 8:26 ` klaus.berndl
2008-04-23 10:26 ` Nick Roberts
2008-04-23 11:59 ` klaus.berndl
2008-04-23 13:00 ` Nick Roberts
2008-04-23 12:12 ` Neal Becker
2008-04-23 12:19 ` klaus.berndl
2008-04-23 12:28 ` Neal Becker
2008-04-23 21:34 ` Stephen J. Turnbull
2008-04-22 20:08 ` Richard Stallman
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=jwv1w4x51q2.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=joakim@verona.se \
/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.