From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: Problem with revert-buffer and overlays [was: Two minor problems with CUA rectangles] Date: Sat, 26 Nov 2005 22:28:29 -0500 Message-ID: References: <43871059.9090705@gmx.at> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1133062163 23805 80.91.229.2 (27 Nov 2005 03:29:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 27 Nov 2005 03:29:23 +0000 (UTC) Cc: rudalics@gmx.at, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 27 04:29:15 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EgDDq-00047V-UL for ged-emacs-devel@m.gmane.org; Sun, 27 Nov 2005 04:29:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EgDDq-0004oX-7n for ged-emacs-devel@m.gmane.org; Sat, 26 Nov 2005 22:29:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EgDDL-0004Zv-3i for emacs-devel@gnu.org; Sat, 26 Nov 2005 22:28:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EgDDK-0004ZX-E6 for emacs-devel@gnu.org; Sat, 26 Nov 2005 22:28:30 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EgDDK-0004ZS-7p for emacs-devel@gnu.org; Sat, 26 Nov 2005 22:28:30 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EgDDK-0003gp-9Y for emacs-devel@gnu.org; Sat, 26 Nov 2005 22:28:30 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1EgDDJ-0004Xu-B0; Sat, 26 Nov 2005 22:28:29 -0500 Original-To: storm@cua.dk (Kim F. Storm) In-reply-to: (storm@cua.dk) 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:46640 Archived-At: This seems to be a generic problem with revert-buffer, as other modes may also have overlays in the buffer which should be removed by revert-buffer. It seems like it should unconditionally delete all overlays in that buffer. This seems plausible to me. In general, one must expect those overlays to be relocated to garbage, so preserving them cannot work reliably. Would you like to do that?