zsh-workers
 help / color / mirror / code / Atom feed
From: Greg Klanderman <gak@klanderman.net>
To: zsh-workers@sunsite.dk
Subject: Re: need help debugging cvs completion problem
Date: Tue, 07 Jul 2009 10:15:07 -0400	[thread overview]
Message-ID: <m363e4lgus.fsf@klanderman.net> (raw)
In-Reply-To: <20090628205428.77cd5198@pws-pc> (Peter Stephenson's message of "Sun, 28 Jun 2009 20:54:28 +0100")

>>>>> Peter Stephenson <p.w.stephenson@ntlworld.com> writes:

> That sounds plausible---I think you're on the right lines.  You might
> need a -U argument to compadd in that case, too.

> Basically, you are (anybody is) on your (their) own in this type of
> thing---lots of us have been somewhere similar once or twice and it was
> so complicated we've forgotten and won't remember again without devoting
> hours to remembering why we thought it was better to forget in the first
> place.

Hi Peter, sorry I had to put this aside for a bit, and am still not
quite ready to dig back into it.  Seems like to fix this right, I'm
headed down a path where I have to reinvent much of the cruft that's
already in _path_files, which is probably why the logic had been
trying to leverage that, albeit in a somewhat hacky way.  My next step
is to understand what was actually broken that you fixed in 2003, and
if there's not some way to go back to using _path_files.

Unfortunately, it seems that when the new completion system was
designed, it did not abstract stuff like handling parameter
references, quoting, etc like the compctl stuff did.  So if you're
doing file completion, _path_files has all that logic (at the expense
of being completely incomprehensible) and it mostly works, but other
sorts of completion either have to reimplement that logic (sometimes
partially and/or buggily), or just not handle these complications.

cheers,
Greg


  parent reply	other threads:[~2009-07-07 14:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-26 22:19 Greg Klanderman
2009-06-27 20:24 ` Peter Stephenson
2009-06-28  0:48   ` Greg Klanderman
2009-06-28  1:11     ` Greg Klanderman
2009-06-28 11:38       ` Geoff Wing
2009-06-28 17:49         ` Greg Klanderman
2009-06-28 18:52           ` Greg Klanderman
2009-06-28 19:54             ` Peter Stephenson
2009-06-28 20:16               ` Peter Stephenson
2009-07-07 14:15               ` Greg Klanderman [this message]
2009-07-07 15:11                 ` Peter Stephenson

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=m363e4lgus.fsf@klanderman.net \
    --to=gak@klanderman.net \
    --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).