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: momentary-string-display Date: Wed, 03 Jan 2007 21:31:45 -0500 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1167878099 21968 80.91.229.12 (4 Jan 2007 02:34:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Jan 2007 02:34:59 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 04 03:34:58 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 1H2IRV-00018d-2H for ged-emacs-devel@m.gmane.org; Thu, 04 Jan 2007 03:34:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H2IRU-0004ys-DL for ged-emacs-devel@m.gmane.org; Wed, 03 Jan 2007 21:34:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H2IOl-0003ES-TS for emacs-devel@gnu.org; Wed, 03 Jan 2007 21:32:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H2IOl-0003Dx-B0 for emacs-devel@gnu.org; Wed, 03 Jan 2007 21:32:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H2IOl-0003Db-0D for emacs-devel@gnu.org; Wed, 03 Jan 2007 21:32:07 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H2IOk-0003my-Jl for emacs-devel@gnu.org; Wed, 03 Jan 2007 21:32:06 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1H2IOP-0002Yu-AF; Wed, 03 Jan 2007 21:31:45 -0500 Original-To: Kevin Rodgers In-reply-to: (message from Kevin Rodgers on Wed, 03 Jan 2007 01:53:42 -0700) 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:64729 Archived-At: As I meant to say, the same heuristic can be used by replacing the reference to insert-end with (+ pos (length string)) -- as long as the new call to overlay-put causes a redisplay that updates window-end just as the original call to insert does. I just made a change in window-end which I think will make it handle that case correctly. So let's have your patch and install it.