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.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 28208 invoked from network); 14 Dec 2020 09:55:50 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 14 Dec 2020 09:55:50 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1607939750; b=r8C1acTloH9JEJRhDZiUs9my/QUm/9x8MJyuB8+THGMn7Zl+9B+j0wJQgy19g8U7omKDYjUnV9 PBe2ySvnr/rGcxjZ99OUMBf8VAqA4NwxftrJ3jr+xW6o2niYcNa5hg6TTnoOmC53u21mysw3W3 khVA7cXRC5hITOaH4nWbyRT03vEp1/koT9cLNmDoLcrjZJYDWh7WyZCqbD6YEmxB4Lzo3gmfke p0EJo6dM9Zrk/K4wmXu9QLVxmwHJ4CY1KBFIEJtikEzcktwDIr5P5qFYAbcNNYvWj/Jz1CgDfD RFnmOUlY1Q4OThS0hPstnel+u4R9sueZW7zY2eR0/PsaZA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-il1-f195.google.com) smtp.remote-ip=209.85.166.195; dkim=pass header.d=dana-is.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=dana.is; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1607939750; bh=r/+rEMK77WphZuqgDzvF2Dr33l8soKuEL9w9EORne+Q=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:To:References:Message-ID:Content-Transfer-Encoding:Cc:Date: In-Reply-To:From:Subject:MIME-Version:Content-Type:DKIM-Signature: DKIM-Signature; b=vOEfjS9wnSw4qTYz6+YME/7doxolo9C2dw0rcyJoUmxRoy2pwupCNVaCRsi3r6koFNlK6uzwki ZV7A8gCD55sHKJs55KBDeD6ucohilcnbmqXEdhlRuk5BMXIDkoPIca3ZQQ1c0HeGWgLlNUL6JL 7Ce9NJ69qVGT2V+03W2bvl7VXy4zaH2aXqMJxXUiQRdiWx3FPU5hgprUn8cVePZYmRtZ3eaptW NBr29Qyu7y2JNhoCce7WrxIP9YdNeIUHmH9VDCSma14O6peWlqmoyA0QtLUww+/qYPhAE1rnjp r4YQCR60xsjmYb8f5EfcPy17BefUjNPu1vXgRkawptDrjw==; 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:References:Message-Id: Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version: Content-Type:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=lmy6rrtdDOwrRVkhYpRquT6UPd1FiDcdNFtytDteUZY=; b=lUz1kddlE84T0nN/uZU0nmL9Z/ oISGKxNraN4A4ncuK+OFFelIPiWkF2A1EgdcNTXRgj8QjjKQ+mjRKHM9aaESGoZDu9iAKsfhFT2li Eg1DLqLe4HRFvoZgvbC0GwHqdyQuFkKbPGMWTWGFqHMQYZ11kCOz9IlZrpy8PXWt5wlUPbkyJmnDv GFgCjqYPcEscgGM6ECKLQpHzN5vCbTJ2PFdSe6tHyyBzaq7l5UI0pO9XdH8KZOoVRVhmrjf11czZx P3CqGHfR9h4mKjj43Tt4scJDvISMLFDewomNLBRlPwx7zCqMoCG2kV6OrQnuSfMtylHfcFtA/1dwg I2ZmoxQQ==; Received: from authenticated user by zero.zsh.org with local id 1koka1-00014P-HT; Mon, 14 Dec 2020 09:55:45 +0000 Authentication-Results: zsh.org; iprev=pass (mail-il1-f195.google.com) smtp.remote-ip=209.85.166.195; dkim=pass header.d=dana-is.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=dana.is; arc=none Received: from mail-il1-f195.google.com ([209.85.166.195]:42225) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1kokZk-0000v2-7a; Mon, 14 Dec 2020 09:55:29 +0000 Received: by mail-il1-f195.google.com with SMTP id 2so15261463ilg.9 for ; Mon, 14 Dec 2020 01:55:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dana-is.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=lmy6rrtdDOwrRVkhYpRquT6UPd1FiDcdNFtytDteUZY=; b=EhqIDNI5YwGehD2LEAqe7sW3PsUpXRczCRLNtynaj8JM9AS1Zumh3zxM8xq+XL8NYe zILUlvsn8E/LxnGVCSO82VL0MPawoqw5Tj1mPLImQxr0roWZ5o58COqzCPew7N0FOtHs SFiEmtlsRdm9pNACKh2D9Br/AuxthA+9dnai4rmExaiHoW0XhLbDW6TqG6Gqm2Fsp3ZZ NfDMOzzFGn592TkJQ9WkKMJdgUhNDtF7uXq73FyU10jhsz68C5KkZ9z2OsgEq5MQWHX6 zAokAWukZEHETV7VhJy0OQz0xFzBsxn0p+iRp7o7Gxs1moRESNx5451p3QysBKT4zL4e PLAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=lmy6rrtdDOwrRVkhYpRquT6UPd1FiDcdNFtytDteUZY=; b=WumHxQjJOvnEn9XgD7yqHOUw8YcFWdafVVHpP0+++aKvSLT7Tb4TtDgn4h+dH0K+JR VP7fCGOf/zB/xxe+jk9tCy6QNIdDwK3QCBY6w+8pn+s8ZOSYnS5VQH+mTCm9SAsL5ck6 XaeDhnm728f201ql5XwVWtXbLx0+NTY0R7LO75KPB5O0BxhvxoMFma03E1rhDFxB9fqZ QM2O21rNlkL00bAWFIaen3A+JFnHBii9URmRHlTJGFSSQkeLbm5oA4Rq0tSayI0hUaj0 TeUnwzT1F6eVYIJougDtgY8FwQ15cZ9ySaPMEOpUF287mCsiC8EyUwNUbxGIpusEzFDm 2u8Q== X-Gm-Message-State: AOAM530fJVGZ+XQOTqHi9f1Z3cwqQz8Nt2UY7vRgnPV3CfZMIyzI+ncJ eiAXZEHuiiec31HSCWGIrCbBmQ== X-Google-Smtp-Source: ABdhPJwgQ44zpOZjtVqKNCfonfWDn88RWd47Bzd5n6kcaSH6Uk118SzQ5MNqkInU1NZDW5Xt4wb+bA== X-Received: by 2002:a92:ad05:: with SMTP id w5mr32724461ilh.226.1607939726528; Mon, 14 Dec 2020 01:55:26 -0800 (PST) Received: from heartswap.lan.dana.is (173-17-84-59.client.mchsi.com. [173.17.84.59]) by smtp.gmail.com with ESMTPSA id o11sm11119525ilt.23.2020.12.14.01.55.25 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Dec 2020 01:55:25 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: [PATCH] Fix zstyle option completion From: dana In-Reply-To: <20201213173119.GA6254@tarpaulin.shahaf.local2> Date: Mon, 14 Dec 2020 03:55:25 -0600 Cc: Zsh hackers list Content-Transfer-Encoding: quoted-printable Message-Id: <2D922DB3-2D14-4F78-B99E-7F0D7C5D6F63@dana.is> References: <20201213173119.GA6254@tarpaulin.shahaf.local2> To: Daniel Shahaf X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Seq: 47742 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 13 Dec 2020, at 11:31, Daniel Shahaf wrote: > Could you clarify the precise LBUFFER/RBUFFER values that "won't > complete"? For example, when i do: # LBUFFER=3D'zstyle -' # RBUFFER=3D' foo bar' % zstyle - foo bar ... it tries (unsuccessfully) to complete argument-1 instead of showing = me options. On 13 Dec 2020, at 11:31, Daniel Shahaf wrote: > As written, I think the patch will cause =C2=ABzstyle -g foo bar baz = =C2=BB > to offer completions, whereas currently it correctly completes = nothing. I don't think it should. All the options are exclusive with each other, = so that takes care of that already, and the -A '-*' should handle cases = like `zstyle foo bar `. It gives me 'no more arguments' when i test your example with my change. But i might not fully understand what you mean dana