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 27206 invoked from network); 26 Jul 2021 07:07:34 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 26 Jul 2021 07:07:34 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1627283254; b=MD7KEpXZq/bTv8ZuueDhmH24vEGeb1xakCyBJrX34IKoqOjIx20+t20UP9bdVc0IkmlViBXaq6 vXb2dlUPVgyc2CYsgzVn7GDCgk+IMt1uTlZub0/E5P6H+fLUMWWEWVqz4UivyXZ+Mr5HxuR0wY hOO8OhpMYEnlehtkNG6mxzoJ/gL05UGJDOX7YtBKJzo3gAqtujt13clAPKN1Kwnb8TrdHBFZYh G7tict0jgc8L3u9oMYfbOtRVpMMQn66J54jF/8NnqOoWDVBpH46B9GKGhaC4b0bquhx1wRe/0C SmMnCUq8dpweq92k/Z9cbI9MVrWHilLFkY/oRzMvSSk1AQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (egnor-2020.ofb.net) smtp.remote-ip=104.200.25.248; dkim=pass header.d=ofb.net header.s=ofb header.a=rsa-sha256; dmarc=none header.from=ofb.net; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1627283254; bh=I21dvja0aQwQQ2aSkysce/3p9pdwWbxZAgKIOMoxwZg=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:MIME-Version:Reply-To:Message-ID:Subject:To: From:Date:DKIM-Signature:DKIM-Signature; b=C2eFeIdVu+NVy//hOIW5atv9CIM9h4A7FOkQMn+CVtTLJF0XMsmQi2O2E1LLSpFUFxuYwcjQky JpDbtCHAhngv7EmASUJHL6IJnOZMbCVUt7e3UeW1caY66wdn92hwtmm+zIa7QLBi1gizynGUdE qvbNXdG9yX0pqLMYWpDmzhYg43MhPcr393p4DJyOkJ2K3LRtKAwZENFppjbVXDS/JdFXpIqmWZ VYL8RyxSGyocOaM6aBFLoB5lWwFplB1eMxVmWCcXF2/hYRJ3ffgQkAscroHZUXBx74QHp367MI JKMXu0SAAL/gVfSgTKHZ8vz24gnAsmNUabVsrvK1INnIZg==; 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:MIME-Version:Reply-To: Message-ID:Subject:To:From:Date:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References; bh=ah7w/YLLKdk3GsHpf5pS4+ALcVDks+VlRmKSsFn/s3A=; b=Kn7D7BUm8RrI0ZXZ7jpJTC3Yig UB6yiPcxXWJMXnn1PK1J5ajBiSBwZrtjW9L+WNgmmMWF0ODdduqlFC/lD9W4e00AFNxrHbU/OQI58 P5diegOEAB3A22w+UAL95mdW1ozqUEnsnEthNzWfW9CCMuV6F5uSxscXgORzStJEA3Vy/QF+Q50fQ cNsHTcSYiEgn1oRlcN1naH3RPlJQ/Gd5PLZjqkvZmGV9ZLIUpUxPFqtUhdBhEDYHXq3VfCNnu+OZP lZW2Mbc8RyeG/POHhss8a6/dsadTsXwLRIrhuCVGPp3cvwJb06U295YkXv2w6PDARm3JQwDBAiF1x Vrh91Pgw==; Received: from authenticated user by zero.zsh.org with local id 1m7ui5-0003KX-9G; Mon, 26 Jul 2021 07:07:33 +0000 Authentication-Results: zsh.org; iprev=pass (egnor-2020.ofb.net) smtp.remote-ip=104.200.25.248; dkim=pass header.d=ofb.net header.s=ofb header.a=rsa-sha256; dmarc=none header.from=ofb.net; arc=none Received: from egnor-2020.ofb.net ([104.200.25.248]:53168 helo=egnor-2020.members.linode.com) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1m7uhX-000332-8e; Mon, 26 Jul 2021 07:07:00 +0000 Received: from ofb.net (163.242.197.104.bc.googleusercontent.com [104.197.242.163]) by egnor-2020.members.linode.com (Postfix) with ESMTP id 2E2D54E2722 for ; Mon, 26 Jul 2021 07:06:56 +0000 (UTC) Received: from localhost (unknown [135.180.118.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by ofb.net (Postfix) with ESMTPSA id 991613E920; Mon, 26 Jul 2021 00:06:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ofb.net; s=ofb; t=1627283215; bh=I21dvja0aQwQQ2aSkysce/3p9pdwWbxZAgKIOMoxwZg=; h=Date:From:To:Subject:Reply-To:From; b=nJCyqLhjMWzI6bZacMR0neNeQAXKrkIvmIGOr7uJ8yHIyCJkvXhUbaGaK3sAO063P VEemkpvmetF0v6yEIS5h6Mf+xByz/5FK368YYZRTw03LK5F1sJxWCuOYtl9tkgmNtn UaiksZQGU2MSJ7fdGNjCl3gdY0HPv4KInDDqJl4PF29MvHhEkxBPd0ZPaf+kx66OpT bLtXe0mBCwKe4v3Uv6tAai8NHyjTYNTlLB8tbtJUpeva3xh140RuiwN12lOF6UBYPa YLIMxbTlPPuLw2IXqxgdOPk4JUCIFavJKEqSr8x3B+B1ZxixsZukcKs/9iZi+hODNc AestH7SFFCQZA== Date: Mon, 26 Jul 2021 00:06:54 -0700 From: Frederick Eaton To: zsh-workers@zsh.org Subject: [BUG] insert-last-word gets stuck at comments Message-ID: <20210726070654.v33wzoiwpqibwlas@localhost> Reply-To: frederik@ofb.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline X-Seq: 49193 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: Hello Zsh Workers, This may be a somewhat minor bug, but I think that when interactive_comments is set, the 'insert-last-word' widget gets stuck on lines that are fully commented: $ zsh -f -i % setopt interactive_comments % echo hi #comment hi % # blah blah % echo bye #comment bye % echo foo foo % echo ... I would have expected to see "echo hi" after the command line prompt at this point, but I see "echo bye". zsh 5.8 (x86_64-pc-linux-gnu) Thanks! Frederick