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: Should overlays evaporate by default? Date: Wed, 18 May 2005 18:45:38 -0400 Message-ID: References: <200505161459.j4GExamZ005296@brains.moreideas.ca> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1116456625 24889 80.91.229.2 (18 May 2005 22:50:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 18 May 2005 22:50:25 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 19 00:50:23 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DYXLa-0003fX-Fq for ged-emacs-devel@m.gmane.org; Thu, 19 May 2005 00:49:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DYXO6-0002Vc-P6 for ged-emacs-devel@m.gmane.org; Wed, 18 May 2005 18:51:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DYXLA-0001U9-Dk for emacs-devel@gnu.org; Wed, 18 May 2005 18:48:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DYXL5-0001RB-7R for emacs-devel@gnu.org; Wed, 18 May 2005 18:48:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DYXL4-0001P1-8v for emacs-devel@gnu.org; Wed, 18 May 2005 18:48:30 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DYXQv-0003vm-DO for emacs-devel@gnu.org; Wed, 18 May 2005 18:54:33 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DYXII-0006JV-5z; Wed, 18 May 2005 18:45:38 -0400 Original-To: Thien-Thi Nguyen In-reply-to: (message from Thien-Thi Nguyen on 17 May 2005 20:15:56 -0400) 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:37301 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37301 below is an untested patch that sets the evaporate property for newly-made overlays. munge to taste, etc. This sets the property to t. That is not what we are looking for now. 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.