From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.dk
Subject: Re: ehh... zsh: correct 'cvs' to '_cvs' [nyae]? n
Date: Thu, 12 Jul 2001 09:18:11 +0200 (MET DST) [thread overview]
Message-ID: <200107120718.JAA17621@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: <Tc0a88d0154afa9d0c4@mailsweeper01.cambridgesiliconradio.com>
Peter Stephenson wrote:
> "Bart Schaefer" wrote:
> > On Jul 11, 1:30pm, Andrew Markebo wrote:
> > } aes@NOCTURN:Jul04<130> cvs --help-options
> > } zsh: correct 'cvs' to '_cvs' [nyae]? n
> >
> > Aside to zsh-workers: Regardless of the above, this really shouldn't
> > happen. I'd hate to suggest special-casing a leading underscore in the
> > correction code. Other possibilities?
>
> Well, the *real* fix is to make the correction code use the completion
> system to generate corrections and do it with shell functions. But I
> suspect that's a huge amount of work, since the completion system is
> heavily tied into zle.
I've been thinking about this ever since we added correction to the
completion system... There's another problem, namely: where to make it
try correction. After each word, but what exactly is a word here. And
what about things like `../$foo/bar' -- it might be that it's the `$foo'
that really should be `Foo' or whatever.
Very complicated that.
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next prev parent reply other threads:[~2001-07-12 7:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1010711171527.ZM30915@candle.brasslantern.com>
2001-07-11 17:24 ` Peter Stephenson
2001-07-12 7:18 ` Sven Wischnowsky [this message]
[not found] <Pine.SV4.4.33.0107120935080.11121-100000@itsrm2.mow.siemens.ru>
2001-07-12 9:21 ` Peter Stephenson
[not found] <"Andrej Borsenkow"'s message of "Thu, 12 Jul 2001 09:37:42 +0400." <Pine.SV4.4.33.0107120935080.11121-100000@itsrm2.mow.siemens.ru>
[not found] ` <Tc0a88d0154b316666a@mailsweeper01.cambridgesiliconradio.co m>
2001-07-12 11:06 ` Michael Schaap
2001-07-12 11:57 ` Andrej Borsenkow
2001-07-12 14:04 ` Andrej Borsenkow
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=200107120718.JAA17621@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.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).