emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Uninformative comment in files.el


From: Stefan Monnier
Subject: Re: Uninformative comment in files.el
Date: Thu, 13 Dec 2007 12:00:43 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

>     Your change will cause problems for the other category of minor-mode
>     like packages: those that need their overlays to survive a revert-buffer.

> 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.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]