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 7270 invoked from network); 23 Dec 2021 13:25:27 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 23 Dec 2021 13:25:27 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Message-ID:Date: Content-Transfer-Encoding:Content-ID:Content-Type:MIME-Version:Subject:To: References:From:In-reply-to:cc:Reply-To:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=7v8zrwV3LSJBqCCbIymS6Byp633+gx+BnmkMgOxIOeM=; b=IUvWvd//txVsBNX1A81Eh1PsEb hPjFdS6OlNI8szAWxxI1rayJF6MDXn0p1cx0CAh5Ei47KPQ1mnuIIM2L2V5hIOJ1d8n+JubAbCY37 ZS33RCVYaYzM4PmwbmJ8yaym/gFY+Ua9dlg65TwXymEgBgtla3o+IZyU2/uRCfhlqjXx1h7pWYebJ YlVqQcidDxIKSyXBRwRvCx5up+cSAu/V1chCrNT8e7iTmLOmQ6FQ5w9c8zJI5jb0xoMmJp2C3JMtT wXpCqb0CVx+W7kjj3UijAYBLDu5uxkei3YvIoNsq+Fpzw7Yo17c/x0bUebsf9fnnG8h++x714trFX Pim4OBpQ==; Received: from authenticated user by zero.zsh.org with local id 1n0O62-0003SQ-Nd; Thu, 23 Dec 2021 13:25:26 +0000 Received: from authenticated user by zero.zsh.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1n0O5A-0002id-It; Thu, 23 Dec 2021 13:24:32 +0000 Received: from [192.168.178.21] (helo=hydra) by mail.kiddle.eu with esmtp(Exim 4.94.2) (envelope-from ) id 1n0O59-000K1J-LU; Thu, 23 Dec 2021 14:24:31 +0100 cc: zsh-users@zsh.org In-reply-to: From: Oliver Kiddle References: <2495135b4cf73e7add73e3fcd5fd6165a76b3cfa.camel@gmail.com> <6e3644fd-07ad-4251-9310-b6899c41a233@www.fastmail.com> To: Daniel Parks Subject: Re: Strange behavior when calling select-a-shell-word multiple times from the same user-defined widget MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <76959.1640265871.1@hydra> Content-Transfer-Encoding: 8bit Date: Thu, 23 Dec 2021 14:24:31 +0100 Message-ID: <76960-1640265871.663176@Luzt.ogxm.T_Tz> X-Seq: 27444 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Daniel Parks wrote: > On Wed, 2021-12-22 at 22:08 +0000, Daniel Shahaf wrote: > > Adding «-N» to both select-a-shell-word calls does the trick. > > Thanks, that fixed it! I do still think it's pretty strange, though, > because select-a-shell-word does not normally seem to respond to the > numeric argument in a command like `v3aa` (still only selects one > word). It does select three words but goes backwards from the cursor rather than forwards which is perhaps not what you expected. Oliver