Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: NEWS for 4.3.11
- X-seq: zsh-workers 28244
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxx (Zsh hackers list)
- Subject: PATCH: NEWS for 4.3.11
- Date: Wed, 08 Sep 2010 15:02:40 +0100
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Here are some new features I noted by scanning the change log. If
you're using anything I missed let me know.
Index: NEWS
===================================================================
RCS file: /cvsroot/zsh/zsh/NEWS,v
retrieving revision 1.32
diff -p -u -r1.32 NEWS
--- NEWS 15 Apr 2010 09:26:37 -0000 1.32
+++ NEWS 8 Sep 2010 13:59:27 -0000
@@ -29,6 +29,53 @@ e.g. /u/b/z no longer completes to /usr/
where this form of completion is pathologically slow due to network
performance.
+With the MULTIBYTE option, the line editor now highlights bytes in the
+input that are not part of a valid character in the current locale in hex
+as <XX> for hex digits X; highlighting is controlled by the "special"
+keyword in the zle_highlight array. These can be distinguished from
+unprintable Unicode characters which also use "special" highlighting as the
+latter are always two or four bytes long, e.g. <XXXX>, <XXXXXXXX>.
+
+The line editor now sets the variable ZLE_LINE_ABORTED if there is
+an error when editing the line. The following code can be used
+to create a bindable editor widget to restore the aborted line:
+ recover-line() { LBUFFER=$ZLE_LINE_ABORTED RBUFFER=; }
+ zle -N recover-line
+
+The parameter ZLE_STATE, available in user-defined line editor widgets,
+gives information on the state of the line editor. Currently this is
+whether the line editor is in insert or overwrite mode.
+
+There is now a function system for recording and restoring recently
+entered directories. See the entry for cdr in the zshcontrib manual page.
+
+The (D) flag use in parameter expansion abbreviates directories in the
+substituted value. The (q-) flag does minimal shell quotation of arguments
+for maximum human readability of the result.
+
+The new shell option SOURCE_TRACE causes the shell to report files
+containing shell code that the shell executes directly, i.e. startup files
+or files run with the `source' or `.' builtins.
+
+The shell option SUN_KEYBOARD_HACK has been supplemented by a more general
+mechanism: the KEYBOARD_HACK variable defines the character to be ignored.
+
+The new shell option POSIX_CD, active in emulations of POSIX-based shells,
+makes the cd builtin POSIX-compatible.
+
+The shell option MONITOR can be set in non-interactive shells, and also in
+subshells (as created by surrounding commands with parentheses), turning on
+job control for that subshell. The initial behaviour of a subshell is
+still to turn job control off, however if the new POSIX_JOBS option is set
+MONITOR remains active in subshells.
+
+Regular expression matches now use the same variables for storing matched
+components as shell patttern matching. The function system now provides
+the function regexp-replace for replacing text using regular expressions.
+The zle widgets replace-string, replace-string-again, if defined with regex
+in the name (e.g. "zle -N replace-regexp replace-string"), perform regular
+expression matches. In replacement text \& and \1 have the standard
+meaning.
Changes between versions 4.3.9 and 4.3.10
-----------------------------------------
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
Tel: +44 (0)1223 692070 Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK
Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
Messages sorted by:
Reverse Date,
Date,
Thread,
Author