From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#10903: 24.0.93; redisplay glitch with before-string and display overlays Date: Mon, 27 Feb 2012 23:04:03 +0100 Message-ID: <87pqd0hr1o.fsf@escher.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1330380335 11454 80.91.229.3 (27 Feb 2012 22:05:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 27 Feb 2012 22:05:35 +0000 (UTC) To: 10903@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 27 23:05:34 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 1S28hJ-0006rS-Ul for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Feb 2012 23:05:34 +0100 Original-Received: from localhost ([::1]:42746 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S28hJ-00044g-9D for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Feb 2012 17:05:33 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S28hF-00044N-Ez for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 17:05:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S28hA-0004Md-QF for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 17:05:28 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58383) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S28hA-0004MZ-MF for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 17:05:24 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S28ji-0002Od-Cv for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 17:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Feb 2012 22:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10903 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13303804599176 (code B ref -1); Mon, 27 Feb 2012 22:08:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Feb 2012 22:07:39 +0000 Original-Received: from localhost ([127.0.0.1]:60279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S28jK-0002Nm-Iq for submit@debbugs.gnu.org; Mon, 27 Feb 2012 17:07:39 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37897) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S28j8-0002NO-D4 for submit@debbugs.gnu.org; Mon, 27 Feb 2012 17:07:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S28g4-0004BO-8r for submit@debbugs.gnu.org; Mon, 27 Feb 2012 17:04:17 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:38116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S28g4-0004BJ-5n for submit@debbugs.gnu.org; Mon, 27 Feb 2012 17:04:16 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S28g2-0003s6-8K for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 17:04:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S28fx-000481-Ea for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 17:04:13 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:51100) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1S28fx-00047m-3u for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 17:04:09 -0500 Original-Received: (qmail invoked by alias); 27 Feb 2012 22:04:06 -0000 Original-Received: from i59F56334.versanet.de (EHLO escher.home) [89.245.99.52] by mail.gmx.net (mp033) with SMTP; 27 Feb 2012 23:04:06 +0100 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1+ll2hDLcild88VwcPCXWCU+5i9iteOEaPKPHKw6V 6o0IDqUGlenRhe User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:57334 Archived-At: 1. emacs -Q 2. Type `C-x b a RET' to get a fresh buffer in Fundamental mode, and at (point-min) type "012". 3. Type `M-<' so that the cursor is over (i.e. just before) `0'. 4. Type `M-: (overlay-put (make-overlay (point) (point)) 'before-string "*")'. Now you see this: *012 5. Type `M-: (overlay-put (make-overlay (point) (1+ (point))) 'display "")'. Now you see this: *12 6. Type `M-: (remove-overlays)' to restore "012". 7. Type SPC to advance the cursor and the start of "012" to column one. 8. Repeat step 4. Now you see this: *012 9. Repeat step 5. Now you see this: *112 According to my tests, this redisplay glitch happens when the overlays begin anywhere other than (point-min). It also only happens when the before-string overlay is added prior to the display string overlay, and only when the value of the display string is "". I don't know when this problem appeared, but it does not happen in Emacs 23.3. In GNU Emacs 24.0.93.1 (i686-suse-linux-gnu, GTK+ Version 2.24.7) of 2012-02-26 on escher Windowing system distributor `The X.Org Foundation', version 11.0.11004000 Configured using: `configure '--without-toolkit-scroll-bars' 'CFLAGS=-g'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix default enable-multibyte-characters: t