From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#11199: 24.0.95; killing right-to-left text at eob leads to inconsistent state Date: Sun, 08 Apr 2012 10:33:28 +0300 Message-ID: <83bon2ad9z.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1333870581 26419 80.91.229.3 (8 Apr 2012 07:36:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 8 Apr 2012 07:36:21 +0000 (UTC) Cc: 11199@debbugs.gnu.org To: YAMAMOTO Mitsuharu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 08 09:36:20 2012 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 1SGmfb-0006wq-If for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Apr 2012 09:36:19 +0200 Original-Received: from localhost ([::1]:44532 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGmfa-0004mb-Rr for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Apr 2012 03:36:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40321) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGmfY-0004mT-3D for bug-gnu-emacs@gnu.org; Sun, 08 Apr 2012 03:36:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SGmfW-0006TM-Dh for bug-gnu-emacs@gnu.org; Sun, 08 Apr 2012 03:36:15 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47881) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGmfW-0006TE-AQ for bug-gnu-emacs@gnu.org; Sun, 08 Apr 2012 03:36:14 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SGmgI-0002V3-Ei for bug-gnu-emacs@gnu.org; Sun, 08 Apr 2012 03:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Apr 2012 07:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11199 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11199-submit@debbugs.gnu.org id=B11199.13338705809559 (code B ref 11199); Sun, 08 Apr 2012 07:37:02 +0000 Original-Received: (at 11199) by debbugs.gnu.org; 8 Apr 2012 07:36:20 +0000 Original-Received: from localhost ([127.0.0.1]:44419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SGmfc-0002U7-BN for submit@debbugs.gnu.org; Sun, 08 Apr 2012 03:36:20 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:64843) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SGmfY-0002Ty-VB for 11199@debbugs.gnu.org; Sun, 08 Apr 2012 03:36:18 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M2500G00GZFS400@a-mtaout22.012.net.il> for 11199@debbugs.gnu.org; Sun, 08 Apr 2012 10:35:26 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.57.204]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M2500FAMH31E8N0@a-mtaout22.012.net.il>; Sun, 08 Apr 2012 10:35:26 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:58581 Archived-At: > Date: Sun, 08 Apr 2012 11:26:41 +0900 > From: YAMAMOTO Mitsuharu > > Steps to reproduce: > > 1. emacs -Q > 2. type the following text in the *scratch* buffer: > > (progn > (delete-region (point) (point-max)) > (insert (substring (get-language-info "Hebrew" 'sample-text) 7))) > > 3. move the cursor to the beginning of the next line of the above text. > 4. C-x C-e > 5. C-a > 6. C-k > > Result: > > The Hebrew text is still shown, though it is internally killed. > Typing C-p after the last step does not move the cursor. I cannot reproduce this with today's bzr, neither in the emacs-24 release branch nor with the trunk version. I cannot run a GUI session with a GTK build on GNU/Linux where I'm typing this, but I tried GUI and TTY sessions on MS-Windows and a TTY session on GNU/Linux, and they all work correctly: the Hebrew text is killed and C-p works as expected. (Btw, did you mean C-p or C-n?) Can you try reproducing this in a clean build, or on another system? Also, what happens on the system where you see the problem, if you switch to another buffer and then back to *scratch*, so that it is completely redrawn? does the killed text re-appear or not? Thanks.