Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Next zsh release

On 19 May 2011 17:07, Peter Stephenson <Peter.Stephenson@xxxxxxx> wrote:
> On Thu, 19 May 2011 16:55:03 +0200
> Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
>> On 19 May 2011 15:02, Peter Stephenson <Peter.Stephenson@xxxxxxx>
>> wrote:
>> > Is anything blocking the release of 4.3.12?  I think I've sorted out
>> > everything I wanted to for the short term.
>> I have these four I want to commit, I've just been a bit lazy and not
>> done it yet,
>> PATCH: support negative LEN in ${VAR:OFFSET:LEN}
>> PATCH: Add g:: parameter expansion flag
>> PATCH: Remove some unused assignments/checks noticed by clang
>> "[PATCH] fix 'the the' typos" and "[PATCH] more doubles"
>> Let me know if you prefer them in .12 or after, or if you don't
>> care :).
> If you can get them in, so much the better, particularly the typo fix.

I've committed the first two and the last two, ie not the scary unused
assignments one. I also added a small blurb to NEWS about the first
one. Should probably have added g:: too, I can do that now if you
want. I also noticed there's no Etc/relnote_4.3.11.txt.

--- a/NEWS
+++ b/NEWS
@@ -22,6 +22,13 @@ when it should or should not exit on errors.
 The ${NAME:OFFSET:LENGTH} syntax now supports negative LENGTH, which
 counts back from the end of the string.

+The (g:opts:) flag in parameter expansion processes escape sequences like
+the echo and print builtins.  opts can be any combination of o, e and c.
+With e, acts like print rather than echo except for octal escapes which
+are controlled separately by the o option.  With c, interpret control
+sequences like "^X" as bindkey does.  Regardless of the opts, \c is not
 Changes between versions 4.3.10 and 4.3.11

Mikael Magnusson

Messages sorted by: Reverse Date, Date, Thread, Author