From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW,T_KAM_HTML_FONT_INVALID,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 3391 invoked from network); 26 Aug 2020 12:40:29 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 26 Aug 2020 12:40:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=1BXLESzsEcxtBhQ4vkJjd0fPAxVc49dXRN/yDfhKn6Y=; b=bXxujYV8t+J0gZnwfK6Az891AD bEdreM5o/eL7BOEi/vI7nm5UQv8pDw3SJJguFMDVdP1wLtrrJPJnP51I7QTFWbF8vRQ7hGfqIn14R JxbZmIJkPwO4onkg2ZigxdzQf2Mn0dLdwT/V8eSrsLrpnsuJaCHL1RHcmuG8WxnDvxODTTov4538H nZR0ct8rSrCSaUTG3F/JfJKXHjd3CCFjjAEyFZFCgcYtv2RhKdWOcXZv8acB+btWUOyT931khxP7u U0g0dNePh9NfzUaaVRYK7x+cShQhdooPg69SXk6FXP8pmPPRKdqqcXpkEnG858uYAokxAIPismd61 0rUklFHA==; Received: from authenticated user by zero.zsh.org with local id 1kAuj4-000Pqk-CX; Wed, 26 Aug 2020 12:40:26 +0000 Authentication-Results: zsh.org; iprev=pass (mail-oi1-f193.google.com) smtp.remote-ip=209.85.167.193; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=skipped; arc=none Received: from mail-oi1-f193.google.com ([209.85.167.193]:44618) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1kAuib-000PTW-Cg; Wed, 26 Aug 2020 12:39:59 +0000 Received: by mail-oi1-f193.google.com with SMTP id h3so1341932oie.11 for ; Wed, 26 Aug 2020 05:39:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1BXLESzsEcxtBhQ4vkJjd0fPAxVc49dXRN/yDfhKn6Y=; b=NtkXL6O25P9XukjAORgfLdlK6N9WfQUMVFAAdR8f3Bb6jE/U4aUmDWo15O+z9HwObl p67Q4DuncnCoBjf3gKjqiC9sBWX8XJqXSj3iixj2j7tVWILSqDpktDZXaH8XYLrNag4o 4JDPdjoL6N3xxNke3V+1dq3bJJxSfD/Q0FbSiw4IhsgzBpLDVzmaYM2TQBMYgZJmSRP/ SXZA3E0yNJDoxTxZOCLqn7cjEFAvMk2qIHvAobxz54+S9fmpT84rzufh7mJ6YiIZ7x56 VKeg3bBCaQTyck90u5ljmuI13nI57M+DVi+vmV4Kd7m5wb88gt1A+ZVyhC+vvBe2OyBn Ne7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1BXLESzsEcxtBhQ4vkJjd0fPAxVc49dXRN/yDfhKn6Y=; b=CS+iyTGIymF/R+yO91JSA9z1paMpKu1cwTOEes4c8Fvh0i0ilwE4TdlhNYsHnorxnI CqjiWNLSLNQaMYo5cUshEsFUUk4Y9tzXXzyVexqEWR61WU89i1iYZw/KZPVMTQGwnn7S ZUSpWyWJRGHaOdTTTgDpQrHVYO6mK6p8VdHSsigHS1B79+qkDz+A7jAw850f0T0VH7pY /77QF3SVz9WHIpnizkkAgs2CjvPYeI2YV8IKgEMtdzXKTxAyzXgu0ZpFSo2S4FxE/UTp zX45xr3aYZbkqwgPOdbr079HB8iaI5y/tQzP2f+QUPFTZ5C68NP95Oi7Z33m5ZhXsBkY K0Yw== X-Gm-Message-State: AOAM532XQi0wJ3JKColPqhAKz09/WV2HthcSwQushrDrdrc0jMfGYS1W NYWOXZ8w1HlYojdy2E2+mM7T5SpkhjuNX39qBtg= X-Google-Smtp-Source: ABdhPJx5pM/NT1jWyw6rgnopvbPBnFOZ7i1vnyjziqoSz+nrPkcBFdCB1hq9NXkx+h6SWDFbNflT+lASPxXnIkGCmnQ= X-Received: by 2002:a05:6808:7c3:: with SMTP id f3mr3571856oij.153.1598445595788; Wed, 26 Aug 2020 05:39:55 -0700 (PDT) MIME-Version: 1.0 References: <441849700.1433895.1598439442873@mail2.virginmedia.com> <1531690126.1436177.1598443302340@mail2.virginmedia.com> In-Reply-To: <1531690126.1436177.1598443302340@mail2.virginmedia.com> From: Ahmad Ismail Date: Wed, 26 Aug 2020 18:39:44 +0600 Message-ID: Subject: Re: how to use tags in zsh completion system To: Peter Stephenson Cc: zsh-users@zsh.org Content-Type: multipart/alternative; boundary="000000000000ee102f05adc71d17" X-Seq: 26036 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: --000000000000ee102f05adc71d17 Content-Type: text/plain; charset="UTF-8" Hi Peter Stephenson, Thank you very much for the guideline. I was hung up with the tags. I better ignore it for now. *Best Regards,Ahmad Ismail* On Wed, Aug 26, 2020 at 6:01 PM Peter Stephenson < p.w.stephenson@ntlworld.com> wrote: > > On 26 August 2020 at 12:28 Ahmad Ismail wrote: > > > > Hi Peter Stephenson, > > > > This is the first time I am using a mailing list. So, I am not sure > whether > > I am doing it correctly or not. > > > > Do I need to always refer to my previous mail or will you be able to > figure > > out my previous mails? > > Usually people quote the most relevant sections, but people won't > expect to be able to reconstruct the entire thread from a single email > > > Do I need to view my email and its correspondence from > > https://www.zsh.org/mla/ or everything will be in the inbox? > > If you're not on the list, people should copy you so you will see > everything (it's useful to mention if you're not on the list). > > If you are on the list, you'll get everything anyway. > > > Being said that, I tried: > > > > % scp hosts > > You're missing the point here. A tag is entirely an idea within the > completion system itself. Most commands you can just type > and it will complete for you. Only very occasionally do you > need to configure it do something else. When you do, > then you put commands involving tags in your intialisation file. > You never need to type them on the command line. > > So at this point, the completion system already knows various things > are possible --- a host name, a file, a username --- depending how > you're going to build the command line. The tags are just logical > names for these things. (The completion system does a bit > of guesswork about where to find things that are specific to > the scp command, so occasionally it needs a bit of help there.) > > If you're just starting from scratch with the completion system, i > suggest you just ignore tags for now. The system is designed so > most of the time it should "just work". > > If you find a case where you actually need to tell it to be cleverer, > that's the time to start thinking about tags. That would be a > case where multiple completions are possible, but you decide you > need to complete only one type of thing. That's a rather > advanced use. > > Until then, I should just try using the system "out of the box" > and see how that works for you. > > Cheers > pws > --000000000000ee102f05adc71d17 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Peter Stephenson,<= /div>

Thank you very much for the guideline. I was hung up with the tags. = I better ignore it for now.
<= br>

Best Re= gards,

Ahmad Ismail


On Wed, Aug 2= 6, 2020 at 6:01 PM Peter Stephenson <p.w.stephenson@ntlworld.com> wrote:
> On 26 August 2020 at 12:28 Ahma= d Ismail <ismai= l783@gmail.com> wrote:
>
> Hi Peter Stephenson,
>
> This is the first time I am using a mailing list. So, I am not sure wh= ether
> I am doing it correctly or not.
>
> Do I need to always refer to my previous mail or will you be able to f= igure
> out my previous mails?

Usually people quote the most relevant sections, but people won't
expect to be able to reconstruct the entire thread from a single email

> Do I need to view my email and its correspondence from
> https://www.zsh.org/mla/ or everything will be in the inbox?

If you're not on the list, people should copy you so you will see
everything (it's useful to mention if you're not on the list).

If you are on the list, you'll get everything anyway.

> Being said that, I tried:
>
> % scp hosts

You're missing the point here.=C2=A0 A tag is entirely an idea within t= he
completion system itself.=C2=A0 Most commands you can just type <TAB>=
and it will complete for you.=C2=A0 Only very occasionally do you
need to configure it do something else.=C2=A0 When you do,
then you put commands involving tags in your intialisation file.
You never need to type them on the command line.

So at this point, the completion system already knows various things
are possible --- a host name, a file, a username --- depending how
you're going to build the command line.=C2=A0 The tags are just logical=
names for these things.=C2=A0 (The completion system does a bit
of guesswork about where to find things that are specific to
the scp command, so occasionally it needs a bit of help there.)

If you're just starting from scratch with the completion system, i
suggest you just ignore tags for now.=C2=A0 The system is designed so
most of the time it should "just work".

If you find a case where you actually need to tell it to be cleverer,
that's the time to start thinking about tags.=C2=A0 That would be a
case where multiple completions are possible, but you decide you
need to complete only one type of thing.=C2=A0 That's a rather
advanced use.

Until then, I should just try using the system "out of the box" and see how that works for you.

Cheers
pws
--000000000000ee102f05adc71d17--