zsh-workers
 help / color / mirror / code / Atom feed
From: Felix Rosencrantz <f_rosencrantz@yahoo.com>
To: zsh-workers <zsh-workers@sunsite.auc.dk>
Subject: RE: PATCH: completion positions
Date: Mon, 15 Jan 2001 22:41:45 -0800 (PST)	[thread overview]
Message-ID: <20010116064145.94984.qmail@web10404.mail.yahoo.com> (raw)

>> (I was thinking I could be useful by adding "insert_positions" output to
>> the 54compmatch.ztst test, such that all the cases reported it's value.
>> Would this be worthwhile? )
>Yes, that would be nice to have, I think.

OK.  I'll try to do that this weekend when I have some time.  Maybe
you'll have thought some more about the next item, and the formatting
issues of insert_positions will be decided.


>Just for the fun of it I've added this and `#if 0'ed it out because
>this isn't enough. We would have to distinguish three cases:
>
>- something missing at the end
>- nothing missing at the end
>- nothing missing at the end but the inserted string is equal to one
>  of the matches
>
>That last one is the problem (eow should be one of the positions).
>It's hard to find out if the inserted string is equal to one of the
>matches.  I need to think about this some more.

That hadn't occurred to me.  It does seem like it would be useful in
other situations to know if the current string is equal to one of the
matches.

To add even more information about insert positions, it might be useful
to know if a given insert position can match a null string or not.  For
example, if the choices are A.C.D, A.B.C, A.B.C.D, and the input is A.C,
it might be useful to know that the insert position after the A, for
some matches, doesn't need any input.

I've been using the latest changes all day and haven't had any problems.
Thanks again, Sven!

-FR.


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/


             reply	other threads:[~2001-01-16  6:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-16  6:41 Felix Rosencrantz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-01-25 15:14 Sven Wischnowsky
2001-01-25  6:45 Felix Rosencrantz
2001-01-19 13:43 Sven Wischnowsky
2001-01-15 10:42 Sven Wischnowsky

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=20010116064145.94984.qmail@web10404.mail.yahoo.com \
    --to=f_rosencrantz@yahoo.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).