From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6928 invoked by alias); 12 Jun 2018 05:26:59 -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: 42985 Received: (qmail 4216 invoked by uid 1010); 12 Jun 2018 05:26:59 -0000 X-Qmail-Scanner-Diagnostics: from mail-oi0-f49.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.218.49):SA:0(-1.9/5.0):. Processed in 1.258036 secs); 12 Jun 2018 05:26:59 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: sgniazdowski@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=8mM0k57DawWXcd5NohHPntdb1sgg2ogwj4ClYN91P/M=; b=S7pJ2ZAYuoQF9leBaYSOKgVVG0or8sXMFWFEqfP5OTEGBR11BEoC/ypMCelFV+k3wP CgKsMRzEKCClQo+MSsFtmh80bI+2B9BXd1G5nfqtwW8phB6QPDvGu3JIDNTxkkCYhExo MfNnzYuXMLZGs9TT+nHFn1yrEGNaBJgggxMudN7bL4QYJgUylFnOIuyBGgwmIJ6nPVkM 3V/J2jr+/3jnx9hw86tXbbNVj1bAthcESfKX/xFQT54egjXTfelGPz7b1ZqbF0hfwZUq QrvHjM2S9qVRfCUbcOY5oGmBDAoiiwcvpQvk11HkxruVRwCyCTRz6x0bOGpNc216Wyoz jPbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=8mM0k57DawWXcd5NohHPntdb1sgg2ogwj4ClYN91P/M=; b=iOYpF5vBGMlT63emUsoP6IFHNfNIVbuUOyEXQndiZSqdg+aNFXA43B4Mn/ULLUxfk7 EqkoceKRiiKYxG5+P68EDdwWyi4xN+ry2Cr13HKDMWHfT6IewTtfR3/3BIte3JE24Srg 8jTljYsJTht0Q4C7IQwysArAP+TCgdXXhQQOZXjYqDRThullo3E8FHoACyXjfp2uHPS9 4hw5yt8Mp6rpa+7m6svEwX9NMd3etDnm2L4wgkJjtLSUMbiXEb9qTnpEoqwUvQbsia1S goQfEYAUw1xa3wJAvSIGTt4H3utzsJFa1uDPppjPJ5nvvw346iG42TVcmIJs1FDP991Y L1vA== X-Gm-Message-State: APt69E19PXY6p6zy8R3f3Db+L4bqrs4st7ISqSe4OwbVO9FKDMP8BMY9 Aj7QqQj8LRxchQu0XkIzOTf9nXxymy06bEuCghqb6A== X-Google-Smtp-Source: ADUXVKLyAZxv3BPnIhw/1cFMNNhHTq6ua5VHlePiGpeE8HxvKeqYYVz/zaWtpOgzSu9XDMvGYH5ydeX2FPW0pukI6hw= X-Received: by 2002:aca:c287:: with SMTP id s129-v6mr1165774oif.3.1528781215231; Mon, 11 Jun 2018 22:26:55 -0700 (PDT) MIME-Version: 1.0 From: Sebastian Gniazdowski Date: Tue, 12 Jun 2018 07:26:34 +0200 Message-ID: Subject: invalid subscript error To: Zsh hackers list Content-Type: text/plain; charset="UTF-8" I get following error: -fast-highlight-process:571: invalid subscript The line is top here, but unsure if I counted correctly in vim, it might be the line after || \: if [[ -z "${FAST_HIGHLIGHT[cache-path-${__arg}-${_start_pos}]}" || \ $(( EPOCHSECONDS - FAST_HIGHLIGHT[cache-path-${__arg}-${_start_pos}-born-at] )) -gt 8 ]]; then When the error occurs, __arg is: \\`sub' function, not working {, } highlighting"; prant -r -- "$msg" Before (z)-split into sequence of $__arg tokens, the line is: msga==\"-awk.ch: Highlight \\`sub' function, not working {, } highlighting"; print -r -- "$msg" _start_pos is just some number I did quite much but couldn't reproduce on command line. Does anyone have any clues? I think hash subscript can be anything, and here it doesn't accept one. -- Best regards, Sebastian Gniazdowski