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 13422 invoked from network); 21 Mar 2021 09:50:05 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 21 Mar 2021 09:50:05 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1616320205; b=DYx+USoFpWPLDq40em3O4YPuz6ofuye7e1Azwl5xwTTdDdNEG+5JwNJC4PONT1tuEFy/jMLkRX fcgj+QpJO9/yS2LVxrFMuPb3AHBucllUBXL6B3FBrpEypsucGALm0fHK8PFge9WNBJhlT1EzVG ZTTreNK7XEMSvh+LQ+Ucq0F/0Y49vX+n8lkHCAPGgLIUK7HoNCXwwspju+PBog4SGSYVjrLJpC TAdOy2Kg9LrpsGSPWGt9Zn/v0SmwuoBXguBX/z8OETugJ66IAay8L07AjTgV4JPPwx6um89jAj so32E1EX609yoth+LWHa0DLe4ndeY7bF1LGhlCd5CMgDFg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-lf1-f42.google.com) smtp.remote-ip=209.85.167.42; 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=1616320205; bh=5gHfMdW+tar0hlbZyuJ01rHH/ipEP96rC3CyFkXlu6Q=; 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=WViXBes9vi/sTPJ6KqpGq38eb0smp4DMZzQFVxAt1k3J9B+CdwlJ0cxoNqICHM2XqDbIAZSQfS kFNgj+hoD1nzwnqRqX2FnTvlavBEf21RcgAMVT8OaTDsNaQ+XMxUxPu3SD6qPK+Tnit2+1+SHi zUeevF91uAj/eP0vnoFk/3vF1EInkBfFVwdPCSwskRPzq2cE8MX/kgrtSBX8rYx31xgUHpmrnI XvV80d4PSI2jjgvyJUBl0tptRv8EbC0QTax3VSDmHSejlFXxZAeeORtSIncmeyE3oLrcFIv8Nh ja+8dOzcDIaAwY9r/q7YGxPHdNwyYSIPGazjsI4qDJV1WQ==; 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=5gHfMdW+tar0hlbZyuJ01rHH/ipEP96rC3CyFkXlu6Q=; b=0dy548G2yb5aUj3ezapJnwl3ti N9Ib1UF5oG/7+HuUbBSbj5YkpwlakqJJkcfEyGE4PR7a09ADZP2WhUtSPBdlYA94AjCR5up1aCD24 AMxT96OCIx9amTen6ka+CjdNJ1W2ys3TM0uV1LUbm0dqjVUdyURwLUe2p85FvYXoxb1rk3/MPMhbh cBzMlYfMqwNzn4N0an0348GDnPF7ay1rVO3vMq6I06SENW/x+9aKDMfryyLBItU9ScNtGgiiUE7tF xIAbatirdhuzUS6RKmhlGvkDVjNK45Ev+3+X4FwEpxzdI3Xg8wKt4oDhLdh9x8vTugNhTBgxM10sW h0u+7jcg==; Received: from authenticated user by zero.zsh.org with local id 1lNuih-000Nkh-BV; Sun, 21 Mar 2021 09:50:03 +0000 Authentication-Results: zsh.org; iprev=pass (mail-lf1-f42.google.com) smtp.remote-ip=209.85.167.42; 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-f42.google.com ([209.85.167.42]:35729) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1lNuiN-000NbT-RR; Sun, 21 Mar 2021 09:49:44 +0000 Received: by mail-lf1-f42.google.com with SMTP id 75so16660445lfa.2; Sun, 21 Mar 2021 02:49:43 -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=5gHfMdW+tar0hlbZyuJ01rHH/ipEP96rC3CyFkXlu6Q=; b=XowX1JOT7+O23hXXC+WRvLeqvZKFo4UVcMseRc4m0KKt5jjS2DyY8AG6rEspYEPmDp x20Ztm5OLfzHeCQONWhjsLoH3/dHDZ+lNOsNXMSGwdayiD5phyTQqTt8LeB43pqRyiJq HEsP+Ls9lg+XWEy0ZJUFgDuYqS1XpsUBRLQdNWPn33sG9saCG5lRUBxazRUZ3b3+smki /ZHjS/a5NG1X22h6YNZlBl6MS8kIaY8HL+WDiM91wS2CvsQ+YQv0DFbf7a9sk/VBPpAr vwn+yb3k3WTv22IIB63YWdnoOGqMBk3q6RgD2cv+2WEA4roQwPvYtK6BXzCg2gWCHzoY /DBA== 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=5gHfMdW+tar0hlbZyuJ01rHH/ipEP96rC3CyFkXlu6Q=; b=tJjF+3PHhZaP3HmH3dvdsY2lZ6M3PszWGatd50Dh6Q7gn6TsRMC9GaDts+UvqCDQf0 yoLLL1sbRLgwtWfzVE2brR9EoGZWBy0cWraQF+sk2KgQGNiXp4W7HYNrs94m3rX3cGaS aFW4Ixhj6X7Ru1eSDnXQidxx0MkdNb8SFmnKwFJ8YL0RS6hMNzpfkSMfvyB+2dVkSL9C bT4sCzdq/IgbgFD9awe3gBS6k/0Y6fWFxtzwB4aTiSOBsHPKJILfjNIRYvXlEu5YRO4q rin+IjtQ65jsgJmclhk+6MrwsBkPT3xN+sZP3rUcGAT8fnABDWgGLCXTPP9/1eZX4Arl YIEA== X-Gm-Message-State: AOAM532SujETK1K851Tm79bL62c8xLS/egFmUwPo0ekYTwl0qtaf5Bja SrILWJZECPTd3V6Lgoe2JbE29idMBCWzzQ== X-Google-Smtp-Source: ABdhPJw/Opst8X9MROaeHviUnEHkJTxOrnSkPiBi2P05de/a431LYpH3nwJ2cKppwLCSyaFIdtqhbw== X-Received: by 2002:ac2:484d:: with SMTP id 13mr5670068lfy.124.1616320183076; Sun, 21 Mar 2021 02:49:43 -0700 (PDT) Received: from [192.168.1.20] (hag-tkubng22-50df3e-132.dhcp.inet.fi. [80.223.62.132]) by smtp.gmail.com with ESMTPSA id h9sm1455365ljh.58.2021.03.21.02.49.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 21 Mar 2021 02:49:42 -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: Bug + patch: _expand() fails to insert unambiguous prefix Date: Sun, 21 Mar 2021 11:49:42 +0200 Message-Id: <705461C9-F909-4CF6-97C5-ADB62A9F5A07@gmail.com> References: <61690-1616273655.087174@mxKg._JXT.SUbL> Cc: zsh-workers@zsh.org In-Reply-To: <61690-1616273655.087174@mxKg._JXT.SUbL> To: Oliver Kiddle X-Mailer: iPhone Mail (18D61) X-Seq: 48207 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: Forgot to CC this to the mailing list. I shouldn=E2=80=99t use email on my p= hone, apparently. >>> On 20. Mar 2021, at 22.54, Oliver Kiddle wrote: >>=20 >> Thanks for your well-thought-out response. I think you have good=20 >=20 > Whoops! Replying on my phone, I accidentally touched the send button. :/ >=20 > Anyway, what I meant to say was, I took your points to heart and spent som= e time trying to come up with a better solution, only to realize that I cann= ot find a way to make it work in a good way that takes your points into acco= unt _and_ I=E2=80=99m not really that invested in this feature in the first.= It just seemed like a nice idea at the time that wouldn=E2=80=99t be too ha= rd to implement. Turns out it has more consequences than I thought about and= I don=E2=80=99t really need the feature myself. >=20 > So, long story short: I decided to abandon this patch and go work on somet= hing else. If anyone else wants to continue where I left off, feel free to d= o so. >=20 > Having said that, this exercise have shown me some other areas where _expa= nd could be improved. I=E2=80=99ll submit a new patch for _expand soon (just= not for this particular feature).