From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23597 invoked by alias); 28 Oct 2013 08:09:56 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18067 Received: (qmail 26616 invoked from network); 28 Oct 2013 08:09:41 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW, T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=fL0aM0aitYdeYgwdgyksy4LRRuAbA+TpI5pPtltAlMY=; b=YhZWxOJDznvwEFf/neS4Ff1CXhyDG31AOf4umOoL049ziuuUzbJth0hA8VpoF3QUwg CkUNrEcgvRxjRrYn34nxk7zzcTWePQtrMXP5ukoi1bV6LeqyDG6NIi2sMEOWtjGbMQgv lEFtaJLhHkgzNrXSQNJOACZ5TgeVOCAI4tTwobddwdqJO6VrIvlL2wVLwUHwwbZ3Boad GqNhWrnjoYlKsrDi4EGq+N/jzpsEXJy3XUNjQAeo0rIueFfO+2BToR+6aMzV+mvROX6S wbhiZgXY3/+TH8yrug7s8C0QzTvfcxWk5ZXHWhM63j2vk8Jlka3UKZqs5xul59KIqn+w C6Sw== MIME-Version: 1.0 X-Received: by 10.152.88.74 with SMTP id be10mr14078360lab.4.1382947775955; Mon, 28 Oct 2013 01:09:35 -0700 (PDT) In-Reply-To: <131027140621.ZM28130@torch.brasslantern.com> References: <20131027204439.GA17887@mugenguild.com> <131027140621.ZM28130@torch.brasslantern.com> Date: Mon, 28 Oct 2013 06:09:35 -0200 Message-ID: Subject: Re: How to capture a list of completions from a zle widget From: Thiago Padilha To: zsh-users@zsh.org Content-Type: multipart/alternative; boundary=001a11c34e6cedca4e04e9c89e95 --001a11c34e6cedca4e04e9c89e95 Content-Type: text/plain; charset=UTF-8 Ok I already knew about Valodim's solution, I just wanted to be absolutely sure there was no other way before going with it. Thanks On Sun, Oct 27, 2013 at 6:06 PM, Bart Schaefer wrote: > On Oct 27, 9:44pm, Valodim Skywalker wrote: > } > } https://github.com/Valodim/zsh-capture-completion > } > } If it can be done in a less hacky way, I'd be all ears. > > The zpty magic that Valodim is doing there is all so that you can run > the capture scripts as standalone programs. If you're just writing a > widget to run inside ZLE, you don't need all that. > > BTW here's a working link to the old Unix Review article that explains > how the "keeper" functions evolve: > > > http://web.archive.org/web/20050207041146/http://www.unixreview.com/documents/s=9513/ur0501a/ur0501a.htm > --001a11c34e6cedca4e04e9c89e95--