Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID
	autolearn=ham autolearn_force=no version=3.4.1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=brasslantern-com.20150623.gappssmtp.com; s=20150623;
        h=from:message-id:date:in-reply-to:comments:references:to:subject
         :mime-version;
        bh=NtNDuvS9qShZQb4zXKlPO+6suGD/jA7uWRYy2eYOMlM=;
        b=AxI4yJZ/0QE25pkBvlhpIyTNotx39r01gYh7OGPjKiLcmUItcal5zOjSM66Snyf7ML
         KzblUoliydxU/qi+yctYGAA3/stJBd+joLtQ9PHr2JuAg9ZWYrmlACl3D0lYeJ1pmkFB
         +m1lw3zY2fOAkdv9+2ifGGnB0Qq2sjrwUwzue0i2vYJVkfHCnJlkidG1pedgLwZzUG5v
         8ifSV3wYj6phqyoCXOsVyCnGs/u1osHv9b7prPOuT1ALZ6zhAQQJkRDVp3DIVl2EUOtY
         tmLQXoApoRJbexKtJ5E55goolChBrLxHm6lfmySWNNiryM5p8GH2/Q/XNQ1rbXQOZOhv
         56Bw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:message-id:date:in-reply-to:comments
         :references:to:subject:mime-version;
        bh=NtNDuvS9qShZQb4zXKlPO+6suGD/jA7uWRYy2eYOMlM=;
        b=ih4yhBkBuDNAmDFFnm7JoOAcSXGTyMG0738TSHpIRFfwmGD8fbhgFEX/ZKC6jxYP+X
         5S35XBoAN7ozIDmXqU2x+TMQ4yfTQG6URwzBCPPqvGlrNV098/QRurvP7iS/tNCI55Uy
         PrWe18x1hATbWFoifFBmnKBD4AeK7dCOjZZR8q/ob911dTMskh3pXse86oHwbkjbYDeM
         j6UnLZ9rxkginTDg6g4avy8Lydi/jg5VKAgnGo214TGe+DTnG1mcqOK6ZrCAwAub9SYg
         WfBahThXJmZUbZgrQjFrRMB4z/dgJxlCHf7SLOfNyhWTYJMPnau3bauApNQqbH/PUHdE
         gKoQ==
X-Gm-Message-State: ALyK8tJL9S9P1Yc1QZJJISu1QRh0R7CrJwf6OvHn7wnZAxngRnqTE7kaR15ufK5d1B5QUQ==
X-Received: by 10.98.35.129 with SMTP id q1mr1865522pfj.48.1464852179578;
        Thu, 02 Jun 2016 00:22:59 -0700 (PDT)
From: Bart Schaefer <schaefer@brasslantern.com>
Message-Id: <160602002257.ZM14758@torch.brasslantern.com>
Date: Thu, 2 Jun 2016 00:22:57 -0700
In-Reply-To: <7795.1464138176@thecus.kiddle.eu>
Comments: In reply to Oliver Kiddle <okiddle@yahoo.co.uk>
        "Re: Bug in undo/redo handling in conjunction with history-beginning-search-backward" (May 25,  3:02am)
References: <CAHYJk3TPHXFx96mm-40hvEqnd__8v8mnebiZ1r+thxGorZz=qg@mail.gmail.com> 
	<7795.1464138176@thecus.kiddle.eu>
X-Mailer: OpenZMail Classic (0.9.2 24April2005)
To: zsh workers <zsh-workers@zsh.org>
Subject: Re: Bug in undo/redo handling in conjunction with history-beginning-search-backward
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Seq: zsh-workers 38571

On May 25,  3:02am, Oliver Kiddle wrote:
} Subject: Re: Bug in undo/redo handling in conjunction with history-beginni
}
} On first attempt, I couldn't reproduce this. I do get the effect with
} repeated undos and no redos, however.
} 
} The way history line changes are stored in the undo code differs
} markedly from other changes. So the code has ended up with special logic
} to handle the history changes.

I don't think this is directly related to history changes, I can cause a
crash on multiple undo with bracketed-paste-magic having not changed the
history line at all.  See other thread.

