[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Popup when buffer file is changed on disk
From: |
Eli Zaretskii |
Subject: |
Re: Popup when buffer file is changed on disk |
Date: |
Sun, 06 Feb 2005 11:53:26 +0200 |
> From: "Lennart Borgman" <address@hidden>
> Cc: <address@hidden>, <address@hidden>
> Date: Sun, 6 Feb 2005 10:02:20 +0100
>
> > When Emacs warns you that the file was changed, what would you do in
> > response? I thought that you would revert the buffer, so auto-revert
> > seemed like a good solution.
>
> auto-revert-mode does what it does later, not at the moment Emacs gets
> focus.
??? auto-revert-mode periodically checks all buffers that are visiting
a file. The frequency of these checks is determined by the variable
auto-revert-interval, by default every 5 seconds.
Perhaps you need to set auto-revert-stop-on-user-input to nil and
maybe also play with auto-revert-interval's value, to get almost
instanteneous automatic reverts whenever a file changes.
> I believe that at the moment when Emacs gets focus it should for all
> files that are visited in buffers and changed outside of Emacs should ask:
>
> "File AA.C has changed on disk. Do you want to reload it?"
Perhaps a feature can be added to autorevert.el, whereby it checks the
buffers when a focus event arrives. All the rest is already there, I
believe.
- Re: find-file-hook as illustration of Custom problems, (continued)
- Re: find-file-hook as illustration of Custom problems, Richard Stallman, 2005/02/05
- Re: find-file-hook as illustration of Custom problems, Lennart Borgman, 2005/02/05
- Popup when buffer file is changed on disk, moheb missaghi, 2005/02/05
- Re: Popup when buffer file is changed on disk, Eli Zaretskii, 2005/02/05
- Re: Popup when buffer file is changed on disk, Lennart Borgman, 2005/02/05
- Re: Popup when buffer file is changed on disk, Eli Zaretskii, 2005/02/06
- Re: Popup when buffer file is changed on disk, Lennart Borgman, 2005/02/06
- Re: Popup when buffer file is changed on disk,
Eli Zaretskii <=
- Re: Popup when buffer file is changed on disk, Lennart Borgman, 2005/02/06
- Re: Popup when buffer file is changed on disk, Luc Teirlinck, 2005/02/06
- Re: Popup when buffer file is changed on disk, Lennart Borgman, 2005/02/06
- Re: Popup when buffer file is changed on disk, Luc Teirlinck, 2005/02/06
- Re: Popup when buffer file is changed on disk, Luc Teirlinck, 2005/02/10
- Re: Popup when buffer file is changed on disk, Eli Zaretskii, 2005/02/11
- Re: Popup when buffer file is changed on disk, David Kastrup, 2005/02/11
- Re: Popup when buffer file is changed on disk, Luc Teirlinck, 2005/02/11
- Re: Popup when buffer file is changed on disk, Eli Zaretskii, 2005/02/12
- Re: Popup when buffer file is changed on disk, Richard Stallman, 2005/02/12