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: Error during redisplay Date: Wed, 27 Feb 2008 11:08:27 -0500 Message-ID: References: <85ir0aubo1.fsf@lola.goethe.zz> <85ablmu7b0.fsf@lola.goethe.zz> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1204128684 6555 80.91.229.12 (27 Feb 2008 16:11:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Feb 2008 16:11:24 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org, handa@m17n.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 27 17:11:48 2008 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 1JUOsS-000522-5B for ged-emacs-devel@m.gmane.org; Wed, 27 Feb 2008 17:11:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUOrw-0004bm-3K for ged-emacs-devel@m.gmane.org; Wed, 27 Feb 2008 11:10:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JUOpZ-0003Bd-Qb for emacs-devel@gnu.org; Wed, 27 Feb 2008 11:08:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JUOpX-0003Aj-UF for emacs-devel@gnu.org; Wed, 27 Feb 2008 11:08:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUOpX-0003Ae-Oa for emacs-devel@gnu.org; Wed, 27 Feb 2008 11:08:27 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JUOpX-0003wI-GM for emacs-devel@gnu.org; Wed, 27 Feb 2008 11:08:27 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JUOpX-0003uq-1k; Wed, 27 Feb 2008 11:08:27 -0500 In-reply-to: <85ablmu7b0.fsf@lola.goethe.zz> (message from David Kastrup on Wed, 27 Feb 2008 09:34:11 +0100) 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:90624 Archived-At: I still think it wrong to change the text according to where it is displayed. I agree -- I get a very bad feeling about that. As far as I know, text properties are also subject to undo treatment. That is another good argument. This would appear to call at most for overlays At present, strings cannot have overlays. And I am not sure if overlays are really right for this data; just because text properties have a bad aspect, that doesn't mean overlays don't. There could be some other internal cache for this. It calls for more thought. > So, another way is to re-design the current redisplay engine > to generate a composition glyph every time just by calling C > functions. I think it's an interesting experiment. That is cleaner, for sure. It could also be slower, but how much?