[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: <filename> changed on disk; really edit the buffer?
From: |
Richard Stallman |
Subject: |
Re: <filename> changed on disk; really edit the buffer? |
Date: |
Sun, 18 Nov 2007 08:00:58 -0500 |
We could, in auto_save_1, do something like
if (! NILP (Fstring_equal (current_buffer->filename,
current_buffer->auto_save_file_name)))
Fclear_visited_file_modtime;
if the Fwrite_region succeeds, but I'm not sure of any implications of
this. For example, current_buffer->save_length would not get set in
Fwrite_region.
It would be easy enough to do those parts of the actions of
Fclear_visited_file_modtime which are right, and not the rest.
Alternatively, we could try to simply save the buffer
which is the behavior described in the Elisp manual but this might be
more tricky.
Yes, it would be.
Indeed. Given the fact that apparently you are the first to report this
bug it seems that the option `auto-save-visited-file-name' is hardly
ever useful (at least nowadays).
It may not be very useful. This option is historical since the
original Emacs. I am sure some people used it in the 70s, but
maybe few people use it now.
The most attractive solution would be
to get rid of it.
Maybe we should do that, but before we do, we should ask the users
whether they mind. Maybe some people have good reasons to use it.
Stephen, what was your motive for using it?
- Re: <filename> changed on disk; really edit the buffer?, (continued)
- Message not available
- Re: <filename> changed on disk; really edit the buffer?, Stephan Lukits, 2007/11/08
- Re: <filename> changed on disk; really edit the buffer?, Eli Zaretskii, 2007/11/08
- Message not available
- Re: <filename> changed on disk; really edit the buffer?, Stephan Lukits, 2007/11/12
- Re: <filename> changed on disk; really edit the buffer?, Eli Zaretskii, 2007/11/12
- Message not available
- Re: <filename> changed on disk; really edit the buffer?, Stephan Lukits, 2007/11/13
- Re: <filename> changed on disk; really edit the buffer?, Jason Rumney, 2007/11/13
- Re: <filename> changed on disk; really edit the buffer?, Lennart Borgman (gmail), 2007/11/13
- Re: <filename> changed on disk; really edit the buffer?, martin rudalics, 2007/11/13
- Message not available
- Re: <filename> changed on disk; really edit the buffer?, Stephan Lukits, 2007/11/13
- Re: <filename> changed on disk; really edit the buffer?, martin rudalics, 2007/11/13
- Re: <filename> changed on disk; really edit the buffer?,
Richard Stallman <=
- Re: <filename> changed on disk; really edit the buffer?, Jonathan Goldblatt, 2007/11/19
- Message not available
- Re: <filename> changed on disk; really edit the buffer?, jonathangoldblatt, 2007/11/19
- Message not available
- Re: <filename> changed on disk; really edit the buffer?, Stephan Lukits, 2007/11/20
- Re: <filename> changed on disk; really edit the buffer?, Richard Stallman, 2007/11/21
- Message not available
- Re: <filename> changed on disk; really edit the buffer?, Hallvard B Furuseth, 2007/11/21
- Message not available
- Message not available
- Re: <filename> changed on disk; really edit the buffer?, mdaily2002, 2007/11/19
- Re: <filename> changed on disk; really edit the buffer?, mdaily2002, 2007/11/19
- Re: <filename> changed on disk; really edit the buffer?, martin rudalics, 2007/11/19
- Message not available
- Re: <filename> changed on disk; really edit the buffer?, Stephan Lukits, 2007/11/08
- Re: <filename> changed on disk; really edit the buffer?, martin rudalics, 2007/11/08