From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Fwd: overlay face property not used for after-string property Date: Mon, 05 Nov 2007 21:16:01 -0500 Message-ID: References: <86r6jfz3bb.fsf@macs.hw.ac.uk> <86bqaixmxk.fsf@macs.hw.ac.uk> <86bqabjozh.fsf@macs.hw.ac.uk> <86y7ddipg5.fsf_-_@macs.hw.ac.uk> <86zlxtdopx.fsf@lola.quinscape.zz> <86640gj4fx.fsf@macs.hw.ac.uk> <86wsswhp7w.fsf@macs.hw.ac.uk> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1194315520 16817 80.91.229.12 (6 Nov 2007 02:18:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Nov 2007 02:18:40 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Joe Wells Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 06 03:18:42 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IpE1Y-0002cF-E7 for ged-emacs-devel@m.gmane.org; Tue, 06 Nov 2007 03:18:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IpE1N-0003ON-Is for ged-emacs-devel@m.gmane.org; Mon, 05 Nov 2007 21:18:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IpDz2-0000yX-1v for emacs-devel@gnu.org; Mon, 05 Nov 2007 21:16:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IpDz0-0000xI-HO for emacs-devel@gnu.org; Mon, 05 Nov 2007 21:16:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IpDz0-0000xD-8q for emacs-devel@gnu.org; Mon, 05 Nov 2007 21:16:02 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IpDz0-0007NN-5Z for emacs-devel@gnu.org; Mon, 05 Nov 2007 21:16:02 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IpDyz-0003f3-ED; Mon, 05 Nov 2007 21:16:01 -0500 In-reply-to: <86wsswhp7w.fsf@macs.hw.ac.uk> (message from Joe Wells on Mon, 05 Nov 2007 12:05:39 +0000) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:82614 Archived-At: An additional point. Suppose the overlay has both before-string and display properties. (Yes, you need to do this if you want to use an overlay to replace the text in the buffer and display multiple images or a mixture of text and images.) The display property replaces the display of the text in the buffer (and possibly specifies a different face for it). It makes no logical sense in this case for the display of the before-string to use the face of a character in the buffer that is being concealed. In some cases it does. Consider a paragraph that is italicized with a text property. Shouldn't substitute text be italic by default?