zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: zsh-workers@sunsite.auc.dk
Subject: Re: completion in vared
Date: Thu, 29 Apr 1999 09:42:56 -0700	[thread overview]
Message-ID: <990429094257.ZM8612@candle.brasslantern.com> (raw)
In-Reply-To: <199904290905.LAA19906@beta.informatik.hu-berlin.de>

On Apr 29, 11:05am, Sven Wischnowsky wrote:
} Subject: Re: completion in vared
}
} Sidenote: The code uses a mask to say which of the special completion
}           parameters should be set or unset. With compstate[vared] we
}           have reached 32. If anyone comes up with an idea for another 
}           key, I'll have to re-write a bit more of the code (seven
}           bits can be freed, after that I would have to change even
}           more).

If there are more than 32 special completion parameters, I think we've
failed in our goal to make the whole system easier to understand.

By the way, if we're reasonably confident that we've now identified all
the compctl-isms that it's useful to put into compadd/gen/etc., I think
we should seriously look at rewriting the option parsing for those new
commands to abandon the compctl syntax.  Part of the reason for creating
the new system was because compctl was so hard to comprehend; we've made
the new system a lot more powerful, but made little progress on making
it easy to understand.  So far we've mostly taken the confusing compctl
stuff, stick new command names in front of it, and wrap it in confusing
shell-script stuff.

Yes, I'm exaggerating a little, but you can't really say the flow of
control is obvious through the current set of completion functions.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


  reply	other threads:[~1999-04-29 16:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-29  9:05 Sven Wischnowsky
1999-04-29 16:42 ` Bart Schaefer [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-05-03  8:14 Sven Wischnowsky
1999-04-30  7:07 Sven Wischnowsky
1999-04-30 18:40 ` Bart Schaefer
1999-04-28 15:00 Peter Stephenson
1999-04-28 17:59 ` Bart Schaefer

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=990429094257.ZM8612@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@sunsite.auc.dk \
    /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).