zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: zsh-workers@sunsite.auc.dk
Subject: Completing for "find" and _regex_arguments (Re: PATCH: Re: sudo completion problem)
Date: Thu, 4 May 2000 15:14:22 +0000	[thread overview]
Message-ID: <1000504151422.ZM22851@candle.brasslantern.com> (raw)
In-Reply-To: <hvowvlaplq9.fsf@serein.m17n.org>
In-Reply-To: <200005041340.PAA08620@beta.informatik.hu-berlin.de>

On May 4,  9:02pm, Tanaka Akira wrote:
} Subject: Re: PATCH: Re: sudo completion problem
}
} In article <000601bfb599$a9219f80$21c9ca95@mow.siemens.ru>,
}   "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru> writes:
} 
} > So, the question is - how useful would it be to allow "named,
} > structured, ..." arguments? The point is, description vs. shell code.
} 
} We need intermediate solution for a completion function of such
} commands: more powerful than _arguments and easier than shell
} function.  But more difficult than _arguments, maybe.
} 
} My idea is already implemented: _regex_arguments.

Indeed, I think _regex_arguments is just the thing here.  In fact, I said
so, back in 11018.

On May 4,  3:40pm, Sven Wischnowsky wrote:
} Subject: Re: PATCH: Re: sudo completion problem
}
} Personally I find _arguments a whole lot more readable than
} _regex_arguments. If that could be improved, I'd be glad.

Is there any chance that it could now be rewritten using extendedglob
patterns, rather than parsing its own RE syntax?

On the other hand, that might not make it any more readable.

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


  reply	other threads:[~2000-05-04 15:17 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-03 14:42 PATCH: Re: sudo completion problem Sven Wischnowsky
2000-05-03 14:56 ` Andrej Borsenkow
2000-05-03 15:09   ` Zefram
2000-05-04  7:23     ` Andrej Borsenkow
2000-05-04 12:02       ` Tanaka Akira
2000-05-04 13:40         ` Sven Wischnowsky
2000-05-04 15:14           ` Bart Schaefer [this message]
2000-05-04 16:16             ` Completing for "find" and _regex_arguments (Re: PATCH: Re: sudo completion problem) Tanaka Akira
2000-05-04 20:12           ` PATCH: Re: sudo completion problem Tanaka Akira
2000-05-04 20:40             ` Tanaka Akira
2000-05-06  6:56 ` Andrej Borsenkow
2000-05-06  7:40   ` Tanaka Akira
2000-05-06  7:51     ` Andrej Borsenkow
2000-05-06  8:19   ` Zefram

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=1000504151422.ZM22851@candle.brasslantern.com \
    --to=schaefer@candle.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).