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=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 31500 invoked from network); 1 Apr 2021 05:11:54 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 1 Apr 2021 05:11:54 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1617253914; b=QLfWqCzE6q/PbEN8MEMZp5dPCOLxYSVKwMYrpUfrCMiBBoenUgH0CXf+CDutUZvZ21RLj91HOw TLC9DPKtkM+z0AgbId3sWDp9L7EFlqRvL5x9Lnuqa81jGCVElAu0Iayx3f09tMat/m88iwYCWs mNXcTlmDqjrHF4/Pl9IBtgw2jCHP56VelnFWN2XBkghjTGDFocOOepJ1San8LYPHluZNNFB6Uc mAkGJpmr+UwBNJBNjDE6T7SEcOkoPOnDhpLv1+dtJ+Lh4lDqR/MntM/1PEghVRsb8F9/vm81CH JJvrnQqCwdyNwdY+imPoKzBp5myBr6ToifVK/nIHZ8okvg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-lf1-f41.google.com) smtp.remote-ip=209.85.167.41; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1617253914; bh=aCs58fym0JUAhtKhASvSxHZT1UF/NaLNCeb6p0lvkJI=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:To:In-Reply-To:Cc:References:Message-ID:Date:Subject: MIME-Version:From:Content-Transfer-Encoding:Content-Type:DKIM-Signature: DKIM-Signature; b=BwiTcczbEMmGiapAcez4AWaWMuU/WYYv3IWgPTZctLefWZxav+H9W4MvuWu9SYbUDQnZoYmGBj FsSoHg6iKTHjCz5sQReoNPrFXYVAR6nkI+NFaskhXfjZX1IU5GzaGNkQ5OzB/UeANP/ZpEonQy RrlD3A9Jg8LfgjtYw899ybao6hJDm0+SIw+CrVVdveXsOQ/ySjrygCPr3as0nbCEJ5cfOIxgRZ z49M/pUJHOQhfv9ItEM1p4z0V/NsE+TBMiZncqGXERhvVSD4gI2OL3pDCaFckVRRdl4EtBeNH3 eoQTITVtesLhpVX3Oax8Z8XGPwFxW/fd6uoNrVNEV4P0VA==; 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:To:In-Reply-To:Cc:References: Message-Id:Date:Subject:Mime-Version:From:Content-Transfer-Encoding: Content-Type:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=napyobRbNMI+IDaPgDkSe5CXhD3DQYPDsYVPm/9IGRM=; b=JhE95fyELUoZh5+ZlNcKqBlnrY XJWv426oFI5g5sUDGjHZuJIJ/eHmN22GOxAxxas8M/5T4XHbeT2TITWwCKhR8P8XTrR87w5Kh9NnL m1CEKqipskdWwZajpUSmAYSN1Dw45NSK+DsuLmRPu7LDGA/B6ZMSr3zBLw6F++65Bv9YIVZkcKDNO t2WVBpYDe29EnUmWBivbrEJ6SCd0zI1eoONPE2s1jlz57RQme8e4V5mZ81DEfWGIzXVdXgLfyfDEQ HjXdR+l7Lwk9qw41rnPozHaCxhPB/TE/2JKv0L5Yr0n5itGqZ1VImT8D1XtjHIGJqoRO67KE8qtQm wbW1IoZw==; Received: from authenticated user by zero.zsh.org with local id 1lRpcX-0001T5-5n; Thu, 01 Apr 2021 05:11:53 +0000 Authentication-Results: zsh.org; iprev=pass (mail-lf1-f41.google.com) smtp.remote-ip=209.85.167.41; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-lf1-f41.google.com ([209.85.167.41]:46884) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1lRpcI-0001Jy-6y; Thu, 01 Apr 2021 05:11:38 +0000 Received: by mail-lf1-f41.google.com with SMTP id 12so903354lfq.13 for ; Wed, 31 Mar 2021 22:11:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=napyobRbNMI+IDaPgDkSe5CXhD3DQYPDsYVPm/9IGRM=; b=WuXPjaGnmTN+5928FHDMdW5rXkgaB28qkpKwkEe7WZtC1SoTU39GhLdnxhSmIIYVZw 41LWYj2UNSpGakjA08zd+s8KoWz8Ds1KMlvArbuHQrVWB//OTvQeHWXuNewdbmVcoeqC 9KLq+uDwpM77eL8sW+D8iNwpm5pnb4kGCxg1NTSGXwsAFLNFT9Y28iAEKAqW3oLvvQ6t tYvYa9dgE8LwRN97WLIZSEjcJSP9GYYd0SuO45WlNba0SLKRDM652rPc8ISEnmkYGhdY U+6gQuNdBCDxN/atOnlEue9/X+tlCnK1DEeS0wtJujFmp+QQGHnp6AD9RivhI9aOjKdB Yg0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=napyobRbNMI+IDaPgDkSe5CXhD3DQYPDsYVPm/9IGRM=; b=tQmE7rSaN6auC1Yk8X+Jd9lcDP4mmFi91XWebqM7FXjR7DAXe4ugid3+TPTxA57tuM hO9l4EDDzTaB8WIaOduX+UNDdbprr+NvjoDM+I+Di9cSDpB5N6/OJx2FEU9jrjJXy/2b Gz108dWofzZnWW72mB1pRh3aaa2rl+icbsvcgAN813J+vd4iqRi8bE0UNhMYXNnAwDP2 aQedEDqxPOsDzQEB6//zyddi5FtOi2531HognQRPC+TZuZ50/Ay5mqymMaxQ16MFiZZJ VvvRJussSa7/wNStP5/qOS6xaj/8p9QmGjJRh1sOMHwgnSGUjvtQlMho4wbLwjuF6E6G Hz4Q== X-Gm-Message-State: AOAM533GhwPLo6A80otLy4rGxHRLe6qaZ8uWbQiHOZr4LUW6KhbnCqvu nHp1/wZA7ubHynNQqno8lQgJm097GO0= X-Google-Smtp-Source: ABdhPJzbsZOYKlCNToMuyaC+HmogxUlmszL9oA5ueF/k4z50mNZPaUXoYtdJOtNgZiA7/VFZFjZCtg== X-Received: by 2002:a05:6512:2008:: with SMTP id a8mr4296359lfb.1.1617253897387; Wed, 31 Mar 2021 22:11:37 -0700 (PDT) Received: from ?IPv6:2001:14bb:640:71e7:10bd:cd93:d7a6:12b2? (dy5yjd54t33h5j19hcm5y-4.rev.dnainternet.fi. [2001:14bb:640:71e7:10bd:cd93:d7a6:12b2]) by smtp.gmail.com with ESMTPSA id z28sm486563ljm.44.2021.03.31.22.11.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 31 Mar 2021 22:11:36 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Marlon Richert Mime-Version: 1.0 (1.0) Subject: Re: Why does _main_complete not try the next completer when $_comp_mesg is non-zero? Date: Thu, 1 Apr 2021 08:11:35 +0300 Message-Id: References: <20210331232013.GC16838@tarpaulin.shahaf.local2> Cc: Zsh hackers list In-Reply-To: <20210331232013.GC16838@tarpaulin.shahaf.local2> To: Daniel Shahaf X-Mailer: iPhone Mail (18D70) X-Seq: 48365 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: > On 1. Apr 2021, at 2.20, Daniel Shahaf wrote: >>=20 >> autoload +X -Uz _complete >> functions[_autocomplete._complete]=3D$functions[_complete] >> _complete() { >> _autocomplete._complete "$@" >> local -i ret=3D$? >> (( ret )) && _comp_mesg=3D'' >> return ret >=20 > Considered using an =C2=AB{ } always { }=C2=BB block? What for? I have no need to ever restore the original _complete().