Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID
	autolearn=ham autolearn_force=no version=3.4.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=brasslantern-com.20150623.gappssmtp.com; s=20150623;
        h=from:message-id:date:in-reply-to:comments:references:to:subject
         :mime-version:content-type;
        bh=4zQcWupUfE3fjJO7BqI3kXIGSyQlj+rABrVQeMdwpM8=;
        b=bWgmBT/+Q1v3ZuAY54KFcmuNa5laCDG8+mUZpJPXH3iiSqqh1DDc076mSvIwi9jPxe
         xF01HgJHF8nf1A3wKYx5DEwwFtjVh/EKxRqTrnfORLU7DaXdyzVAoHJH+PZr5LOSR4DY
         dj8po+bJTjAbMvrokuYUyoqKN+7oEksyn2Q7QQSWp95vMleqREBRGO4UtUcHixQCT4bU
         KSaW1oQYE13o3jYJtkFODKedA4Yo3StiIwkt9k5Z8Trm6x7SJfP0T11mhOJO1OJPqQ0l
         o/tEWtCV5flEyDUWvl/e04NqfCp9vNuGvcBR5h4BX7J0TtRy+nQNz3CF6fniG6Xwfm85
         /a/A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:message-id:date:in-reply-to:comments
         :references:to:subject:mime-version:content-type;
        bh=4zQcWupUfE3fjJO7BqI3kXIGSyQlj+rABrVQeMdwpM8=;
        b=nDsJ4j9piGNgStzN1Q56jtK9KSBLzB73UZg6e84DAHaNvCpRxTEpKJW6q7ZxYEx2J+
         NtdVgt2leT1Z4c++TTwLG7O5+AIyTKvcR4V4vGXSyJo28NTu4/GD4YyJEn1RSqJwLTi1
         +47QvRaKyWCiu0UJdopI/lIJ65MAvCxf350h+343wFwnFEgfFt0tuRm2+c0s9ilBAR3g
         4gz+351yCNeZRRn+rUKthNF095C6eEuLL05UxJUkSzfLfYqspHCn1VPO1r9u0jjQl1/f
         rf8oaqE/Ja094j0ervCji64aQLzFX0nqAqui2UrdIo9ITqDWV2kQDWYe46s8+7TgCql6
         Jh9w==
X-Gm-Message-State: ALoCoQnB/BnD9VcI5kSnXBtsCKXiUQ9DcYqIsuHLUwonJnOx5lr/iN+URFx+0F5hYiQCvGg+v/KbFjDRohlSujMfTv2fJ5U5rA==
X-Received: by 10.98.74.135 with SMTP id c7mr10932143pfj.129.1452650485356;
        Tue, 12 Jan 2016 18:01:25 -0800 (PST)
From: Bart Schaefer <schaefer@brasslantern.com>
Message-Id: <160112180141.ZM9984@torch.brasslantern.com>
Date: Tue, 12 Jan 2016 18:01:41 -0800
In-Reply-To: <20160113010147.GA4699@tarsus.local2>
Comments: In reply to Daniel Shahaf <d.s@daniel.shahaf.name>
        "Re: _history-complete-older problems with $(" (Jan 13,  1:01am)
References: <CAKc7PVCnEX1rEhNqhtx7spyUVKCWukz4Tzkqr27-OV9+4hVciQ@mail.gmail.com> 
	<CAKc7PVDVR=B8SWX+gSiNvtODWZ-25LtDz7jXVDH8BtrcxMnjXQ@mail.gmail.com> 
	<160111161501.ZM5305@torch.brasslantern.com> 
	<CAKc7PVBCEM=46YmgmhPR==Rq+pSfY+hgr8bcOMLV=zLFm6THBg@mail.gmail.com> 
	<160112113928.ZM9065@torch.brasslantern.com> 
	<20160113010147.GA4699@tarsus.local2>
X-Mailer: OpenZMail Classic (0.9.2 24April2005)
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: _history-complete-older problems with $(
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Seq: zsh-workers 37597

On Jan 13,  1:01am, Daniel Shahaf wrote:
} Subject: Re: _history-complete-older problems with $(
}
} Bart Schaefer wrote on Tue, Jan 12, 2016 at 11:39:28 -0800:
} > So now we need to remove "$(" from the
} > values in $found to get the actual string to insert to finish the word,
} > i.e., "(1+2))".  Similarly we would need to remove $SUFFIX (taken from
} > $right) from the end of the values if there were one.
} 
} That seems to always behave as though COMPLETE_IN_WORD is set,
} regardless of the value of the option.

True.  Anyone who wants to fix these issues and post an update is more
than welcome.  I already spent way more time on it than I intended.

