jed-users mailing list

[2005 Date Index] [2005 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: unset the "changed on disk" flag


John E. Davis wrote:
If a file changed on disc, I sometimes want to load it with

 erase_buffer(whatbuf());
 () = insert_file(file);


The next release will permit you do accomplish this by manipulating
the buffer-flags via the setbuf_info function.


Can you also add the reload option for the changed buffer?
Something like

"File changed on disk. Do you really want to edit this buffer? (y/n/Reload)"

This would of course only work for the buffers that were not modified in JED.
(For the buffers that were modified, there could be an option "Show differences"
instead)

Marko


--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2005 date index] [2005 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]