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 402 invoked from network); 28 Jul 2021 09:07:06 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 28 Jul 2021 09:07:06 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1627463226; b=cxs8L99QXaW/7JF7Lv0f0QSrxvmHK7/qMJEaQy22aUdxPuGG2dufw1s9cUJndKU+hyMY/DSnyP qVGnnLvwhJHw0iC/i92uPy6PYfP+Y3kvws+c+6OwnmG6Q9zMl5Kn+dMAKZbefsWYa9NV2bSpkI /Rb0cOChPzJR+dHcTPT3gdv1wkPep4J0SR0Lgiwu//yuma9WeHN97dH0ML3OsT8mIVvarOLJ4A i3QrcdG3RzH4JZse9eJge6kKkSaxgjWr21vdlUSWxrULE9jLl5SPhnV2WuLBguts0d4pefUDY5 WtzYn81uR8OK6h72TsaDpsvkZDM/9XU5uG9o6wtocvmlpA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (smtpq5.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.100; 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=1627463226; bh=706LdmbmTdbcTgjDApWzAlfd/QD+nOiNqN1R1P/dkaA=; 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:Cc:To:From:Date:DKIM-Signature: DKIM-Signature; b=RtqanNxKaLKBS9o0G8/Zj6IfQPSqEDUy0sVxokoXh0zgMKXSqDUvK5MCrYU9GifEGxcfV04sps KEHLKv4hRiMpTU9/g6zt4HkpON2VQmye/iPPayiPkoqj0MvJfkq9kf59HtfvGZyxLeb7e9Y939 cSv8BY2ZJWA8F4jFwmuBBQW/wSSDFdB0Bzx7DLn5zU+/DZU0tFcBqkeEV0X4JSyDFyu+zsHlX2 jdPZ1EjhxDff5ZyENjLesI42OtTGVCB5WxWztOeoSW413Ww/aQte8KmoViLTBmRISBBUg7M85C QCIPwaBpWH6KsF5cxkEXCV3cuODebRrv+gc61AYWHrTEyg==; 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:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=o+h+ytKTmxOE5cM43/Y3rIRR+h5JgNELHOYAm2MMWw0=; b=yjeLxbKwxvX78ifl611f04CXqP j1fOO4+Y4G5/PzzDOKXWzy6Zj5ujyhrTamYRFar5ZaxHLyxcu/SIvGa6neuV92zPUUKl6Y5JJhdyS dPCTmVHAblJ8n6Ge9OLOvL6hrazLjHZr7N6WHsJWaVphfENejBnRmQ+CSeRmH7OyaEZdmFqjNEB2M oTus45bjSNIjNPTVoDq8CclRocsCJCjoGh/8q7ZG+E1Aep8pg/noyQLd6wPzZRo78bjJJxQRH2TQ/ GNax3b6gqxosmEGZmKiz5loT3L8zPFnFiUhMyU95NT/Ng06J/utYhAD4FHLPscZBe9lY53kdz297V ZMkSTYow==; Received: from authenticated user by zero.zsh.org with local id 1m8fWp-000O4V-QG; Wed, 28 Jul 2021 09:07:03 +0000 Authentication-Results: zsh.org; iprev=pass (smtpq5.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.100; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none Received: from smtpq5.tb.ukmail.iss.as9143.net ([212.54.57.100]:35506) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1m8fWY-000Nm9-MW; Wed, 28 Jul 2021 09:06:47 +0000 Received: from [212.54.57.82] (helo=smtp3.tb.ukmail.iss.as9143.net) by smtpq5.tb.ukmail.iss.as9143.net with esmtp (Exim 4.86_2) (envelope-from ) id 1m8fWY-0003PI-EF for zsh-workers@zsh.org; Wed, 28 Jul 2021 11:06:46 +0200 Received: from oxbe8.tb.ukmail.iss.as9143.net ([172.25.160.139]) by smtp3.tb.ukmail.iss.as9143.net with ESMTP id 8fWYm8HLBzUs18fWYmqvEK; Wed, 28 Jul 2021 11:06:46 +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=Zr2Ol/3G c=1 sm=1 tr=0 ts=61011e26 cx=a_exe a=pgSR3NrKiwmx/6vnWRL19w==:117 a=sfM75MaK4YAA:10 a=IkcTkHD0fZMA:10 a=2y5beTJ5bSgA:10 a=q2GGsy2AAAAA:8 a=JCs-5XrZXPD73uiufPgA:9 a=QEXdDO2ut3YA:10 a=z9dJwno5l634igLiVhy-: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=1627463206; bh=706LdmbmTdbcTgjDApWzAlfd/QD+nOiNqN1R1P/dkaA=; h=Date:From:To:Cc:In-Reply-To:References:Subject; b=dbf7Idmhav8pxMIjpwDPww7uAML/IjdPBby9LdIEr58qV38ScyYg6wTv29QtIff+O n/6hriptJbtvzDMFzbsiSmR6dOcCKf5DrzaqXTGUvR2zBaNiUY/vr3HlKr/Ut4HGPE ln6MGrqmqAc5kMjlcZrdBxLrnvegdEv1dun6uJKRGpAbmHPKt153op9pIRBWUYLFrt 4pPp22lEmXjmMYnJxWGVsF+L2G0PxPZ4k2fBoutMfFPyKx3s+8VM97HdArKqU3GVl0 58QfGHV/wacIN56qsnljv42j04FryRsYoONRi+7uNbd1rnM7ctrRtDYwmP3CZyw2Sq mgEhmFh46RnJg== Date: Wed, 28 Jul 2021 10:06:46 +0100 (BST) From: Peter Stephenson To: Zsh hackers list Cc: Frederick Eaton Message-ID: <1330504218.483943.1627463206156@mail2.virginmedia.com> In-Reply-To: References: <20210726070654.v33wzoiwpqibwlas@localhost> <20210727055227.4aobyf75yyckctve@localhost> 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: MS4xfK52te/j9lZSlNDIC8MgpfiBtMZBxDWgWctxL4p1YjaX4ScHyUsNi1/mrNuGXNsYyiriORdMt8KWEaIFcjV0vR3wG+2sT8tV2/JlCbpHYjjXDHkepIVm ZLoSUrMov+rg6IMdA/IADVXtgf1T36yZgXN6J9omLBxacNxY5jv/2+1H2XYsiUlzhDAppu9f8llHJUnUNbrSVbGF6OLgyRzxA5HaE8t/YdZlRnefgBtYn4UO l4L06F7cwJvN0NLUvfDP2g== X-Seq: 49208 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 02:36 Bart Schaefer wrote: > On Tue, Jul 27, 2021 at 1:19 PM Bart Schaefer wrote: > > > > There's code in the insertlastword function that's (according to the > > comment) supposed to stop us getting stuck, but apparently in the case > > where the line is entirely empty that isn't working. It may be > > possible to fix it. > > Hm. It's not difficult to fix in that continuing to hit picks > up where it left off, but it still beeps and inserts nothing. > > 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. pws