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: Fri, 02 Nov 2007 23:58:40 -0400 Message-ID: References: <86r6jfz3bb.fsf@macs.hw.ac.uk> <86bqaixmxk.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 1194062482 18684 80.91.229.12 (3 Nov 2007 04:01:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Nov 2007 04:01:22 +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 Sat Nov 03 05:01:25 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 1IoACL-0006lq-2W for ged-emacs-devel@m.gmane.org; Sat, 03 Nov 2007 05:01:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IoACB-0006gj-31 for ged-emacs-devel@m.gmane.org; Sat, 03 Nov 2007 00:01:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IoA9m-0004Ax-CQ for emacs-devel@gnu.org; Fri, 02 Nov 2007 23:58:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IoA9k-00048C-JS for emacs-devel@gnu.org; Fri, 02 Nov 2007 23:58:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IoA9k-00047t-E6 for emacs-devel@gnu.org; Fri, 02 Nov 2007 23:58:44 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IoA9j-0001pM-Hn for emacs-devel@gnu.org; Fri, 02 Nov 2007 23:58:43 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IoA9g-0001Si-2q; Fri, 02 Nov 2007 23:58:40 -0400 In-reply-to: <86bqaixmxk.fsf@macs.hw.ac.uk> (message from Joe Wells on Mon, 29 Oct 2007 09:57:59 +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:82401 Archived-At: > The fix we are discussing will get rid of this problem, right? No, the problem with the before-string/display/after-string properties being affected by a face from the buffer appears to be a completely unrelated issue which will need to be debugged separately. I see. We have one problem with overlay properties, and another with text properties. I think I just fixed the most of the problem for overlay properties. Now overlay before-strings and after-strings should be unaffected by the face properties of all overlays. They are, however, affected by `face' text properties and by region highlighting. It is not 100% clear that that is correct; you might want a longer overlay's `face' property, or a higher priority overlay's `face' property, to affect the before-strings and after-strings of smaller overlays. That seems like somewhat of a can of worms. The rule I implemented is simple and clear. Do you agree? And do you get good results from the fix? (It is in Emacs 22.) Do you think the same rule is right for display property strings that come from overlays? That is, obey `face' text properties, but not `face' overlay properties? Once we are sure what is right for overlay properties, I will start dealing with the text property effects.