From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29693 invoked by alias); 8 Jan 2015 10:44:48 -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: 34168 Received: (qmail 10070 invoked from network); 8 Jan 2015 10:44:46 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 From: Hans Meine Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Bug in 'histreduceblanks' w.r.t. multi-line commands Message-Id: <0267E518-E25F-4D97-9D2D-66A0603A6C28@gmx.net> Date: Thu, 8 Jan 2015 11:31:05 +0100 To: zsh-workers@zsh.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) X-Mailer: Apple Mail (2.1878.6) X-Provags-ID: V03:K0:CVVgVNklZBqWgGq6NgqG5WtClWjcJ0+P1tknRcTEVeoSVxMz3tu NXSbRxumyT2AIUmiHktJdwuRN4x4DMCWC4igyJxRZ0VnWzceCpnmXe3pszCynlLr1fp6BE7 j73J6CHpRJBs7SaiRLa7TnGfoUafCFiMD2fDR1eiPCWnI6DtCjNlkK8cXvbRAUN0hhDXOCo mn3xKFB0vrvhSWmjMvb2Q== X-UI-Out-Filterresults: notjunk:1; Hi, with the histreduceblanks option enabled, I suffered from the problem = that multi-line commands like the following were mangled in the history: cd ~/Developer && \ svn up --accept postpone -r190973 MeVisLab MeVis/Foundation && \ svn up --accept postpone -r197619 FMEwork FMEstable The command appears in history totally broken, with missing and = duplicate/substituted parts as follows: cd ~/Developer && n n up -cceptpt ptponene -9097373 MisLabab = Mis/Foundationon && svn up -eptcept ponepone -6197619 ork ork FMbltable Interestingly, when trying to simplify this example, I noticed that the = following works: cd foo && \ ls && \ echo bar =20 I did create a new user for testing and could verify that this is not = caused by a conflict with any of the other options that I enabled; even = with the default config (or no_zle etc.), the problem starts to appear = as soon as I enable histreduceblanks. Best regards Hans=