From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Uninformative comment in files.el Date: Thu, 13 Dec 2007 20:01:39 +0100 Message-ID: <47618193.9030909@gmx.at> References: <475EF93E.3060203@ig.com.br> <475F0992.2030307@gmx.at> <475F45EB.2070704@ig.com.br> <87mysg1l17.fsf@actcom.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1197572768 11823 80.91.229.12 (13 Dec 2007 19:06:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Dec 2007 19:06:08 +0000 (UTC) Cc: yoni-r@actcom.com, rms@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 13 20:06:18 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 1J2tMo-0005A1-Rm for ged-emacs-devel@m.gmane.org; Thu, 13 Dec 2007 20:05:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J2tMW-0000iK-BC for ged-emacs-devel@m.gmane.org; Thu, 13 Dec 2007 14:04:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J2tMS-0000gq-Uk for emacs-devel@gnu.org; Thu, 13 Dec 2007 14:04:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J2tMQ-0000cL-AL for emacs-devel@gnu.org; Thu, 13 Dec 2007 14:04:44 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J2tMQ-0000c9-7g for emacs-devel@gnu.org; Thu, 13 Dec 2007 14:04:42 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1J2tMP-0001ui-OK for emacs-devel@gnu.org; Thu, 13 Dec 2007 14:04:42 -0500 Original-Received: (qmail invoked by alias); 13 Dec 2007 19:04:39 -0000 Original-Received: from N919P019.adsl.highway.telekom.at (EHLO [62.47.58.211]) [62.47.58.211] by mail.gmx.net (mp036) with SMTP; 13 Dec 2007 20:04:39 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19MnwhCEmhM13B0QIM7M30pq+VPPkslK0w82XaegP FFWwC/M2NeZYOH User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:85136 Archived-At: >>I don't think that's true. Any package that depends on overlays to >>correctly survive reverting won't work anyway. Reverting the buffer >>will move the overlay bounds out, at least to cover all the changed >>text in the file. That would break them. > > > Maybe it would. Or maybe the package knows how to deal with that (it > wants the overlay to cover the whole buffer, for instance, and sets the > marker's advance-after property appropriately) or it just needs to keep > the overlay-buffer info to know in which buffer is the overlay. We could introduce another overlay property, `keep-when-revert-buffer' if removing overlays shall be the default, `remove-when-revert-buffer' otherwise.