From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#1176: redisplay bugs Date: Mon, 20 Oct 2008 22:48:11 -0400 Message-ID: References: Reply-To: Glenn Morris , 1176@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1224558666 31069 80.91.229.12 (21 Oct 2008 03:11:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Oct 2008 03:11:06 +0000 (UTC) To: 1176@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 21 05:12:04 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ks7f6-0003ka-ML for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Oct 2008 05:12:00 +0200 Original-Received: from localhost ([127.0.0.1]:42016 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ks7e1-0004v2-9j for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Oct 2008 23:10:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ks7dK-0004dV-SM for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2008 23:10:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ks7dJ-0004cd-BQ for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2008 23:10:09 -0400 Original-Received: from [199.232.76.173] (port=57747 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ks7dI-0004cO-W5 for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2008 23:10:09 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:59754) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ks7dI-0008EJ-EP for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2008 23:10:08 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9L3A13s029477; Mon, 20 Oct 2008 20:10:01 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9L302mT026372; Mon, 20 Oct 2008 20:00:02 -0700 X-Loop: don@donarmstrong.com Resent-From: Glenn Morris Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 21 Oct 2008 03:00:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1176 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1176-submit@emacsbugs.donarmstrong.com id=B1176.122455745424969 (code B ref 1176); Tue, 21 Oct 2008 03:00:02 +0000 Original-Received: (at 1176) by emacsbugs.donarmstrong.com; 21 Oct 2008 02:50:54 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9L2opOv024963 for <1176@emacsbugs.donarmstrong.com>; Mon, 20 Oct 2008 19:50:52 -0700 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Ks7I3-00066P-La; Mon, 20 Oct 2008 22:48:11 -0400 X-Spook: David John Oates KGB strategic bank nitrate Honduras X-Ran: pTO:~9>X6Y>GnH(P!H6DB{oe6nv X-Hue: white X-Attribution: GM In-Reply-To: (Richard M. Stallman's message of "Wed, 15 Oct 2008 12:10:01 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 20 Oct 2008 23:10:09 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21731 Archived-At: I found all this rather hard to understand. "I expected to see", "I actually saw", never mind separate bugs, would have made it a lot easier. > 1. Faces on a display property on a before-string behave differently > depending on where the display property is in the before-string. > For a display property at the beginning of the before-string, its > face is used and the before-string's face is ignored (I think this > is correct). For a display property not at the beginning of the > before-string, its face is completely ignored, and the face of the > before-string is used instead. Appears to be fixed in 22.2 and up. I base this on the strike-through face appearing on the whole before-string in 22.2, but only on the first two chars in 22.1. And on the background of only the first two characters being white in 22.1 (the rest being yellow), but all being white in 22.2 > 2. When a substring of a before-string beginning at offset O has a > display property which is a string S, the first O characters of S > are not displayed. If S is not at least O+1 characters long, then > disastrous things start to happen. This is clearly a bug. Appears to be fixed in 22.2 and up. I base this on seeing only one "|" before VWXYZ in 22.1, but two in 22.2. > 3. The before-string somehow inherits face attributes from the face > of the character that follows the start of the overlay. Appears to be fixed in 22.2 and up. I base this on seeing underlining and a yellow background on "VWXYZ" in 22.1, but not 22.2. > 4. The display property of an overlay somehow inherits face > attributes from the face of the character that follows the start of > the overlay. I think this one still applies. The "]" in the example has a yellow background. > 5. The help-echo and mouse-face properties of an overlay with both a > before-string and a display property only affect the material > displayed by the overlay's display property. This appears to still be the case. Only the "]" in the example has mouse-face and help-echo.