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,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23312 invoked from network); 29 Jul 2021 08:15:09 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 29 Jul 2021 08:15:09 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1627546509; b=TLnXgaQdJOPKWqOSgE/6SQWXHML8h8y0CtVQFLM7QxPpdtvztoImQnuf+nmdOgdg9ZJN0F1IB3 MufZ0H1nlaTJiw0qN2vaj/8DBoSjDi1VFwGQBBJVwyDrWreTie6bZ8Vsw7bigDzsnR4q3hYlA9 /z14mQBhwrIZQF7/gbLlBFIospGwzWpMfNzwUdbekiN7XZ51mZfO2Z2hYjkClDgBLVukQtOmHa yy0SpMfreKjSxISx2iJ40kZNgoNDA02s/O3KhGPc3HITxafuKZP33sd/mPiDU8IIEFRFyQQLTN ab+KilLbAuTvgQvwhy8uAnK3Z1mjkUON1CdRZzrkT9a+QQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (smtpq2.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.97; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1627546509; bh=IYV82q0yzHq/4JGNTaOC7jKZozdV/zBNdShjxMK1MsM=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject: References:In-Reply-To:Message-ID:To:From:Date:DKIM-Signature: DKIM-Signature; b=BvwOUQ6KFdfvS6wM5fxUrVEPKX0n7qD8HGhwOXw/XUB7OCLES2Zc1bS6dwrSrR/dFeqValvbhs ucxFChXadeXB3VF4dGjAjRHYDqSHrhWjTszR4nbUXc5ODQM612z2LYkgYIlVGuI321YlrGgWf+ G5mb8ZNABm1Ogcdh5JyoDBlmLGWONdAWLInf1Ay7KwJ5DQ3Bb4k4SJ1aWfIysSvUeUx8KfZPNi 21VBOzH35GUkkyjqZRhtE5fO3Gbfv0xesMZvnflefvMxvzGbfWRt6BaZyzjjpA9ki11ktwMnF7 V0oHhxIBHiz1iBJfbHcAEczu7PkHsh5Rcanoo5CcEqiPQg==; 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-Transfer-Encoding: Content-Type:MIME-Version:Subject:References:In-Reply-To:Message-ID:To:From: Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=O943VB8cnJ1v9B9hUCNMx8NXXFa7hsniA/U7JdRJR3o=; b=M+/0JJQfNjWEb8nM1hgUYFf0FI FesVTQgf0aNQdbSn83Nqb5pw9Qy2swlon7mDPrSbW2fdbp1dMR4vNDmmIpCGh8J5n+/RjryMQrTgi XvMDjJwYToqaTur8ZtgiA9uZgUDFmlu+twoWKPaYYEHrLDX5ZIqE+larCCTVnHRJqRFHwiiT9EDF4 ncdL7H8CIigu6DYG3F/N2bZqIYVg5eGtlZou1dVKFROLOH7BoHkRegMcMbNU6TkwgSaD3m+VwHGi9 M2fMB6g//+2IJCyqBwCjgICiVfsCjvOwVTGZlvIVs0t4yCMvh8LpHXPjRv9X8GI0M8c++U2CLlKK+ zBUJW3gQ==; Received: from authenticated user by zero.zsh.org with local id 1m91C6-000Fri-Rx; Thu, 29 Jul 2021 08:15:06 +0000 Authentication-Results: zsh.org; iprev=pass (smtpq2.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.97; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none Received: from smtpq2.tb.ukmail.iss.as9143.net ([212.54.57.97]:36564) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1m91BS-000FY4-9r; Thu, 29 Jul 2021 08:14:27 +0000 Received: from [212.54.57.80] (helo=smtp1.tb.ukmail.iss.as9143.net) by smtpq2.tb.ukmail.iss.as9143.net with esmtp (Exim 4.86_2) (envelope-from ) id 1m91BR-0006uQ-L7 for zsh-workers@zsh.org; Thu, 29 Jul 2021 10:14:25 +0200 Received: from oxbe8.tb.ukmail.iss.as9143.net ([172.25.160.139]) by smtp1.tb.ukmail.iss.as9143.net with ESMTP id 91BRmN9r1hdxk91BRm7cfd; Thu, 29 Jul 2021 10:14:25 +0200 X-Env-Mailfrom: p.w.stephenson@ntlworld.com X-Env-Rcptto: zsh-workers@zsh.org X-SourceIP: 172.25.160.139 X-CNFS-Analysis: v=2.4 cv=Ru2mkAqK c=1 sm=1 tr=0 ts=61026361 cx=a_exe a=pgSR3NrKiwmx/6vnWRL19w==:117 a=sfM75MaK4YAA:10 a=IkcTkHD0fZMA:10 a=2y5beTJ5bSgA:10 a=q2GGsy2AAAAA:8 a=NLZqzBF-AAAA:8 a=lK5JikiSYK7lpYhtU04A:9 a=QEXdDO2ut3YA:10 a=z9dJwno5l634igLiVhy-:22 a=wW_WBVUImv98JQXhvVPZ:22 X-Authenticated-Sender: p.w.stephenson@ntlworld.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntlworld.com; s=meg.feb2017; t=1627546465; bh=IYV82q0yzHq/4JGNTaOC7jKZozdV/zBNdShjxMK1MsM=; h=Date:From:To:In-Reply-To:References:Subject; b=XilxnTxtZS0qrIygljcNFptWlntFceCZyYI7A7/qp/0DuRVupU/cR3uUWlNpDo02P TsEcy0ss93wTFqQTv/gKzpXpHryoa49B6yZcTX2ghVH/fbYnuvbmsFkIjCLEi7oe1A xUQFA1W6bPpwphF9TF013+8cgqFkq6WjApSyzrX0ZLfjh4J4BKXnX1UWh4yERV+PY/ ZehNZVq5bN0LX2EPVpFqR59rHYZLaaLcN0JKD3sOMGHJqgV4s4be9Qhbq3AmEmRFjI eAXUgKIe3xzk2BMLEi6xuvXppLFsLU7yoXFg+aaLw8hENG6ieXRnUWGTG056X0gElk MaL4n4D/FSltQ== Date: Thu, 29 Jul 2021 09:14:25 +0100 (BST) From: Peter Stephenson To: Zsh hackers list Message-ID: <1430978327.511438.1627546465383@mail2.virginmedia.com> In-Reply-To: References: <20210726070654.v33wzoiwpqibwlas@localhost> <20210727055227.4aobyf75yyckctve@localhost> <1330504218.483943.1627463206156@mail2.virginmedia.com> Subject: Re: [BUG] insert-last-word gets stuck at comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.4-Rev72 X-Originating-IP: 165.225.81.118 X-Originating-Client: open-xchange-appsuite X-CMAE-Envelope: MS4xfJs3EFa3LpWSntp0wkZCf4ZIX+QI33jyY+0IQh0b8YORp+N90CFrxrnqwTghOxBWjPAhu015CvcaqQrTLmF1mWVAqa/vWr3yMxdIFZERMWaXFuj0OwzG fG1fv7nkrJDhun+FIWZIWJFRNE8LJFtMYG67M5YXxIPqtsyPmR0p6KVi/CFAxv7vq2S6vtpEKondbEt0nUiSUFA+arSjUQmFa0S18KOibYsHQH7TZIK1C/AA X-Seq: 49217 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: > On 28 July 2021 at 16:40 Bart Schaefer wrote: > On Wed, Jul 28, 2021 at 2:07 AM Peter Stephenson > wrote: > > > > > I wonder if it would be preferable if it just skipped on to the next > > > (that is, usually, the preceding) last word? > > > > That seems reasonable --- I can't think of circumstances where you'd want > > no result, unless you've actually reached the last possibility. > > Should that happen only in the default case, or even when one or more > arguments are provided? > > My inclination is to say that if a specific history event or word was > requested, but isn't found, the op should just fail as it does now. Seems OK --- as long as it doesn't get stuck when it shouldn't I don't think the exact behaviour is that big a deal if there's some kind of rationale. pws