From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11723 invoked by alias); 19 Nov 2015 14:44:25 -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: 37159 Received: (qmail 12328 invoked from network); 19 Nov 2015 14:44:23 -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,T_HDRS_LCASE, T_MANY_HDRS_LCASE autolearn=ham autolearn_force=no version=3.4.0 X-AuditID: cbfec7f4-f79026d00000418a-e9-564de0428074 Date: Thu, 19 Nov 2015 14:44:15 +0000 From: Peter Stephenson To: Zsh Hackers' List Subject: NEWS and README update Message-id: <20151119144415.3692b882@pwslap01u.europe.root.pri> Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrNLMWRmVeSWpSXmKPExsVy+t/xq7pOD3zDDM6sN7M42PyQyYHRY9XB D0wBjFFcNimpOZllqUX6dglcGZsX7GIueCxc0fZ0F1MDY4dAFyMnh4SAicSchXeZIWwxiQv3 1rN1MXJxCAksZZQ4s28dC4Qzg0lizszlTBDONkaJnic3WUFaWARUJT7+OscIYrMJGEpM3TQb yObgEBHQlmj/KAYSFhaQl7h6ZCfYBl4Be4kz1yeAlfML6Etc/fuJCWKzvcTMK2cYIWoEJX5M vscCYjMLaEls3tbECmHLS2xe8xZsjpCAusSNu7vZJzAKzELSMgtJyywkLQsYmVcxiqaWJhcU J6XnGuoVJ+YWl+al6yXn525ihAThlx2Mi49ZHWIU4GBU4uHdcMonTIg1say4MvcQowQHs5II r+VB3zAh3pTEyqrUovz4otKc1OJDjNIcLErivHN3vQ8REkhPLEnNTk0tSC2CyTJxcEo1MKpN qexSdnr6LNF3knDq+Sun36XZ2c77/Diq7WL25N8c6fI6c00vT3ttHb6X0WUi1xlZI9NKn49x hrrzQ/S034um/EqeFf+Ic2P1oW0ML7ycF09qs/987UfSmzylnWUTqo8aX0mY4rx50p1vt+MO vCme9+h86Ve2GsmPc7laz88I/3x++VONUmslluKMREMt5qLiRABhqq83PgIAAA== For the next version, which should be fairly soon. pws diff --git a/NEWS b/NEWS index bc14a8b..161fe6d 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,36 @@ CHANGES FROM PREVIOUS VERSIONS OF ZSH Note also the list of incompatibilities in the README file. +Changes from 5.1.1 to 5.2 +------------------------- + +The new module zsh/param/private can be loaded to allow the shell +to define parameters that are privatel to a function scope (i.e. are +not propagated to nested functions called within this function). + +The parameter flag ${(P)...} is now more useful when it appears in +a nested expansion. For example, + + typeset -A assoc=(one un two deux three trois) + name=assoc + print ${${(P)name}[one]} + +now prints "un". In previous versions of the shell the value of the +substitution was fully expanded on return from ${(P)name}, making +associative array subscripting difficult. As a side effect, flags +for formatting appearing in the inner substitution now affect the +substitution of the name (into "assoc" in this case), which is not +normally useful: flags that should apply to the value must be in the +outer substitution. + +The GLOB_STAR_SHORT option allows the pattern **/* to be shortened to +just ** if no / follows. so **.c searches recursively for a file whose +name has the suffix ".c". + +The effect of the WARN_CREATE_GLOBAL option has been significantly +extended, so expect it to cause additional warning messages about +parameters created globally within function scope. + Changes from 5.1 to 5.1.1 ------------------------- diff --git a/README b/README index 9571521..e05be50 100644 --- a/README +++ b/README @@ -32,8 +32,16 @@ Zsh is a shell with lots of features. For a list of some of these, see the file FEATURES, and for the latest changes see NEWS. For more details, see the documentation. -Incompatibilites between 5.0.8 and 5.1 --------------------------------------- +Incompatibilities between 5.1 and 5.2 +------------------------------------- + +The behaviour of the parameter flag (P) has changed when it appears +in a nested parameter group, in order to make it more useful in +such cases. A (P) in the outermost parameter group behaves as +before. See NEWS for more. + +Incompatibilities between 5.0.8 and 5.1 +--------------------------------------- The default behaviour when text is pasted into an X Windows terminal has changed significantly (unless you are using a very old terminal emulator