zsh-workers
 help / color / mirror / code / Atom feed
From: Richard Coleman <coleman@math.gatech.edu>
To: zsh-workers@math.gatech.edu
Subject: future of zsh
Date: Tue, 27 Aug 1996 15:53:06 -0400	[thread overview]
Message-ID: <199608271953.PAA25249@redwood.skiles.gatech.edu> (raw)
In-Reply-To: Your message of "Tue, 27 Aug 1996 21:25:28 +0200." <199608271925.VAA08321@bolyai.cs.elte.hu>

> And about colorizes lists: first there will be a zsh-3.0.1 release.  It
> will definitely not be added before that.  And in zsh-3.1 we have to find
> out a portable way to use dynamically loadable modules.  After that anyone
> can write a plug-in for zsh and can implement any feature he wants.  But
> such features should not blow up zsh.  It would be a good idea to better
> modularise the existing zsh code, make a few things optional (fo rexample
> zle and completion).  I do not know how much is the ovehead caused by a big
> executable.  When zsh is used as a scipt interpreter on a demand-paged
> system only the parts necessary run a script will be loaded so it may not
> give any real improvement.

Aaahhh... time for the inevitable "future of zsh" discusion.  We haven't
had one of those in a while.  But before everyone sends there "We need to
add feature X!" requests, I would like to say a few things.

I think Zoltan's idea of loadable modules is a good idea.  This
would give us the infrastructure to add lots of features, without
bloating the code any more.  Hopefully, some of the current functionality
could be moved out of the zsh core, and into modules such as this.  But
before everyone starts rejoicing at this idea, realize it is non-trivial
and will require work, and will greatly complicate parts of the code.

As to zle and completion, it would be great if this could be moved
to a module, or to a seperate library.  I had similar ideas when I was
maintainer.  Unfortunately, zle and completion use so many of the
internal data structures (just about all of them actually), this would be
very difficult.  I believe a better idea is to move some of the
internals of the completion code into the hash table code.  This was
part of the motivation when I rewrote the hash table code.  Essentially
each object would know how to complete itself.  Again, this is non-trivial,
but a worthwhile goal.  I believe that a general mechanism for hash table
searching would simplify both the completion code and the spell checking
code.

zsh 3.0 is a great increase in modularity over previous version, as well
as being much more maintainable (take a look at the zsh 2.5.03 code if
you don't believe me).  But I believe this is a process that should
continue.  In particular, the exec.c code is still somewhat of a mess.  If
I find some time, I will probably do some work on this myself.

Also, I wanted to say I think zsh has made great progress over the last
couple of years.  Thanks to all who worked on it.

rc


  reply	other threads:[~1996-08-27 19:56 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-15 18:17 zsh-3.0.0 released Zoltan Hidvegi
1996-08-15 18:57 ` zsh-3.0.0 installed in the US Tom Kaczmarski
1996-08-16  4:18   ` Andrew Cosgriff
1996-08-16 11:55     ` Tom Kaczmarski
1996-08-20  1:32       ` Andrew Cosgriff
1996-08-20 12:55         ` Tom Kaczmarski
1996-08-15 19:56 ` zsh-3.0.0 released John Harres
1996-08-15 20:14   ` Richard Coleman
1996-08-15 20:27     ` John Harres
1996-08-15 21:22       ` Richard Coleman
1996-08-15 21:35       ` Wayne Davison
1996-08-27 14:25 ` Distribution terms Greg J. Badros
1996-08-27 15:28   ` Bart Schaefer
1996-08-27 15:37     ` Bruce Stephens
1996-08-27 17:04       ` Greg J. Badros
1996-08-27 18:58         ` Bart Schaefer
1996-08-27 19:04     ` Zefram
1996-08-27 19:25     ` Zoltan Hidvegi
1996-08-27 19:53       ` Richard Coleman [this message]
1996-08-27 16:32         ` zsh: future and loadable modules Chip Salzenberg
1996-08-28  9:03           ` Bruce Stephens
1996-08-27 20:23         ` future of zsh Zoltan Hidvegi
1996-08-27 20:20       ` Distribution terms Zefram
1996-08-27 20:32         ` Zoltan Hidvegi
1996-08-27 16:37   ` Richard Coleman

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=199608271953.PAA25249@redwood.skiles.gatech.edu \
    --to=coleman@math.gatech.edu \
    --cc=zsh-workers@math.gatech.edu \
    /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.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).