zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@ifh.de>
To: zsh-workers@math.gatech.edu (Zsh hackers list)
Subject: Re: PATCH: 3.1.2-zefram3: history completion
Date: Fri, 16 Jan 1998 17:02:03 +0100	[thread overview]
Message-ID: <199801161602.RAA04256@hydra.ifh.de> (raw)
In-Reply-To: "Andrej Borsenkow"'s message of "Fri, 16 Jan 1998 18:24:16 MET." <Pine.SV4.3.95.980116173358.16351F-100000@itsrm1>

Andrej Borsenkow wrote:
> I like the idea, but I totally disagree with implementation (sorry). It
> continues the trend to add to base ZSH every feature someone finds to be
> useful. I strongly believe, that base zsh must provide general enough
> tools to do such sort of things in user space (or as separate module if
> anybody will suffer from performance).

I certainly agree in principle, but in practice I tend to find that
making the shell general enough to extend makes it much larger than
it was when it was handling lots of little things itself (even if the
changes allow modularality --- and remember we're talking about changes
to the zle module here), takes much longer, and makes the shell more
complex, and consequently less usable for the 99% of users who just want
to push a button to do what they want.  This is what I was referring to
when I suggested having a widget associated with a particular compctl (or,
equivalently, allowing a direct form of compctl in a zle function).  If it
happens (which means if Zefram has time to do it) it will require fiddling
through the manual before use, and consequently 99% of users will never
know it exists, some fraction of which would otherwise have used it.  Sad
but true.  Compare this with the dozen or two lines of functional code
in the patch I sent, available now, not next year, instantly usable,
not requiring a half hour with a manual, and doing the most commonly
requested form of ad hoc completion.  On balance, I'd prefer a more
general solution, too, but I've a strong feeling I may be wrong.

-- 
Peter Stephenson <pws@ifh.de>       Tel: +39 50 911239
WWW:  http://www.ifh.de/~pws/
Gruppo Teorico, Dipartimento di Fisica
Piazza Torricelli 2, 56100 Pisa, Italy


  reply	other threads:[~1998-01-16 16:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-01-16 10:52 pws
1998-01-16 15:24 ` Andrej Borsenkow
1998-01-16 16:02   ` Peter Stephenson [this message]
1998-01-16 16:57     ` Bruce Stephens
1998-01-16 17:26       ` Andrew Main

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=199801161602.RAA04256@hydra.ifh.de \
    --to=pws@ifh.de \
    --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).