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=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 6e11f2b2 for ; Wed, 29 Jan 2020 11:24:30 +0000 (UTC) Received: (qmail 3894 invoked by alias); 29 Jan 2020 11:24:23 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 45356 Received: (qmail 26718 invoked by uid 1010); 29 Jan 2020 11:24:23 -0000 X-Qmail-Scanner-Diagnostics: from mailout2.w1.samsung.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.1/25703. spamassassin: 3.4.2. Clear:RC:0(210.118.77.12):SA:0(-7.0/5.0):. Processed in 3.311234 secs); 29 Jan 2020 11:24:23 -0000 X-Envelope-From: p.stephenson@samsung.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.samsung.com designates 210.118.77.12 as permitted sender) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20200129112342euoutp0296a59a745e798dce66a8f544b70cab44~uV8TrqowB3205832058euoutp02Z X-AuditID: cbfec7f2-f0bff7000001ef66-ec-5e316b3ede7c Message-ID: <1580297021.5380.17.camel@samsung.com> Subject: Re: Unset =?UTF-8?Q?=E2=80=9Czle=5Fbracketed=5Fpaste=E2=80=9D?= .zshrc From: Peter Stephenson To: Date: Wed, 29 Jan 2020 11:23:41 +0000 In-Reply-To: <1580209759.6442.3.camel@samsung.com> X-Mailer: Evolution 3.18.5.2-0ubuntu3.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrHIsWRmVeSWpSXmKPExsWy7djP87p22YZxBucn8FocbH7I5MDoserg B6YAxigum5TUnMyy1CJ9uwSujBMvnrMWrOKsmP/oBnMD4wH2LkZODgkBE4klx6ewdDFycQgJ rGCU2NO6gQnC6WOS+LBrOjOE08skse30EbiWI1vfMIHYQgLLGSVuzDKGK5p1YzYbhHOGUeLf sT3sEM4FRolVn/sZQVp4BYwk3t5YDzSXg0NYIFBiR6cySJhNwFBi6qbZYCUiApIS15pPg9ks AqoSHze+BNvMCdT67dYGRogrNCQ23DzGBDFSUOLkzCcsIDazgLxE89bZYGdLCNxnk/h74xdU g4vEu+5DTBC2sMSr41ug3pGR+L9zPhNEQzujxJpJr9khnB5GiU1H70B1W0v03b7ICHI1s4Cm xPpd+hBhR4nfVyewg4QlBPgkbrwVhDiCT2LStunMEGFeiY42IYhqNYkdTVsZIcIyEk/XKExg VJqF5INZSD6YhbBqASPzKkbx1NLi3PTUYsO81HK94sTc4tK8dL3k/NxNjMBUcPrf8U87GL9e SjrEKMDBqMTDO0PFIE6INbGsuDL3EKMEB7OSCK+oq2GcEG9KYmVValF+fFFpTmrxIUZpDhYl cV7jRS9jhQTSE0tSs1NTC1KLYLJMHJxSDYzSkQ0Jit7Zrv5+C5TO1V35kMvl2hWy6+6as9uD v6Vs+7TvhxnPgfKeL0s47iqvNXiUVS1XfddyffinhgUF/zce7Rc7satIccPRZz9rJp2f95qv Z2eRZ+eUK5flVyXM4Hg4J/9b9eNjb872TWWMi/nEZ9bM+v2i37u18RJye83mWJQsSc5hEfus xFKckWioxVxUnAgAkFn3eAEDAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpkkeLIzCtJLcpLzFFi42I5/e/4PV3bbMM4g68X9SwONj9kcmD0WHXw A1MAY5SeTVF+aUmqQkZ+cYmtUrShhZGeoaWFnpGJpZ6hsXmslZGpkr6dTUpqTmZZapG+XYJe xokXz1kLVnFWzH90g7mB8QB7FyMnh4SAicSRrW+Yuhi5OIQEljJK3Nu3nBkiISPx6cpHqCJh iT/XutggirqZJPq3nGSFcM4wSpx/3AnVfoFRYuPLfWDtvAJGEm9vrAeyOTiEBQIldnQqg4TZ BAwlpm6azQhiiwhISlxrPg1mswioSnzc+BJsGydQ67dbG8DiQgKbmSXOfvYDsZkFNCVat/+G ukhDYsPNY0wQqwQlTs58wgJRIy/RvHU28wRGoVlIWmYhKZuFpGwBI/MqRpHU0uLc9NxiQ73i xNzi0rx0veT83E2MwODfduzn5h2MlzYGH2IU4GBU4uGdoWIQJ8SaWFZcmXuIUYKDWUmEV9TV ME6INyWxsiq1KD++qDQntfgQoynQQxOZpUST84GRmVcSb2hqaG5haWhubG5sZqEkztshcDBG SCA9sSQ1OzW1ILUIpo+Jg1OqgbHu9rG2X5U8Te8EC9g7ClmEjqzye3Wo0TxF0LK5kOWd5rkO FsspKaYfczZ5/w7Wzp+gV+hb0/KkMv7/n+mTz8mrx/sVcPsu7j+/LGhB5CmJsCjfwsSgCHEV LYZ3pw4svxTpcf1aCf8hpi8W1Xo5usn1dVbfduaXBSjdl+SZxd3uaVLVUL9ViaU4I9FQi7mo OBEAnrRgyJQCAAA= X-CMS-MailID: 20200129112341eucas1p24252d57e50a7e0ab2590d9400d04af2b X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20200123031354eucas1p1605fb92fcf91bd7e2f1b13677b6cc244 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200123031354eucas1p1605fb92fcf91bd7e2f1b13677b6cc244 References: <0723EF0A-BD62-4C2C-AAA1-735AD3D64768@icloud.com> <20200123031249.034c7e1a@tarpaulin.shahaf.local2> <1579773213.5343.1.camel@samsung.com> <20200126004519.6e44ae68@tarpaulin.shahaf.local2> <1580133672.4960.15.camel@samsung.com> <1580209759.6442.3.camel@samsung.com> On Tue, 2020-01-28 at 11:09 +0000, Peter Stephenson wrote: > % zmodload -Fa zsh/datetime p:EPOCHSECONDS > % print $EPOCHSECONDS > 1580209515 > % zmodload -Fl zsh/datetime > -b:strftime > +p:EPOCHSECONDS > -p:EPOCHREALTIME > -p:epochtime > > This is another way of fixing the underlying problem --- e.g. here > you don't need to "unset EPOCHREALTIME" because it wasn't provided > as a feature in the first place.  You can turn on and off the > feature as needed once the module is loaded. I see parameters used by ZLE are only fairly weakly linked into this mechanism, however.  At least one reason for that is because of the unhelpfully tight linkage between ZLE and the main shell, so it's not simply a straightforward plugin.  However, I haven't looked further so I don't know if that's an issue with zle_bracketed_paste. There may be some scope for rationalisation. Loading a module for your own purposes --- for which Sebastian no doubt provides a good deal of support --- is in any case a rather different thing from the shell loading a module to provide its own basic features, so this may not be going anywhere particularly useful in this case. pws