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=-1.0 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 25126 invoked from network); 10 Jun 2020 01:54:13 -0000 Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with ESMTPUTF8; 10 Jun 2020 01:54:13 -0000 Received: (qmail 9162 invoked by alias); 10 Jun 2020 01:54:01 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 24919 Received: (qmail 9061 invoked by uid 1010); 10 Jun 2020 01:54:01 -0000 X-Qmail-Scanner-Diagnostics: from mail-io1-f50.google.com by f.primenet.com.au (envelope-from <8fvebtoeq87@gmail.com>, uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.3/25835. spamassassin: 3.4.4. Clear:RC:0(209.85.166.50):SA:0(-1.7/5.0):. Processed in 0.966093 secs); 10 Jun 2020 01:54:01 -0000 X-Envelope-From: 8fvebtoeq87@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.166.50 as permitted sender) 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:cc; bh=+fU5+NwRP0jLnlCjjkaYGOMSEXYA18+4nUbJmXi59AE=; b=EhNCaEJ5oASLR5+Gzl6PWfGF7sMY/Wbe7vnRROm6vwuXiiIOQHveIiaZW5QHIiX7GN 1Y2B95CwUL7wdH7gPTbnP/GV7lCZtJZhoA2ioT/rCYOEvX5Cp+Op6cW/FPQnUBeADSOP /mA/XPiwdsbO7w+8ENfpu/5zHZ6F7j7I8iJjFhtNNzHN15/vvVqNV5kPsr8v7jNyEIvE k4eDC7OCyDaCHUl9jTC4dsJGItCy2bq7DnaZZLiQ2X92loJv6556biody/vmyGxrekGb Kf5eT918/e+3cR6+WhTcwXUTQGeUgUKsAYzI1VeNXIxru0dGOfqEb/CT3nvwUyBQ7IQf /ONg== X-Gm-Message-State: AOAM530O5kkU6IzcG/0v3e1o4OVNRkOKwmTE0BbUoCn1fOvvx6ATx1hr 6sD0CVNotIDVOYqBCH573GolhQN+cwvJdwLM5eMZYlJ3 X-Google-Smtp-Source: ABdhPJxuBdlfJp0+sGYEWjFsb5TYPKgsu/kbrdIlfltabYtcExFZOHD33+HNTbsfWv8gNsUQNht7LcIibydVLUvSj50= X-Received: by 2002:a6b:d219:: with SMTP id q25mr1053781iob.202.1591754007246; Tue, 09 Jun 2020 18:53:27 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Alan <8fvebtoeq87@gmail.com> Date: Tue, 9 Jun 2020 21:53:15 -0400 Message-ID: Subject: Re: menu-select doesn't respect COMPLETE_IN_WORD option To: Bart Schaefer Cc: Zsh Users Content-Type: multipart/alternative; boundary="0000000000002bfc3905a7b11ca0" --0000000000002bfc3905a7b11ca0 Content-Type: text/plain; charset="UTF-8" I see, yes, you're correct. I like the expand-or-complete-prefix widget and have it bound to tab. Is there a way to make menu-complete/menu-select behave like expand-or-complete-prefix (i.e. complete just what is to the left of the cursor and ignore anything to the right, as shown in my first email)? On Tue, Jun 9, 2020 at 9:11 PM Bart Schaefer wrote: > On Tue, Jun 9, 2020 at 4:58 PM Alan <8fvebtoeq87@gmail.com> wrote: > > > > I have COMPLETE_IN_WORD set, but menu-select doesn't respect it. > > You're misunderstanding what COMPLETE_IN_WORD does. It tries to match > both the leading and trailing parts. > > What you want is to invoke the expand-or-complete-prefix widget > instead of the default expand-or-complete. > --0000000000002bfc3905a7b11ca0--