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=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,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 9841b584 for ; Thu, 3 Jan 2019 18:48:20 +0000 (UTC) Received: (qmail 12052 invoked by alias); 3 Jan 2019 18:48:04 -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: 43970 Received: (qmail 17792 invoked by uid 1010); 3 Jan 2019 18:48:04 -0000 X-Qmail-Scanner-Diagnostics: from mail-it1-f176.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.100.2/25112. spamassassin: 3.4.2. Clear:RC:0(209.85.166.176):SA:0(-1.9/5.0):. Processed in 2.544583 secs); 03 Jan 2019 18:48:04 -0000 X-Envelope-From: dana@dana.is X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dana-is.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=Edpw2VYkhmbn+zYuWeaLeO6bgoc+OY74MyLLLsE51N8=; b=BOJkMdEyd9wQ4vRoiIsEomqO642zujLGMY4yK/nwkl6FH5+siR+n4pfLrkqgLZ6pMj zjF6fW59tihC0HTBvsUGQSXqkhgkVyvZLaPWH4k3vn5DDGM4d94Q2vHangGawb5kdeZs vrmm0JeFjXjrrnQCHZH7qSaA6IDt0S8/oZ0V+yfPCqKvxR6yxhAO4BB26DJ9usN0EuVx f8dPlOkBrd8+Nuf5p/81LthqGQ5M+i3ECPs3hJYFxYOpwAg8YqzAJ/Neoq6dQ0fRcp0Q HDqJTUE1o5ClXXtf8TkWyluvQ7lZxdgWJKDxyL8YF0LRqfie3jmiTeIbQ1wgmKv8RdT/ pE7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=Edpw2VYkhmbn+zYuWeaLeO6bgoc+OY74MyLLLsE51N8=; b=bIejf0bxgUFGCWCEq8VpFOS4YTmET4UnAkVeIJ4ceXJzFRZW3sdhw44ivzdKv4gwee cHxGo1r6ObCk4T4n8g8Pq3YRpbsocYJNi3umFQ/IzcvrJtZv99mbMdNu2U262KPfeq6S RjziALqcRosFDoOF+XVNMpNM3kzCf8H0yQBqyv5ymfH5f+yT3opGthf6kiMjkpzzI01x FZ1nZelSX0dDmc49z30icg54Hrfbe44mvqR+ciXtTGtZqkYQenBA3iuFO1BXe4XTqkre GGNQChvvjJcw5Jc4Gky6sIWXlzBWg8UFrQEIxaXU6tzqwug5fRCSWo7Lqr9dKK1xJz/C vzUA== X-Gm-Message-State: AA+aEWZwQuZ+JRkumn+2JwMPgRGRTCL03ZwxEnmYELQIWfRs7TGhLWaP fdpMDRtJO1MEiu+zXmj+ZVsbnJnKEJUIkg== X-Google-Smtp-Source: AFSGD/XMGv9GgiU0BqjkNmjpOxQRqvUQMP+aTGsGszzJpiEHHjbiPTHXaXjepPEQpIsxnWqkrUjVFQ== X-Received: by 2002:a24:52cc:: with SMTP id d195mr27595091itb.29.1546541278205; Thu, 03 Jan 2019 10:47:58 -0800 (PST) From: dana Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: [PATCH/RFC] Document some 5.{4,5,6} features in NEWS Message-Id: Date: Thu, 3 Jan 2019 12:47:56 -0600 To: Zsh workers X-Mailer: Apple Mail (2.3445.9.1) I was going through the steps for creating a test release and noticed = that some new features in recent releases weren't mentioned in NEWS. I just = wanted to double-check whether there's any strong feeling regarding what's = notable enough for inclusion here. Is this fine, or is it more granular than = intended? (If the former, i'll probably also update creating-a-release.txt to say something to the effect that NEWS should generally document new features = and serious bug fixes, but not routine fixes or completion/contrib updates.) dana diff --git a/NEWS b/NEWS index 0b0c0e84c..474ab45a6 100644 --- a/NEWS +++ b/NEWS @@ -63,9 +63,19 @@ In shell patterns, [[:blank:]] now honours the locale = instead of matching exclusively on space and tab, like for the other POSIX character classes or for extended regular expressions. =20 -Nanosecond precision on file times is supported in the module +The zsh/system module now provides the PID of the last process +substitution via $sysparams[procsubstpid]. + +Time formatting via the %D prompt escape now offers nanosecond +precision with the %. and %N format specifiers. Additionally, +nanosecond precision on file times is supported in the module zsh/stat. =20 +The zsh/mathfunc module now includes a log2() function. + +The parameter ZLE_RECURSIVE has been added to indicate the +current ZLE recursion level. + Changes from 5.5 to 5.5.1 ------------------------- =20 @@ -89,9 +99,19 @@ typeset -A assoc=3D([key1]=3Dval1 [key2]=3Dval2) is allowed for compatibility with other shells. In the case of normal arrays the new syntax can be mixed with the old. =20 +The %E, %S, and %U TIMEFMT specifiers now support m and u prefixes +(e.g., %mE) to output times in milliseconds and microseconds, +respectively. + +The option CHECK_RUNNING_JOBS was added to control whether zsh should +check for running jobs in addition to suspended ones with CHECK_JOBS. +It is enabled by default. + Changes from 5.3.1 to 5.4.2 --------------------------- =20 +There are only minor changes between 5.4 and 5.4.2. + The 'exec' and 'command' precommand modifiers, and options to them, are now parsed after parameter expansion. Previously, both the modifier = and any options to it were parsed between alias expansion and parameter @@ -111,6 +131,13 @@ turned on for an individual function with = "functions -W". zmodload now has an option -s to be silent on a failure to find a = module but still print other errors. =20 +The autoload builtin gained several new features to load functions from = a +file path determined at the time of definition rather than at the time = of +loading. + +The zsh/parameter module now exposes the file paths associated with +shell functions via the parameters functions_source and +dis_functions_source. =20 Changes from 5.2 to 5.3.1 -------------------------