From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20659 invoked by alias); 28 Oct 2015 11:38:56 -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: X-Seq: 37000 Received: (qmail 189 invoked from network); 28 Oct 2015 11:38:55 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=dQuK4leK+MCjYdhpawdkxmuwaOdEIl6hO4lYmlxB66Q=; b=JiNI/1sEZMCXioJTx6q+rxp9mBgZfRKTShG3E5rBp5U3JcvBaLZItZ/tpEcCXf4V6U VqlcTUEe1XjiL8f3W1n3RHEef7oMavIiNHwgQMfsuraHEkumgi01SfQY9tRTTOruWBPO S91ziJEzxg9xb3QhmN58+T11WKtFCOzyYLfgvL2712+wLOVlmPu/8drg+xXC/iqLbwQs djGy5wEo7jlx/beUsncypIXG67pHb4tPgECvbVMVrZt//bIYI/j0/W2mGyXtgsUAet3X IbC1qjON2tSyc7Scr3BfVDI7zMrRYtdpwj/3u/WYqOMZAVyD8fUmdsrnfWGFtSsJxrk6 TCWw== X-Received: by 10.112.189.193 with SMTP id gk1mr13410495lbc.98.1446032330764; Wed, 28 Oct 2015 04:38:50 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Sebastian Gniazdowski Date: Wed, 28 Oct 2015 12:38:31 +0100 Message-ID: Subject: Re: [PATCH] Index of element after width of characters To: Zsh hackers list Content-Type: text/plain; charset=UTF-8 After thinking this through I would want to use "<", ",", ">". Could I allocate those symbols? Very mnemonic and nice, the use would be ${(<:10:)a}, ${(,:10:)a}, ${(>:10:)a} for index before width, index at width, index after width. I checked that they work with parser. PS. The code works in D07multibyte.ztst, so the tests issue is solved. Best regards, Sebastian Gniazdowski