From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: momentary-string-display Date: Thu, 28 Dec 2006 00:53:05 +0100 Message-ID: References: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1167263628 24735 80.91.229.10 (27 Dec 2006 23:53:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Dec 2006 23:53:48 +0000 (UTC) Cc: Takaaki Ota , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 28 00:53:46 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GziaX-00011W-Ol for ged-emacs-devel@m.gmane.org; Thu, 28 Dec 2006 00:53:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GziaX-0005fs-DA for ged-emacs-devel@m.gmane.org; Wed, 27 Dec 2006 18:53:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gzia5-0005MV-7P for emacs-devel@gnu.org; Wed, 27 Dec 2006 18:53:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gzia3-0005Kl-D7 for emacs-devel@gnu.org; Wed, 27 Dec 2006 18:53:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gzia3-0005KV-61 for emacs-devel@gnu.org; Wed, 27 Dec 2006 18:53:07 -0500 Original-Received: from [64.233.182.184] (helo=nf-out-0910.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gzia2-0005Yz-IM for emacs-devel@gnu.org; Wed, 27 Dec 2006 18:53:06 -0500 Original-Received: by nf-out-0910.google.com with SMTP id p46so4814521nfa for ; Wed, 27 Dec 2006 15:53:05 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LqR5Kh+8uYNyn8F92X4DC15AqD5cMPJ9Bctu9gabDTtvJmEtyazrVAFbJbLbBHqyErPYSqMuTq5ueV/oI7ybKTDleanBzPTpSjpwOVHLTimBPSDbheWQ4KFqisKNUE3BcRaNyTzoD5BpxV0/FrO6WiX1pAyysOrFhm7vb7wRW+Y= Original-Received: by 10.82.105.13 with SMTP id d13mr753404buc.1167263585730; Wed, 27 Dec 2006 15:53:05 -0800 (PST) Original-Received: by 10.82.147.2 with HTTP; Wed, 27 Dec 2006 15:53:05 -0800 (PST) Original-To: rms@gnu.org In-Reply-To: Content-Disposition: inline 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:64381 Archived-At: On 12/27/06, Richard Stallman wrote: > momentary-string-display is a kludge, which should be used as little > as possible. I couldn't agree more. > It is used very little, so it has little potential to do > any harm. Still, points 1) to 3) in my post would be fixed or circumvented just by adding (setq pos (point)) after (goto-char pos) and clarifying the docstring to note that, when passed a marker, only the position is used, not the buffer. > It would be clean to make momentary-string-display use overlays > and not change the buffer text at all. Would you like to try > writing that? I assume you're asking to Takaaki :) > But let's not delay the release for it. Sure. What is delaying the release, BTW? /L/e/k/t/u