From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13003 invoked by alias); 18 Feb 2018 03:38:18 -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: List-Unsubscribe: X-Seq: 23144 Received: (qmail 5766 invoked by uid 1010); 18 Feb 2018 03:38:18 -0000 X-Qmail-Scanner-Diagnostics: from mta02.eastlink.ca by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(24.224.136.13):SA:0(-2.6/5.0):. Processed in 5.577699 secs); 18 Feb 2018 03:38:18 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: rayandrews@eastlink.ca X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=utf-8; format=flowed X-Authority-Analysis: v=2.3 cv=OKgJIxSB c=1 sm=1 tr=0 a=RnRVsdTsRxS/hkU0yKjOWA==:117 a=RnRVsdTsRxS/hkU0yKjOWA==:17 a=IkcTkHD0fZMA:10 a=ZXl-F6rl6ddecHLMJRUA:9 a=QEXdDO2ut3YA:10 X-EL-IP-NOAUTH: 24.207.101.9 Subject: Re: alias hygiene To: zsh-users@zsh.org References: <1679a1e0-f716-e501-c4c2-f7e485f9701f@eastlink.ca> <1518827410.2159479.1273706656.1F5B436D@webmail.messagingengine.com> <37bb7b6b-ad70-6d03-f979-0e0d3b0be4d3@eastlink.ca> <1518875676.3562728.1274073304.5ED24DC8@webmail.messagingengine.com> <20f1c297-7c7d-109f-b9ee-b53823aa476c@eastlink.ca> <1518881445.3606980.1274127384.7D7A2004@webmail.messagingengine.com> <05e4360b-4989-af2b-70b6-79c2aef06f95@eastlink.ca> <180217181002.ZM27805@torch.brasslantern.com> From: Ray Andrews Message-id: <3e834b63-f730-361b-b123-1c83402ec613@eastlink.ca> Date: Sat, 17 Feb 2018 19:38:08 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 In-reply-to: <180217181002.ZM27805@torch.brasslantern.com> Content-language: en-CA On 17/02/18 06:10 PM, Bart Schaefer wrote: > } Show me one that I can understand > > Daniel tried to do so a few messages ago, in users/23134. Yeah, I'll chew on that anyway, but I thought it might be ad hoc, so I'm angling for something actually in play so I can see how it works by fiddling with it.  As I always say, if it ain't broke, break it, then you find out how it works ;-) > You create a > widget with either "zle -N" (which sets up the internals for a "normal" > widget and attaches the name) or "zle -C" (which sets up internals for > completion and names it). Ok, that's what I wasn't getting with Daniel's example.  So these things really are a unique functionality, I'd not be calling some function I wrote a widget 'cuz I think its cute.  Thanks Bart, that gives me an honest start.