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,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 9354 invoked from network); 11 Jan 2022 23:31:09 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 11 Jan 2022 23:31:09 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1641943869; b=IK35+OZ9Y9RZ/h8Qui5x9ODQxPqD3OAFZQqlguIA6go9gncnu14dpe2PxcJQRTHymeG8aaB7HS DmiR0joX2CVyLfyEK+XKaEhR04UDcQSrEABwDoqjPexydU4Z96qpZOepqvgrTwsPGfpWgDMEHV yF34JZAkOSoM8xLF6bz1wj+9DNe0VdrZ1Q3i1veyOYs+amkNGvWSWZDeM83v2deYY0K24fIOm8 1Ls6B3ICJCRdUON5cHfA4dhxvAfsJzXD9WuU33tAmFl8o7fAdx/kJkgEEyh2M2hWUACTlU0JFI VPxAqCQXrftKFmCbhXDio8NiMGLyeE8lSI5ByJ0kl6eg6g==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-il1-f181.google.com) smtp.remote-ip=209.85.166.181; dkim=pass header.d=gmail.com header.s=20210112 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-20210803; t=1641943869; bh=7w4i56TLuVzt5LLH7T2rPOY5YlEjpkvtihVGw6sIPzY=; 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=bhXnLNZlZcjtT6Xb5G3a6q/mLa8A4YoLBwi37ZtmY1awyeVciiBkxiul4k2K+S9yVLzFihqRBx 6UT3ySbmrj3HlmaP/WTS4hitvPDfjfF17gdtAHtPiGLRqtTBllKtqvoaiM+yDMGZOSMJHE9DJE gB9LdRQte9pqaBkmYHXOXwV7N8iPKRxdQhSuiYa+/vWRdfRHLNdb7f1eYuEUfJf4Ip7CmyyUGJ E7b29PiFWqcrR2BPFr0MabbNVYn/2WRhTLHNr2e0JAwwpd0p0pWb70nKKEDsFLnufezG7Bn7Vh rV1jeObgXUZmcywSGPanYY/G5cSYDhElNOc13kO3sDqJBA==; 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: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=ni+Un1O6a6rxzhZgRO7MznMZ9txGxmgT/Y+hnkwoC/M=; b=Yhz2SmjbamTJrhvo/Xsr9V0ehV Bg054hCJGtp3t/svVwSvQhdnfWSDNjb9JomnC7vQzkEPecJCSfIoTrT6t/SqoYXjYrQdLPqF6XgEX STxjUteRfF/FE6rEgXDabAhwutRRmYdPxuOi/kV5Oel0j4Rxi4a/3J44clU0Nb8iqfs0rlvwUp2WD WHj/VNOg5yIuhJxrkGmqliFxvbgVbgz+UPWWvsbpnXnX9IjVc+Qpkl/a825IVXgZa/QLLxkTTjZH9 5GltwM2Z299Gs4R/PawsFyomOQj6N5TrlPLlS2pBIPYDhmEloKwO+vY68Nl2TKlA1i4pzu2a+026f x/j6PTcA==; Received: from authenticated user by zero.zsh.org with local id 1n7Qbd-0002TM-4g; Tue, 11 Jan 2022 23:31:09 +0000 Authentication-Results: zsh.org; iprev=pass (mail-il1-f181.google.com) smtp.remote-ip=209.85.166.181; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-il1-f181.google.com ([209.85.166.181]:37660) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1n7QaI-0001ij-Fb; Tue, 11 Jan 2022 23:29:46 +0000 Received: by mail-il1-f181.google.com with SMTP id 2so652603ilj.4 for ; Tue, 11 Jan 2022 15:29:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ni+Un1O6a6rxzhZgRO7MznMZ9txGxmgT/Y+hnkwoC/M=; b=NV6Wz64ACoj0JjNDaiumZX7QUQhgKygdIPNeZMR6L/DKmBPQJy4GM0IMXxEo2h7hk4 QNsHtf+z33MdKM7lEvkw9coCGzDoxOYsKv3HD9iu1B/6fMsgxGpP17AfeKMOwwRANMQW UcuYIp77rMNNPxs9rsWdzlW6HnE+0NyDzitIRF0618GafTaYysiWNAOYvNEnAZS7hdbz PjIA5vWXyt1eeRBkZI8FNWcQKj20LUkWfdYdFBhcFwqPvtKJqVDx9rXgh9GpRX6es/DQ ySzWgwYj+aqmnqloBQ/TNoXVvIATBkPboxvS837KyjpOIFOBaDTlfzZXSaklC11ryR+z K3tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ni+Un1O6a6rxzhZgRO7MznMZ9txGxmgT/Y+hnkwoC/M=; b=PR2to6XjgHkYMjP1acxtuUbJrgw7BHVBjXycIu9XtR6wCyxNDWVIGUQ6TuwXJGVkK1 ZNnGrTWVcbS0/qo4Z1D+aFy5X2qKZzmPznqUridvLTtx+mKyUVQItaBSff/x1j80s9W+ EMqFOY75u5PKhNcc557SsoZfnxWDzSFikzdfK8IO7zWNpMAduwtF93d9EGy9N1sB7bfE ccJCNQWnc9oeb/D5QoeUQRfM5j57GuMWPt4LzK7Ie42h4pg882Y3qInQTyqeSlJ+GacX J/zF3e/MFMv+OLjdhBMY0+heDwOVIcnnZS7vx9x4x37eQSA4TvLvqAkhdjPdjrf2ghU+ cdfw== X-Gm-Message-State: AOAM531Sl9O6bAnQI27attiw65AM7es5J0NfgefkylDwCz3lZIXm7w2y qYCNXfujkfLvPjfNKlqidBeXw5L6YtJSwjf+mYw= X-Google-Smtp-Source: ABdhPJzbn12iHTFjkOfJ5AoGa9xzn0zpIYVuWSpObUhO3AaRHimGal+gep/IJWe0aWb05vbS5nPRTXS62JJ2gqVU5Dc= X-Received: by 2002:a92:8750:: with SMTP id d16mr3386203ilm.103.1641943784908; Tue, 11 Jan 2022 15:29:44 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Pier Paolo Grassi Date: Wed, 12 Jan 2022 00:29:08 +0100 Message-ID: Subject: Re: multiple kill are not yanked together To: Bart Schaefer Cc: Zsh-Users List Content-Type: multipart/alternative; boundary="0000000000000a6c9d05d556d41c" X-Seq: 27463 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: --0000000000000a6c9d05d556d41c Content-Type: text/plain; charset="UTF-8" and the winner is, this line: . software/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh maybe a bug in the plugin, I will try updating it to the last version regards Pier Paolo Grassi Il giorno mar 11 gen 2022 alle ore 22:53 Pier Paolo Grassi < pierpaolog@gmail.com> ha scritto: > > > Il giorno mar 11 gen 2022 alle 22:28 Bart Schaefer < > schaefer@brasslantern.com> ha scritto: > >> On Tue, Jan 11, 2022 at 9:36 AM Pier Paolo Grassi >> wrote: >> >>> Hello, is there some information I can provide about this question? >>> >> >> Version of zsh? >> > > zsh 5.8 (x86_64-pc-linux-musl) > it's the version provided by Roman > > >> Are you ever able to get this to happen starting from "zsh -f" + compinit? >> >> > no, in this case it works as expected > > >> Does this happen e.g. after performing completion on one of the words you >> then kill? >> > > it happens right after opening a new shell > > >> >> Oliver would be the most likely person to have insight here, but he's >> unavailable for several days right now. >> >> Il giorno mar 11 gen 2022 alle ore 00:10 Pier Paolo Grassi < >>> pierpaolog@gmail.com> ha scritto: >>> >>>> Hello, it is sometimes that I have this behaviour: >>>> when I use repeatedly a zle widget like kill-word and then I use yank >>>> to restore the killed text, only the last killed word is returned. >>>> I remember that all the consecutive killed word were returned at once, >>>> and the manual support this: >>>> [...] When repeatedly invoking a kill widget, text is appended to >>>> the cutbuffer instead of replacing it[...] >>>> Is it possible I deactivated this behavior somehow? >>>> >>> >> I don't know of any way to "deactivate this" other than by changing key >> binding or widget definitions. >> > > The key bindings for these widgets are simply > bindkey \Cd kill-word > bindkey \Cy yank > > I somehow have discovered a way, it seems... now I have to try to > understand which config line is causing it > I will update this thread if I make any progress, thanks > --0000000000000a6c9d05d556d41c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
and the winner=C2=A0is, this line:

. so= ftware/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
maybe a bug in the plugin, I will try updating it to the last v= ersion
regards

Pier Paolo Gr= assi


Il giorno mar 11 gen= 2022 alle ore 22:53 Pier Paolo Grassi <pierpaolog@gmail.com> ha scritto:


<= div class=3D"gmail_quote">
Il giorno m= ar 11 gen 2022 alle 22:28 Bart Schaefer <schaefer@brasslantern.com> ha scritt= o:
On Tue, Jan 11, 2022 at 9:36 AM Pier Paolo Grassi <= pierpaolog@gmail.= com> wrote:
Hello, is there some informa= tion I can provide about this question?

Version of zsh?

zsh 5.8 (x86_64-pc-linux-musl)
i= t's the version provided=C2=A0 by Roman


Are you ever able to get this to h= appen starting from "zsh -f" + compinit?


no, in this case it works as expec= ted
=C2=A0
Does this happ= en e.g. after performing completion on one of the words you then kill?
<= /div>

it happens right after op= ening a new shell
=C2=A0=C2=A0

Oliver would be the most likely person to have insight= here, but he's unavailable for several days right now.
<= br>
Il giorno mar 11 gen 2022 = alle ore 00:10 Pier Paolo Grassi <pierpaolog@gmail.com> ha scritto:
Hello, i= t is sometimes that I have this behaviour:
when I use repeatedly= =C2=A0a zle widget like=C2=A0kill-word and then I use yank to restore the k= illed text, only the last killed word is returned.
I remember tha= t all the consecutive killed word were returned at once, and the manual sup= port this:=C2=A0
[...] When repeatedly invoking a kill widget, te= xt is =C2=A0appended =C2=A0to =C2=A0the =C2=A0cutbuffer instead of replacin= g it[...]
Is it possible I deactivated this behavior=C2=A0somehow= ?

I don'= t know of any way to "deactivate this" other than by changing key= binding or widget definitions.

=
The key bindings for these widgets are simply
bindkey = \Cd kill-word
bindkey \Cy yank=C2=A0=C2=A0

I somehow have discovered a way, it seems... now I have to try to unders= tand=C2=A0which config=C2=A0line is causing it
I will update this= thread if I make any progress, thanks
--0000000000000a6c9d05d556d41c--