From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Whaite Newsgroups: gmane.emacs.devel Subject: Re: Should overlays evaporate by default? Date: Fri, 20 May 2005 15:15:26 -0400 Message-ID: <200505201915.j4KJFQa8007354@brains.moreideas.ca> References: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1116616631 9225 80.91.229.2 (20 May 2005 19:17:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 May 2005 19:17:11 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 20 21:17:07 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DZCxw-0001j3-U6 for ged-emacs-devel@m.gmane.org; Fri, 20 May 2005 21:15:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DZD0q-0001Db-As for ged-emacs-devel@m.gmane.org; Fri, 20 May 2005 15:18:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DZD0e-0001CB-BW for emacs-devel@gnu.org; Fri, 20 May 2005 15:18:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DZD0c-0001Am-3H for emacs-devel@gnu.org; Fri, 20 May 2005 15:18:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DZD0b-0001AF-NN for emacs-devel@gnu.org; Fri, 20 May 2005 15:18:09 -0400 Original-Received: from [209.5.194.99] (helo=berlinr.sprint.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DZD6Y-0008QF-R4; Fri, 20 May 2005 15:24:19 -0400 Original-Received: from brains.moreideas.ca ([149.99.164.39]) by berlinr.sprint.ca (InterMail vM.5.01.02.00 201-253-122-103-101-20001108) with ESMTP id <20050520191527.BCZH5998.berlinr.sprint.ca@brains.moreideas.ca>; Fri, 20 May 2005 15:15:27 -0400 Original-Received: from brains.moreideas.ca (localhost.localdomain [127.0.0.1]) by brains.moreideas.ca (8.12.8/8.12.8) with ESMTP id j4KJFQSd007358; Fri, 20 May 2005 15:15:26 -0400 Original-Received: from brains.moreideas.ca (peta@localhost) by brains.moreideas.ca (8.12.8/8.12.8/Submit) with ESMTP id j4KJFQa8007354; Fri, 20 May 2005 15:15:26 -0400 Original-To: Thien-Thi Nguyen In-Reply-To: Message from Thien-Thi Nguyen of "19 May 2005 04:24:39 EDT." X-Mailer: MH-E 7.83+cvs; nmh 1.0.4; GNU Emacs 22.0.50.60 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:37406 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37406 Thien-Thi Nguyen wrote: > Richard Stallman writes: > > > The goal now is to *find* possible bugs. > > The patch should set the property to something unusual (maybe > > `never-set') by default. When such an overlay becomes empty, there > > should be some sort of warning. That way, people will find code > > that perhaps ought to set the evaporate property to something > > explicitly. > > ok, below is a patch to buffer.c that does this, more or less. the > (%d,%d) is perhaps redundant, but since we're in the checking mood... Thanks that looks great. Its a long weekend here, so I'll try it next week. -- Peter Whaite