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,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 6509 invoked from network); 5 Dec 2020 14:09:11 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 5 Dec 2020 14:09:11 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1607177351; b=i6s3qdC7ktkmsTupCQdoZjXzR5ngEl17v93U8TPwJrG2CJBJGkg8gqUOYvYj86GkafKVBSHyYI dENDVuu0yVLOy0eX5fHsF+m8dtyIKuD7Mz+s+OPgQ7kB6FM+ZWxz989vt3D3gH77gVHv3LSect LsoZ3Y/oBPm5868xYqDmEhsoMESRllXswj9K3WlVIrRLE38hA0ANNaN5M7Wz8XPhL6GqNz/lrz rFkmWO7UX1hSaNcL/cei3bxkVDLH/mBG3m8wXA7rX4zpcbUHztfEj0eckR1kNl0b7e3NHu0+hv UVkZufGlDfXwaX6qE0gBJmPfFE5FclSqFje3IZtvidrFPQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-lj1-f173.google.com) smtp.remote-ip=209.85.208.173; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1607177351; bh=EyJjhJT6fAbNXe0/c8E+W7ZhSIsUHiGjIqEEcdKFO4k=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=yGUl+nyw9W7s58L12JuI2YJOSp/YE2+cuLHzU9gDpk1KapLgPTS3v3XSTk3/RljPA3L4jyq/2f LICJnC3ERgv0AC2CzpAOkbf+m2c5M6RhJzj9yQUZcZ8+75Il7aJngLZ7uRs726kgTVQmbNftZ4 KLb1ntxCRtF9tPQ09JJDNpNDfK/iY8LuQWY/Du38yYpEjBZo0aIdib0oEnzo0OtEs1d8vGSBLI zvuX+rXPCgYHGqakj68ViL0GFurZKgrbs+SvQmFIycfA1zFvixkGy92XFx9rN3IbwcCPlqOhrV OWcsWdfMNCfb4y3qhaQ2MtjdHLPp5gfqZm5QMcMKJZlCOg==; 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:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=J88EG5GyZm/EOFPVhZUlgGa8mvHSaXhBJUh4fA880vw=; b=EhOHGfC+wpmhq8XwC9N2j/pcQC Gm0B1ye6RajVdm74I4Nx519bzlHkUZGngUoHFQNXF99Ord49LbMYj+ndbE4fJBG9KfQfJ4HrKid5T 716fqNgaMeNODeCvKucIHuFyIWktEHa1VQdeHlJ4BvpiTIhl3jlbnZtAQnMaVW8sSiXQrNegZFA5r 1yfD0NvEnU8YVVk9/4cD+l1Ks4pleqc+KQZB5J4z/YSAdJrXQT4uKr6V2Y4PZNh8fJfE2guPREwYZ VILWDqTWStAbB9obcmz4bHVFWub5DTsfJWqsxdo4aKtPeETP//oidZwI+sxHgTEsgOaJiX69sVFv4 1zpLfUiw==; Received: from authenticated user by zero.zsh.org with local id 1klYFJ-0001zI-AY; Sat, 05 Dec 2020 14:09:09 +0000 Authentication-Results: zsh.org; iprev=pass (mail-lj1-f173.google.com) smtp.remote-ip=209.85.208.173; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-lj1-f173.google.com ([209.85.208.173]:45492) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1klYEs-0001d4-8l; Sat, 05 Dec 2020 14:08:43 +0000 Received: by mail-lj1-f173.google.com with SMTP id q8so9831814ljc.12 for ; Sat, 05 Dec 2020 06:08:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=J88EG5GyZm/EOFPVhZUlgGa8mvHSaXhBJUh4fA880vw=; b=CdoJaZR6nze8adx6RY5uzeE93Db4hp4MFSiD+CVdtq310eMXv5CbcLWSvcLihfT8lC VLIhTEM/EFSYmjpB4Ebt3QltQ/T4qqNGswX7F1L7z4Q5hNNUCBWXlUzB9WA9mgta4Nv4 B8sLk1T9VR6I78JoFWo523sHnzzs3cZuY8BhZK8IXA8+odHf7jtVxISabrg1pajuPhrp bmJB4nG/UWKBaM/ALtUCEoPgd+CO1waVhB2VlRQpZ2s+CGZFEcAJ6yWukbluSVBUmD0Q 1Sftft6UfF4tM/OcTf4q1qPwGXUJuZodHUJBNmpgbJ5SckiJinKNn+xWLlXQAHR2PZAm XSmw== 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=J88EG5GyZm/EOFPVhZUlgGa8mvHSaXhBJUh4fA880vw=; b=rg8tVPyLaA+qnGZR+TgyA6igIpF1a0vaDyxm8v3KAF5h0sWJCv7SUflQLiFZhOzFrx 5aer3iTV/W4SxPvX91zeP9y7e5ZR+y13S8HqJiei2tCzFBcy0DPcBvprAS+v0KEk/TKV vqCUR9l2XG11oCqFA4Z1Y5GUYIz74v9NzZzn2WUeIQLdi81Kxz8jCncU9B72r5x8vfbr 4/BC4QT8PzDxxzhXx8RnOQ+hKWu3sTT6G62FYqRGKOpF0ZIW+X8DxK74g6rszIf+F4a2 ys50GnFk0ZdFdKVHr6UVJbtVLsHEsofEh6SetpKwj9s9kCJpnYVaHLiQSyct18XPph9e sHXQ== X-Gm-Message-State: AOAM530BptsuaZJYOI9BGvCeQAMQa+QhtEQYx3Qj3hhVKhKOpo8XnofZ CyybsbtK5e92x1WyCjLuDqZ2F7zoJX33kbT5Yss= X-Google-Smtp-Source: ABdhPJxc7cReOb1hfqS2OfSC9vMuu6JtUgV7EcKBr9TyCKqj2eUvSzQUVpHbXHiObEcZg/RX2sbzPrMy+zkRvNu8Mh8= X-Received: by 2002:a2e:b4b6:: with SMTP id q22mr5710076ljm.80.1607177321549; Sat, 05 Dec 2020 06:08:41 -0800 (PST) MIME-Version: 1.0 References: <611239356.1973489.1607101224170@mail2.virginmedia.com> In-Reply-To: <611239356.1973489.1607101224170@mail2.virginmedia.com> From: "A. Wik" Date: Sat, 5 Dec 2020 14:08:30 +0000 Message-ID: Subject: Re: Completion order for approximate To: Peter Stephenson Cc: zsh-users@zsh.org Content-Type: text/plain; charset="UTF-8" X-Seq: 26211 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: Archived-At: On Fri, 4 Dec 2020 at 17:00, Peter Stephenson wrote: > > > > On 04 December 2020 at 16:49 "A. Wik" wrote: > > I'm trying to set up the approximate expansion so that the original > > string comes before the corrections in the menu. > > > > This doesn't work: > > zstyle ':completion:*:approximate:*' tag-order 'original corrections' > > You need: > > zstyle ':completion:*:approximate:*' group-order original corrections > > --- note also no quotes. See group-order in the zshcompsys manual for more. > tag-order specifies the order completions are looked for, not the order they're > displayed in. To specify an order, you need separate words on the command line; > values in the same set of quotes are treated as being together (sometimes useful > for tag-order, not for group-order). > > pws Thanks. Incidentally, I'm reading (and intermittently following the suggestions in) your book. -aw