[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Uninformative comment in files.el
From: |
Yoni Rabkin Katzenell |
Subject: |
Re: Uninformative comment in files.el |
Date: |
Wed, 12 Dec 2007 17:41:59 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> After reading that thread (which I neglected to do beforehand, sorry) I
>> still think that revert-buffer should remove all overlays and the mark.
>
> I disagree. Anything that's not a minor mode will suffer from similar
> problems and setting revert-buffer-function is not an option for them.
> Your change will cause problems for the other category of minor-mode
> like packages: those that need their overlays to survive a revert-buffer.
Maybe what confuses me is that it is called `revert-buffer' and not
something like `revert-to-file-contents'. I'd expect the former to
revert the buffer to a pristine state, but the latter to only change the
contents as they relate to the associated file.
I'll recapitulate what I wrote in a separate response: I'll wait until
it is clear what you guys want to do with `revert-buffer' (if anything),
then I'll see if I can help implement that. Currently I'm both unclear
as to the purpose of the function, and obviously ignorant of the
subtleties.
--
"Cut your own wood and it will warm you twice"
- Uninformative comment in files.el, Stefan Monnier, 2007/12/11
- Re: Uninformative comment in files.el, Vinicius Jose Latorre, 2007/12/11
- Re: Uninformative comment in files.el, martin rudalics, 2007/12/11
- Re: Uninformative comment in files.el, Vinicius Jose Latorre, 2007/12/12
- Re: Uninformative comment in files.el, Stefan Monnier, 2007/12/12
- Re: Uninformative comment in files.el,
Yoni Rabkin Katzenell <=
- Re: Uninformative comment in files.el, Richard Stallman, 2007/12/13
- Re: Uninformative comment in files.el, Stefan Monnier, 2007/12/13
- Re: Uninformative comment in files.el, martin rudalics, 2007/12/13
- Re: Uninformative comment in files.el, David Kastrup, 2007/12/13
- Re: Uninformative comment in files.el, Richard Stallman, 2007/12/15
- Re: Uninformative comment in files.el, Richard Stallman, 2007/12/15
- Re: Uninformative comment in files.el, Stephen J. Turnbull, 2007/12/16
- Re: Uninformative comment in files.el, Richard Stallman, 2007/12/17
- Message not available
- Message not available
- Re: Uninformative comment in files.el, Richard Stallman, 2007/12/14
- Re: Uninformative comment in files.el, Stefan Monnier, 2007/12/20