From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 457c3bce for ; Thu, 9 Jan 2020 11:04:08 +0000 (UTC) Received: (qmail 4346 invoked by alias); 9 Jan 2020 11:04:02 -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: 24616 Received: (qmail 26707 invoked by uid 1010); 9 Jan 2020 11:04:02 -0000 X-Qmail-Scanner-Diagnostics: from mail-io1-f68.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.1/25684. spamassassin: 3.4.2. Clear:RC:0(209.85.166.68):SA:0(-1.0/5.0):. Processed in 1.801004 secs); 09 Jan 2020 11:04:02 -0000 X-Envelope-From: roman.perepelitsa@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.68 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=HaIifITG71YNZqviktR/M8dWjjIZrb/T0VKSZZlBXHg=; b=O3q9pZIpvWanyjA9rp9TqX9wxkk19QGd38Ul8Po8yRftya3rLmVLe7M1zp3hwZ18q3 S8bJtWJhW71Whs7RdomxsAzESQYzx9vUj8eF2Cof66xVXY6B3ibI5CvqZtT+Ib/Knqsn qB5EHuEuex0oHqEXj08RsAwhpLp6hZwA6JbfJkxljALVHbJCmV8c79lSwitYVLNF4GVa hitE5AaCqA1jVV4IcS42ekcCLXjSsF4XhaL1Y/bIsBbHNABOT/hJdPc6BOO1Nb6yK8oQ 5CLkxW/hHmzePHvia5d6lYBkKPc5/8wEXgvWMNFpITCiTEsqLKPBHbVeS84T7nPTgjsC +5pQ== X-Gm-Message-State: APjAAAUTILDGgBcNVhiuDLMC3UkVNR5rEvDOaoSblHYcCUOK7HuvkMCq TpHPcBYJX7qXNOivfov2VWA8H93B6iv76lAJSNyMS4z7 X-Google-Smtp-Source: APXvYqzkGoOH9bHb3n2F4IWQyvOghi/sXuIzyKWwMoKp2crFM8LHZc572CP7yBs3oVm6yszJ43hmhSaTDw/OvuATvi8= X-Received: by 2002:a6b:dd02:: with SMTP id f2mr7000819ioc.304.1578567807843; Thu, 09 Jan 2020 03:03:27 -0800 (PST) MIME-Version: 1.0 References: <1578477603.6726.5.camel@samsung.com> <3e056cff-f690-f416-d8b6-89059c64187a@gmail.com> In-Reply-To: From: Roman Perepelitsa Date: Thu, 9 Jan 2020 12:03:16 +0100 Message-ID: Subject: Re: emulate bash key bindings To: Zsh Users Cc: ericdfreese@gmail.com, Daniel Shahaf Content-Type: text/plain; charset="UTF-8" On Wed, Jan 8, 2020 at 11:25 PM Daniel Shahaf wrote: > That's true for z-sy-h's master branch, but with the feature/redrawhook > branch (due to be merged after 0.7.0's release) highlighting will be > refreshed even by invocations of dot-prefixed widgets. [cc:ericdfreese@gmail.com] That's useful to know. Thanks for the heads up. I took a look at the code and see that feature/redrawhook branch applies highlighting in zle-line-pre-redraw. Won't this cause issues when zsh-syntax-highlighting is used together with zsh-autosuggestions? zsh-autosuggestions doesn't wrap zle-line-pre-redraw by default, so it won't apply its own highlighting on top of zsh-syntax-highlighting. If zsh-autosuggestions starts wrapping zle-line-pre-redraw by default, there are still potential issues for users who upgrade their local zsh-syntax-highlighting before zsh-autosuggestions. There are also users who manually set ZSH_AUTOSUGGEST_IGNORE_WIDGETS. Roman.