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 10697 invoked from network); 28 Jul 2021 15:41:03 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 28 Jul 2021 15:41:03 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1627486863; b=VhKqfKbxaY4HTgvK2E3X/XZ84ys7+H/gjfLR3NfiW2zHiwJOgz0x3RxEZVnmwEFVa4CES8j57I WoRofqXYdtNXw7GQ6lOXSB2DwfJ5zNU0TkGlCCbcvghypFWqjlyYqMDuRpQV1HzSMp7BCIGCC1 7IJFif8OksLgX4F2KwYJibHX5aOJQAGHbUEt3ksZgZKqogJo7p5PeSuxaW5T4yP8aDjencRzZ0 1EkZxE/+M/HeQMckIJLgtdCW61nWW8pPq0tU3yvvYJjUBkGqyzLNb5lZCAybtwlFaukx4A7glE HUi6lo8207KF832ehiGo1m3+MCUDIlUk/0cvZiTWUbzGFQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-yb1-f176.google.com) smtp.remote-ip=209.85.219.176; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1627486863; bh=8uxKHHT+sT8105JRexBsyra5HH6Iy/9JEl6huA+gDrg=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=RwkVWkX9cS88opLQ5IfgMyRqhMYoBNxMwLJ0diOfTFpCQKA7lFPbF/znOyFrYx0X4xpNm5nO/c m1BJEzNAtrphrCsAih3RCLFZ11OQAPL+w/FMccQbw161czGKSdIoS8WuJQ6y8W0Xk0Rs0+OfEN sfj8fBObb/XIqxbPx7O7ACRS5qbssod4tid35f/WEMHUcScGAiGU5P3Z3Z1ed3/FPkoTy1p/1F tLEcmw/4ePJtcUWypuc1wVIryM1TuCEqG90ml1xzfCADaV+64neYk/akPqqKXAVPqJYwZgszAf MNuMc7hxhK9ooJD+Cd3eiCngyjjPK1S3yQvLStuVtVlnKQ==; 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-Type:To:Subject:Message-ID: Date:From:In-Reply-To:References:MIME-Version:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=8uxKHHT+sT8105JRexBsyra5HH6Iy/9JEl6huA+gDrg=; b=PXkWMGeBeRhvEwbPRilrtyfAFn XL7V6YWZcX+8XUxb5dA33wsCkI6sD4xnClpgOfLrgG9jjcuRxFp1EORns85kh/KmG1DJDssX1A5Ys RUUmMJ7uMALGOoAHBDMRpH+9A3uacFp3m23ODZWHPVtWoKvNNDu47AyP/7dcC65kbwErcndSiP5/c GzWeQUmScisxy472T47zneUPtSFFvJDdQ6SPcefIFqYWJEM7c3oRyLEKmAqvsF/Zl6vJo95Wj//wx boCPNXQcOxaZh5Th53gg2qHGa/2i1HUy5P7l5XxCinENL1kyygfGjU814DWPqMf9cEj4DPlLYGWAa J1yrNcIA==; Received: from authenticated user by zero.zsh.org with local id 1m8lg5-000GN1-UT; Wed, 28 Jul 2021 15:41:01 +0000 Authentication-Results: zsh.org; iprev=pass (mail-yb1-f176.google.com) smtp.remote-ip=209.85.219.176; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-yb1-f176.google.com ([209.85.219.176]:35430) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1m8lfV-000G4q-3t; Wed, 28 Jul 2021 15:40:26 +0000 Received: by mail-yb1-f176.google.com with SMTP id q15so4675810ybu.2 for ; Wed, 28 Jul 2021 08:40:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=8uxKHHT+sT8105JRexBsyra5HH6Iy/9JEl6huA+gDrg=; b=xJVDexxcNjqMyI5Ohff6iHqE1itslYobCH8YZeQxn0iWxbO0WTlYqFCAjn/fKPgZOm 1o5uiupmf0PQdfockrmzMf950NTMcwoWFSLdu9FAz2Kio1nr4ohlPpAyQyPGr3j/JJHp 9YqRIcAz/xcyhd+Ja8nnc5HKavuRQLAdEMgXiWuJJGGqed+nZl3fKpVz0vqMFPt0E986 BztYrM22UG5zk3nHVFKsCKj0Ir7FU6A8hnnBbwyBQAWbBx1W/v4j7sbmM3DHGDs0uu48 z6dePyTlJEljfvZRVRnU6POeH8swHeOi2KOpl2YVnKUslTbz5VMa7wv5uW+Lx4jqMNiV JN2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=8uxKHHT+sT8105JRexBsyra5HH6Iy/9JEl6huA+gDrg=; b=Lv/ujxi7gDVXLf3KKEqdtVyI6SWhoIhLB3Sh4l2XxWq23BIu4TeAC9RGUZG7STsCGd ePDcWyMKuBzO3v4OEE3RaCCC1o7H6ZMGJFZIP6OsYXzcwMsSSasIgXp02AuCwc0a28Ww Yz3/pHy1lf3nZmTtmmz/uFMBfYgYesFIbuz3kwCj98kokBRMpj3+6AhzPgmfx9fGed1M G70geM5G0GN3MvTRVQ9iwFsTy9TfwaxzlPvWodoe5/59MePN3ybHBs1cGJWLKPoJbdMG Ar5Uyp69EccBc0QtTFgh/kQgY8mD0Ljj8vQBGhldlMQ2Tm3T1Z2wlPY4z54K6rSnichL 25Jw== X-Gm-Message-State: AOAM5337aMajx8d4HZG2MFYDPJpSOStLqDdqQ56Sa7XPCAwL/JhaxhHL LwgiMSl2MKE/NXlLdScCgqxNctpU+AGeWkzaLIaRRa0qWd8= X-Google-Smtp-Source: ABdhPJz36ZXYXmmrgaMqnV43lmjXl210WHY7mKV+1kgBzMT/OS+mxtTgDC9Fwgei0cuc3YOH2Cozq3E6X5lK8yg8yk4= X-Received: by 2002:a25:dc12:: with SMTP id y18mr409554ybe.69.1627486823560; Wed, 28 Jul 2021 08:40:23 -0700 (PDT) MIME-Version: 1.0 References: <20210726070654.v33wzoiwpqibwlas@localhost> <20210727055227.4aobyf75yyckctve@localhost> <1330504218.483943.1627463206156@mail2.virginmedia.com> In-Reply-To: <1330504218.483943.1627463206156@mail2.virginmedia.com> From: Bart Schaefer Date: Wed, 28 Jul 2021 08:40:12 -0700 Message-ID: Subject: Re: [BUG] insert-last-word gets stuck at comments To: Zsh hackers list Content-Type: text/plain; charset="UTF-8" X-Seq: 49213 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 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.