From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Phillip Lord" Newsgroups: gmane.emacs.bugs Subject: bug#23871: 25.1.50; Undo unexpectedly leads to blank buffer Date: Tue, 5 Jul 2016 20:44:14 +0100 Message-ID: <41bfc4da9cb29807e0fdeb182b862121.squirrel@cloud103.planethippo.com> References: <83h9cavdgj.fsf@gnu.org> <87poqyy2tc.fsf@metalevel.at> <87vb0qqrkz.fsf@russet.org.uk> <87h9c9zx75.fsf@metalevel.at> <834m89vmyv.fsf@gnu.org> <878txlsbdb.fsf@russet.org.uk> <87furtccdv.fsf@metalevel.at> <877fd5q9te.fsf@russet.org.uk> <83bn2gtruk.fsf@gnu.org> <87k2h37pvb.fsf@russet.org.uk> <87zipz223y.fsf@metalevel.at> <87a8hzkqp2.fsf@russet.org.uk> <87d1mv9gqm.fsf@metalevel.at> <8760smricr.fsf@russet.org.uk> <878txiha1g.fsf@metalevel.at> <87wpl2pj1u.fsf@russet.org.uk> <87shvqbcr0.fsf@metalevel.at> <83oa6dpiwz.fsf@gnu.org> <83mvlwnit1.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1467747933 15608 80.91.229.3 (5 Jul 2016 19:45:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Jul 2016 19:45:33 +0000 (UTC) Cc: 23871@debbugs.gnu.org, triska@metalevel.at, phillip.lord@russet.org.uk To: "Eli Zaretskii" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 05 21:45:18 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bKWHU-0005gr-Sq for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Jul 2016 21:45:17 +0200 Original-Received: from localhost ([::1]:57726 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKWHU-0004ix-3s for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Jul 2016 15:45:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKWHL-0004eF-FF for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2016 15:45:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKWHG-0001IE-HE for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2016 15:45:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54510) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKWHG-0001IA-Da for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2016 15:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bKWHG-0004jo-5U for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2016 15:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Phillip Lord" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Jul 2016 19:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23871 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23871-submit@debbugs.gnu.org id=B23871.146774787018156 (code B ref 23871); Tue, 05 Jul 2016 19:45:02 +0000 Original-Received: (at 23871) by debbugs.gnu.org; 5 Jul 2016 19:44:30 +0000 Original-Received: from localhost ([127.0.0.1]:38614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKWGg-0004ih-3i for submit@debbugs.gnu.org; Tue, 05 Jul 2016 15:44:30 -0400 Original-Received: from cloud103.planethippo.com ([31.216.48.48]:49528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKWGa-0004iQ-IY for 23871@debbugs.gnu.org; Tue, 05 Jul 2016 15:44:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Cc:To:From:Subject:Date:References:In-Reply-To:Message-ID; bh=4Zz5tuIhY+gL7ZRH5J70bqZv6ixac1XIE8nbNNmXvns=; b=C6cobKJ9PHiiBz/jbgblNA+8Qr fLfkYChYEFwzDT8bmQQ8sbtjW9psrwBgO46Z9uwkQoV9KvM109oON901yf1MMOnozNhsP80utv1nE PpUZatE5j7+pxxlYNeVamiTUMwN7dLHVk+1QGfmdAscNdK329upofUtUVaflGMK31jkKhTflekSMH 5QCZw/7RJvcaGKqdc0LMuHOdKPPsFqY/Qu3UV6U+UUjqP1T+AgpgP0G0pMxt01JU1s6iWH8apUjhX Ldrhav+rs3OzIwLFluNwpgK9cArcLhMV1o9BOj91mLtK7MCnL8Ve8kvW0+c2ZrUR7a8J+UMZR8DWk HupxvFwQ==; Original-Received: from [127.0.0.1] (port=38919 helo=cloud103.planethippo.com) by cloud103.planethippo.com with esmtpa (Exim 4.86_1) (envelope-from ) id 1bKWGU-001h1R-AO; Tue, 05 Jul 2016 20:44:14 +0100 Original-Received: from 77.98.219.118 ([77.98.219.118]) (SquirrelMail authenticated user phillip.lord@russet.org.uk) by cloud103.planethippo.com with HTTP; Tue, 5 Jul 2016 20:44:14 +0100 In-Reply-To: <83mvlwnit1.fsf@gnu.org> User-Agent: SquirrelMail/1.5.2 [SVN] X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:120460 Archived-At: On Tue, July 5, 2016 5:36 pm, Eli Zaretskii wrote: >>> Note the setting of ediprolog-program to simulans.sh. I can reproduce >>> the issue with this script. If it does not work for you, please try >>> a different window size, font, or running Emacs in the terminal. >> >> Thanks, I reproduced the problem, and it definitely involves some >> anomaly in redisplay. I will look into that aspect of the problem. > > This is now fixed on the master branch. The situation where buffer > changes happen in a window whose start point is on a continuation line was > mishandled by code that never expected to find itself in this situation. > After the fix, the recipe leaves point at the end of line > 15, in a window that displays that single line at its top. > > > Thanks for the easy to reproduce recipe. Also, thanks for helping to uncover issues in the undo system, with some very nice bug reports.