From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: Re: overlay face property not used for after-string property Date: Tue, 01 Apr 2008 16:14:11 -0400 Message-ID: <87fxu5xrho.fsf@stupidchicken.com> References: <8664119n0w.fsf@macs.hw.ac.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207111749 5927 80.91.229.12 (2 Apr 2008 04:49:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Apr 2008 04:49:09 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 02 06:49:34 2008 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 1Jguuj-0002li-Sm for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Apr 2008 06:49:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jguu7-0002Mw-JK for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Apr 2008 00:48:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jgutz-0002MO-2g for bug-gnu-emacs@gnu.org; Wed, 02 Apr 2008 00:48:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jgutx-0002M6-J1 for bug-gnu-emacs@gnu.org; Wed, 02 Apr 2008 00:48:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jgutx-0002Lv-3n for bug-gnu-emacs@gnu.org; Wed, 02 Apr 2008 00:48:45 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jgutw-0005YV-S2 for bug-gnu-emacs@gnu.org; Wed, 02 Apr 2008 00:48:44 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jgmvb-0000Zx-5Q for bug-gnu-emacs@gnu.org; Tue, 01 Apr 2008 16:17:55 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JgmvS-0008HB-Ap for bug-gnu-emacs@gnu.org; Tue, 01 Apr 2008 20:17:46 +0000 Original-Received: from cyd.mit.edu ([18.115.2.24]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Apr 2008 20:17:46 +0000 Original-Received: from cyd by cyd.mit.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Apr 2008 20:17:46 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 16 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cyd.mit.edu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:drIGmJHEDaN1qkf8aGNWny14xmQ= X-detected-kernel: by mx20.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:17777 Archived-At: Joe Wells writes: > BUG: An overlay's face property is applied to its before-string > and display properties, but not to its after-string property. Sorry for the delay; I just got the time to look at this in detail. Currently, Emacs uses the `face' property for the display property, but not the before-string and after-string properties. This is a rather ambiguous corner case for the interaction of different overlay properties, and my inclination is to leave it alone. If you wish to change the face of either one of these strings, you can add the `face' text property to the string, and this will be displayed correctly. Does anyone have any objection? If not, I'll shortly update the elisp manual to clarify this issue.