From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alp Aker Newsgroups: gmane.emacs.bugs Subject: bug#12745: crash in bidi_pop_it during (idle) redisplay Date: Mon, 29 Oct 2012 17:25:08 -0400 Message-ID: References: <508CA6FC.4070203@cs.ucla.edu> <508CE3B0.2030809@cs.ucla.edu> <83lieq8q91.fsf@gnu.org> <83fw4y8jgd.fsf@gnu.org> <838vap8aq8.fsf@gnu.org> <837gq987yv.fsf@gnu.org> <83390x81ql.fsf@gnu.org> <83zk356lko.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1351545937 3873 80.91.229.3 (29 Oct 2012 21:25:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Oct 2012 21:25:37 +0000 (UTC) Cc: 12745@debbugs.gnu.org, ami@fischman.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 29 22:25:45 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 1TSwq9-0003A0-2h for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Oct 2012 22:25:45 +0100 Original-Received: from localhost ([::1]:59985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSwq0-0001P8-T5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Oct 2012 17:25:36 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSwpz-0001P2-5N for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2012 17:25:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TSwpy-0002Lj-83 for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2012 17:25:35 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56570) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSwpy-0002Lf-4r for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2012 17:25:34 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TSwsL-0005Ep-NJ for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2012 17:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alp Aker Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Oct 2012 21:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12745 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12745-submit@debbugs.gnu.org id=B12745.135154606220111 (code B ref 12745); Mon, 29 Oct 2012 21:28:01 +0000 Original-Received: (at 12745) by debbugs.gnu.org; 29 Oct 2012 21:27:42 +0000 Original-Received: from localhost ([127.0.0.1]:38588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TSws2-0005EJ-Ea for submit@debbugs.gnu.org; Mon, 29 Oct 2012 17:27:42 -0400 Original-Received: from mail-ia0-f172.google.com ([209.85.210.172]:61807) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TSwry-0005EB-Uh for 12745@debbugs.gnu.org; Mon, 29 Oct 2012 17:27:40 -0400 Original-Received: by mail-ia0-f172.google.com with SMTP id x24so2326965iak.3 for <12745@debbugs.gnu.org>; Mon, 29 Oct 2012 14:25:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=klzALTBat49ClPiCZSBNTq3jIiB7nOwEmw0RkUddudA=; b=lVKTq1w5hDNH69UCYbURhZ6OWk+USOkYgMBRNdpScLGS4QTG+1NGpHhQA6syJ9MJlC kx5h8eaCMNj7iBYaRfqOyCKcZMcpPNM5+DLXgaYrmOYcGMUAYCfFPNjSp7Ln64kunejI UT4/21onlddPbn6Lhgn2gwHUmv7Mfg5rQx0Oj0ySTebAsKme5u+5TDCbg/uKfQjnTdb/ iWcVfrwC42Es74BX4jQBW/5M+V82LzrtxLayjJWHIttt4vbBnUnpaOaMiwhV6hku5C5I T8hdlrrqypK00Uxr1aF5HsuElRKEM9kvO+7NUkpziGeCY2vAKvtY+PdteDcq1Pp1mX9K SR2g== Original-Received: by 10.42.65.6 with SMTP id j6mr27137993ici.2.1351545909092; Mon, 29 Oct 2012 14:25:09 -0700 (PDT) Original-Received: by 10.64.53.132 with HTTP; Mon, 29 Oct 2012 14:25:08 -0700 (PDT) In-Reply-To: <83zk356lko.fsf@gnu.org> 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:66217 Archived-At: > Couldn't you simply put the $ (or whatever) in the display string, > where you now put the u+e000 character? Probably. IIRC I found that (a) I needed to put a cursor property on the overlay string to get sensible cursor movement at the end of lines, but (b) putting the cursor property on a string that gets displayed as a stretch glyph via its display property didn't work. So I needed to have a blank character there to put a cursor property on, even when the newline has a nil display table entry. At that point it made the code simpler to use that char for visible newline display as well, via display table manipulation. But if this turns out to cause too many headaches for the redisplay routine I can rewrite it along the lines you describe.