GNU bug report logs - #5314
23.1; Inconsistent treatment of auto-save files

Previous Next

Package: emacs;

Reported by: Uday S Reddy <u.s.reddy <at> cs.bham.ac.uk>

Date: Tue, 5 Jan 2010 14:09:09 UTC

Severity: normal

Tags: fixed

Fixed in version 26.1

Done: Andrew Hyatt <ahyatt <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5314 in the body.
You can then email your comments to 5314 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5314; Package emacs. (Tue, 05 Jan 2010 14:09:09 GMT) Full text and rfc822 format available.

Acknowledgement sent to Uday S Reddy <u.s.reddy <at> cs.bham.ac.uk>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 05 Jan 2010 14:09:09 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Uday S Reddy <u.s.reddy <at> cs.bham.ac.uk>
To: bug-gnu-emacs <at> gnu.org
Cc: U.S.Reddy <at> cs.bham.ac.uk
Subject: 23.1; Inconsistent treatment of auto-save files
Date: Mon, 04 Jan 2010 15:47:00 +0000
Hi, I am a maintainer of VM.  In trying to figure out some problems to
do with auto-save files of VM mail buffers, I discovered that the
current Emacs treatment of auto-save files is inconsistent.  Functions
involved are kill-buffer, delete-auto-save-file-if-necessary and
recent-auto-save-p.

1. If there is an old auto-save file, and you visit the file, make
some changes and kill the buffer without saving, then the old
auto-save file is silently deleted.  This seems bad, because the very
reason for killing the buffer without saving might be to compare it
with the auto-save file.  

I think the old auto-save files should always be preserved unless the
user does a recover-file.

Then there is the question of what kill-buffer should do if there is a
"recent" auto-save file (as determined by recent-auto-save-p).  It
would make sense to delete it.

2. The inline documentation for delete-auto-save-file-if-necessary
says "Normally delete only if the file was written by this Emacs since
the last real save".  This gives one the impression that Emacs is
keeping track of when the last real save was done, but in reality it
only seems to be checking the buffer-modified-p status.  If so, a more
accurate way to word the doc string might be

"Normally delete only if the file was written by this Emacs and the
buffer has been modified since the last real save."

If the buffer-modified-p is nil, then even recent auto-save files seem
to be left lying around.  This is the opposite problem of that in
point 1.

3. The inline documentation for recent-auto-save-p needs to be
modified along the same lines as point 2.

4. The Elisp manual descriptions for
delete-auto-save-file-if-necessary and 
recent-auto-save-p need to be similarly modified.

5. It would be useful to mention these issues in the documentation of
kill-buffer as well.  

Cheers,
Uday Reddy


In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
 of 2009-07-30 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4)'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  savehist-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
SPC <return> C-s b u g C-s C-a m <return> <help-echo> 
<down-mouse-2> <mouse-2> q C-h i u <up> <up> m <return> 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n m n e w SPC 
SPC SPC SPC SPC 3 SPC <return> <help-echo> <help-echo> 
<help-echo> <down-mouse-1> <mouse-1> <wheel-up> <wheel-down> 
<wheel-up> l m l a t SPC SPC <return> u u u m e m SPC 
<return> SPC m b u g SPC SPC <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> g s <return> m 
u n d e r s t SPC SPC SPC <return> SPC <backspace> 
p SPC <backspace> SPC n SPC n SPC SPC SPC SPC SPC SPC 
SPC SPC SPC SPC SPC SPC SPC <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> M-x r e p o r t - e m a c s - b u SPC <return> 
I n c o s <backspace> n s i s t e n t SPC t r e a t 
m e n t SPC o f SPC a u t o SPC s a v e SPC f i l e 
s <return> <f1> C-v C-v C-v C-x , C-n C-n C-n C-n C-p 
C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f 
C-f <return> C-p C-p C-p C-f C-f C-f C-f C-f C-b C-k 
u d r C-a C-c C-c y C-n C-n C-k C-k C-c C-c y SPC SPC 
SPC f SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC 
SPC M-x v m <return> C-g C-x b * M e SPC <return> <f1> 
C-x . <help-echo> M-x r e p o r t = e m a <backspace> 
<backspace> <backspace> <backspace> - e m SPC SPC 
<return>

Recent messages:
Generating summary... 2120
Generating summary markers... 
Generating summary... done
Decoding MIME message...
Decoding quoted-printable... done
Decoding MIME message... done
2138 messages, 0 new, 605 unread, 0 deleted
Checking for new mail for d:/Home/udr/mail/imap-cache-d0e95a10f3bde2de73bdc69e586ec456...
Quit [2 times]
Mark set





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5314; Package emacs. (Tue, 05 Jan 2010 19:29:02 GMT) Full text and rfc822 format available.

Message #8 received at 5314 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Uday S Reddy <u.s.reddy <at> cs.bham.ac.uk>
Cc: 5314 <at> debbugs.gnu.org
Subject: Re: bug#5314: 23.1; Inconsistent treatment of auto-save files
Date: Tue, 05 Jan 2010 14:28:10 -0500
> Hi, I am a maintainer of VM.

[ Always glad to see people from my field participate in Emacs
development. ]

> 1. If there is an old auto-save file, and you visit the file, make
> some changes and kill the buffer without saving, then the old
> auto-save file is silently deleted.

That's bad!
But I cannot reproduce it here:

   % emacs23 -Q ~/tmp/foo.test
   [type...type...type...]
   % l ~/tmp/\#foo.test\#
   -rw-r--r-- 1 monnier monnier 259 jan  5 14:06 /home/monnier/tmp/#foo.test#
   [kill Emacs]
   % emacs23 -Q ~/tmp/foo.test
   [type a little something to modify the buffer]
   C-x k RET
   % l ~/tmp/\#foo.test\#
   -rw-r--r-- 1 monnier monnier 259 jan  5 14:06 /home/monnier/tmp/#foo.test#

Could you try and provide a more precise recipe?

Or maybe the old auto-save file was overwritten by a new auto-save file
before you killed the buffer?  It does sound like a likely reason.
And indeed it's a problem, tho I'm not sure how to best fix it:
- We could try and rename the old auto-save file before saving the new one
  and let recover-file choose among the various possible auto-save files.
- Maybe make it harder for the user to start modifying the buffer when
  there's an old auto-save file (e.g. make the buffer read-only and
  warn/prompt when the user tries to C-x C-q).
- Prompt just before saving the new auto-save file so the user
  gets a chance to prevent the old auto-save from being overwritten.
- Disable auto-saving when there's an old auto-save file (together with
  an appropriate warning, in the same way as we disable auto-saving when
  the file/buffer got much smaller).

> 2. The inline documentation for delete-auto-save-file-if-necessary
> says "Normally delete only if the file was written by this Emacs since
> the last real save".  This gives one the impression that Emacs is
> keeping track of when the last real save was done, but in reality it
> only seems to be checking the buffer-modified-p status.  If so, a more
> accurate way to word the doc string might be

If the behavior doesn't match the docstring, I think the problem would
be in the code rather than in the doc.  AFAICT the code doesn't just
check buffer-modified-p but really checks whether the current buffer has
been auto-saved.

> If the buffer-modified-p is nil, then even recent auto-save files seem
> to be left lying around.  This is the opposite problem of that in
> point 1.

I cannot reproduce this either.  Do you have a recipe?

> 4. The Elisp manual descriptions for
> delete-auto-save-file-if-necessary and
> recent-auto-save-p need to be similarly modified.

Just to be sure: do you want to change the doc because you don't like
the behavior it describes, or because it doesn't match the behavior
you see?

We clearly would rather fix the code to match the doc if the doc
describes the behavior we want.


        Stefan




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5314; Package emacs. (Tue, 05 Jan 2010 19:53:06 GMT) Full text and rfc822 format available.

Message #11 received at 5314 <at> debbugs.gnu.org (full text, mbox):

From: Uday S Reddy <u.s.reddy <at> cs.bham.ac.uk>
To: 5314 <at> debbugs.gnu.org
Subject: Re: bug#5314: Acknowledgement (23.1; Inconsistent treatment of
	auto-save files)
Date: Tue, 5 Jan 2010 14:29:30 +0000
I did some more testing of the functions after my initial report.  The
situation seems a lot more complex than I had imagined.

With an old auto-save file on the disk, the following sequence done on
a buffer seems to always return nil:

  (progn (insert "x") (recent-auto-save-p))

Killing the buffer in this case does not affect the old auto-save
file.

The following sequence seems to always return t

  (progn (set-buffer-modified-p t) (recent-auto-save-p))

Killing the buffer in this case deletes the old auto-save file.

So, it appears that recent-auto-save-p and kill-buffer are consistent
with each other.  But their behaviour is paradoxical with regard to
set-buffer-modified-p.

Cheers,
Uday

-------

Uday S Reddy writes:

> Hi, I am a maintainer of VM.  In trying to figure out some problems to
> do with auto-save files of VM mail buffers, I discovered that the
> current Emacs treatment of auto-save files is inconsistent.  Functions
> involved are kill-buffer, delete-auto-save-file-if-necessary and
> recent-auto-save-p.
> 
> 1. If there is an old auto-save file, and you visit the file, make
> some changes and kill the buffer without saving, then the old
> auto-save file is silently deleted.  This seems bad, because the very
> reason for killing the buffer without saving might be to compare it
> with the auto-save file.  
> 
> I think the old auto-save files should always be preserved unless the
> user does a recover-file.
> 
> Then there is the question of what kill-buffer should do if there is a
> "recent" auto-save file (as determined by recent-auto-save-p).  It
> would make sense to delete it.
> 
> 2. The inline documentation for delete-auto-save-file-if-necessary
> says "Normally delete only if the file was written by this Emacs since
> the last real save".  This gives one the impression that Emacs is
> keeping track of when the last real save was done, but in reality it
> only seems to be checking the buffer-modified-p status.  If so, a more
> accurate way to word the doc string might be
> 
> "Normally delete only if the file was written by this Emacs and the
> buffer has been modified since the last real save."
> 
> If the buffer-modified-p is nil, then even recent auto-save files seem
> to be left lying around.  This is the opposite problem of that in
> point 1.
> 
> 3. The inline documentation for recent-auto-save-p needs to be
> modified along the same lines as point 2.
> 
> 4. The Elisp manual descriptions for
> delete-auto-save-file-if-necessary and 
> recent-auto-save-p need to be similarly modified.
> 
> 5. It would be useful to mention these issues in the documentation of
> kill-buffer as well.  
> 
> Cheers,
> Uday Reddy
> 
> 
> In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
>  of 2009-07-30 on SOFT-MJASON
> Windowing system distributor `Microsoft Corp.', version 5.1.2600
> configured using `configure --with-gcc (4.4)'
> 
> Important settings:
>   value of $LC_ALL: nil
>   value of $LC_COLLATE: nil
>   value of $LC_CTYPE: nil
>   value of $LC_MESSAGES: nil
>   value of $LC_MONETARY: nil
>   value of $LC_NUMERIC: nil
>   value of $LC_TIME: nil
>   value of $LANG: ENU
>   value of $XMODIFIERS: nil
>   locale-coding-system: cp1252
>   default-enable-multibyte-characters: t
> 
> Major mode: Fundamental
> 
> Minor modes in effect:
>   savehist-mode: t
>   tooltip-mode: t
>   mouse-wheel-mode: t
>   menu-bar-mode: t
>   file-name-shadow-mode: t
>   global-font-lock-mode: t
>   font-lock-mode: t
>   blink-cursor-mode: t
>   global-auto-composition-mode: t
>   auto-composition-mode: t
>   auto-encryption-mode: t
>   line-number-mode: t
>   transient-mark-mode: t
> 
> Recent input:
> SPC <return> C-s b u g C-s C-a m <return> <help-echo> 
> <down-mouse-2> <mouse-2> q C-h i u <up> <up> m <return> 
> C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n m n e w SPC 
> SPC SPC SPC SPC 3 SPC <return> <help-echo> <help-echo> 
> <help-echo> <down-mouse-1> <mouse-1> <wheel-up> <wheel-down> 
> <wheel-up> l m l a t SPC SPC <return> u u u m e m SPC 
> <return> SPC m b u g SPC SPC <backspace> <backspace> 
> <backspace> <backspace> <backspace> <backspace> <backspace> 
> <backspace> <backspace> <backspace> g s <return> m 
> u n d e r s t SPC SPC SPC <return> SPC <backspace> 
> p SPC <backspace> SPC n SPC n SPC SPC SPC SPC SPC SPC 
> SPC SPC SPC SPC SPC SPC SPC <backspace> <backspace> 
> <backspace> <backspace> <backspace> <backspace> <backspace> 
> <backspace> <backspace> <backspace> <backspace> <backspace> 
> <backspace> M-x r e p o r t - e m a c s - b u SPC <return> 
> I n c o s <backspace> n s i s t e n t SPC t r e a t 
> m e n t SPC o f SPC a u t o SPC s a v e SPC f i l e 
> s <return> <f1> C-v C-v C-v C-x , C-n C-n C-n C-n C-p 
> C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f 
> C-f <return> C-p C-p C-p C-f C-f C-f C-f C-f C-b C-k 
> u d r C-a C-c C-c y C-n C-n C-k C-k C-c C-c y SPC SPC 
> SPC f SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC 
> SPC M-x v m <return> C-g C-x b * M e SPC <return> <f1> 
> C-x . <help-echo> M-x r e p o r t = e m a <backspace> 
> <backspace> <backspace> <backspace> - e m SPC SPC 
> <return>
> 
> Recent messages:
> Generating summary... 2120
> Generating summary markers... 
> Generating summary... done
> Decoding MIME message...
> Decoding quoted-printable... done
> Decoding MIME message... done
> 2138 messages, 0 new, 605 unread, 0 deleted
> Checking for new mail for d:/Home/udr/mail/imap-cache-d0e95a10f3bde2de73bdc69e586ec456...
> Quit [2 times]
> Mark set
> 






Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5314; Package emacs. (Wed, 06 Jan 2010 02:15:02 GMT) Full text and rfc822 format available.

Message #14 received at 5314 <at> debbugs.gnu.org (full text, mbox):

From: Uday S Reddy <u.s.reddy <at> cs.bham.ac.uk>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Uday S Reddy <u.s.reddy <at> cs.bham.ac.uk>, 5314 <at> debbugs.gnu.org
Subject: Re: bug#5314: 23.1; Inconsistent treatment of auto-save files
Date: Wed, 6 Jan 2010 02:14:37 +0000
Stefan Monnier writes:

> [ Always glad to see people from my field participate in Emacs
> development. ]

Same here!  I didn't realize it was you.  Nice to know!

> Could you try and provide a more precise recipe?

I sent a follow-up today with more specific info, but perhaps it
didn't reach you.  Here it is again:

-----
With an old auto-save file on the disk, the following sequence done on
a buffer seems to always return nil:

  (progn (insert "x") (recent-auto-save-p))

Killing the buffer in this case does not affect the old auto-save
file.

The following sequence seems to always return t

  (progn (set-buffer-modified-p t) (recent-auto-save-p))

Killing the buffer in this case deletes the old auto-save file.

So, it appears that recent-auto-save-p and kill-buffer are consistent
with each other.  But their behaviour is paradoxical with regard to
set-buffer-modified-p.
----

VM, being a mail client, doesn't allow typing into buffers.
(set-buffer-modified-p t) is the main way of recording that changes
have been made.

VM's quit routine had the following series of operations:

      (set-buffer-modified-p nil)
      (delete-auto-save-file-if-necessary)
      (kill-buffer (current-buffer)))

This might have worked in some old version of Emacs.  But, at present,
the delete-..-if-necessary doesn't do anything because the buffer has
been set to be unmodified.  (This is reasonable behaviour for the
delete-..-if-necessary function, but it doesn't follow from the
documented description of it.)

I tried switching the order of the first two operations.  Then I
discovered that non-recent auto-save files were getting deleted as
well. 

If Emacs knows enough to keep track of which auto-save files were
written by "this Emacs" (as indicated in the documentation of
delete-...-if-necessary), then I think it should always delete those
auto-save files and nothing else.  In that case, both the orders of
the VM's quit routine would work fine.  At the moment, neither one
does!

> Or maybe the old auto-save file was overwritten by a new auto-save file
> before you killed the buffer?  It does sound like a likely reason.
> And indeed it's a problem, tho I'm not sure how to best fix it:
> - We could try and rename the old auto-save file before saving the new one
>   and let recover-file choose among the various possible auto-save files.
> - Maybe make it harder for the user to start modifying the buffer when
>   there's an old auto-save file (e.g. make the buffer read-only and
>   warn/prompt when the user tries to C-x C-q).
> - Prompt just before saving the new auto-save file so the user
>   gets a chance to prevent the old auto-save from being overwritten.
> - Disable auto-saving when there's an old auto-save file (together with
>   an appropriate warning, in the same way as we disable auto-saving when
>   the file/buffer got much smaller).

VM uses the second solution.  For Emacs, the last solution would be
the best.  In fact, I always assumed that Emacs was using the last
solution. 

> > If the buffer-modified-p is nil, then even recent auto-save files seem
> > to be left lying around.  This is the opposite problem of that in
> > point 1.
> 
> I cannot reproduce this either.  Do you have a recipe?

Visit a file, type some stuff, run do-auto-save, eval
(set-buffer-modified-p nil) and then kill the buffer.  The auto-save
file would still be there.

> > 4. The Elisp manual descriptions for
> > delete-auto-save-file-if-necessary and
> > recent-auto-save-p need to be similarly modified.
> 
> Just to be sure: do you want to change the doc because you don't like
> the behavior it describes, or because it doesn't match the behavior
> you see?
> 
> We clearly would rather fix the code to match the doc if the doc
> describes the behavior we want.

If you can change the code to match the doc, that would be perfect.
That would mean that the "this Emacs" idea has to be taken seriously.
No guess work.  If two concurrent Emacs sessions are editing the same
file and end up over-writing each other's auto-save files, then each
Emacs session should only delete the version of the auto-save file it
created!  It is a bit ambitious, but doable.

Cheers,
Uday







Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5314; Package emacs. (Wed, 06 Jan 2010 06:31:01 GMT) Full text and rfc822 format available.

Message #17 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kevin Rodgers <kevin.d.rodgers <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#5314: Acknowledgement (23.1;   Inconsistent treatment of
	auto-save files)
Date: Tue, 05 Jan 2010 23:29:30 -0700
Uday S Reddy wrote:
> I did some more testing of the functions after my initial report.  The
> situation seems a lot more complex than I had imagined.
> 
> With an old auto-save file on the disk, the following sequence done on
> a buffer seems to always return nil:
> 
>   (progn (insert "x") (recent-auto-save-p))

That could be explained by the dependencies on auto-save-interval and
auto-save-timeout.  There is no guarantee that Emacs will auto-save
after the insert, regardless whether an old auto-save file exists.

> Killing the buffer in this case does not affect the old auto-save
> file.
> 
> The following sequence seems to always return t
> 
>   (progn (set-buffer-modified-p t) (recent-auto-save-p))

Hmmm, that should also depend on auto-save-interval and auto-save-timeout.

> Killing the buffer in this case deletes the old auto-save file.
> 
> So, it appears that recent-auto-save-p and kill-buffer are consistent
> with each other.  But their behaviour is paradoxical with regard to
> set-buffer-modified-p.

-- 
Kevin Rodgers
Denver, Colorado, USA






Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5314; Package emacs. (Wed, 06 Jan 2010 16:09:02 GMT) Full text and rfc822 format available.

Message #20 received at 5314 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Uday S Reddy <u.s.reddy <at> cs.bham.ac.uk>
Cc: 5314 <at> debbugs.gnu.org
Subject: Re: bug#5314: Acknowledgement (23.1;
	Inconsistent treatment of auto-save files)
Date: Wed, 06 Jan 2010 11:08:43 -0500
> The following sequence seems to always return t
>   (progn (set-buffer-modified-p t) (recent-auto-save-p))

Yes, that's a problem.  Thanks for tracking it down.  I'm looking at the
corresponding code and see from where the problem comes.

I should have a patch for it shortly.  It's kind of a delicate issue
because both the buffer-modified-p data as well as the
recent-auto-save-p data are kept implicitly, basically by checking
timestamps corresponding to the last (auto)save.  That means that
set-buffer-modified-p has to fiddle with those timestamps and lie about
"when" the save took place.  And since there are several such timestamps
involved, a lie at one place can result in odd behaviors elsewhere, as
you're seeing.

> VM's quit routine had the following series of operations:

>       (set-buffer-modified-p nil)
>       (delete-auto-save-file-if-necessary)
>       (kill-buffer (current-buffer)))

> This might have worked in some old version of Emacs.  But, at present,
> the delete-..-if-necessary doesn't do anything because the buffer has
> been set to be unmodified.  (This is reasonable behaviour for the
> delete-..-if-necessary function, but it doesn't follow from the
> documented description of it.)

Indeed delete-auto-save-file-if-necessary claims that it only deletes it
"if the file was written by this Emacs since the last real save", but in
reality (set-buffer-modified-p nil) is mistaken for a "real save"
(because it internally works by setting the "last save timestamp").

A real good fix to make it work reliably and obey the doc may take time.


        Stefan




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5314; Package emacs. (Wed, 06 Jan 2010 16:34:02 GMT) Full text and rfc822 format available.

Message #23 received at 5314 <at> debbugs.gnu.org (full text, mbox):

From: Uday S Reddy <u.s.reddy <at> cs.bham.ac.uk>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Uday S Reddy <u.s.reddy <at> cs.bham.ac.uk>, 5314 <at> debbugs.gnu.org
Subject: Re: bug#5314: Acknowledgement (23.1;
	Inconsistent treatment of auto-save files)
Date: Wed, 6 Jan 2010 16:33:01 +0000
Thanks, Stefan.  I will make a note to revise the VM code after the
fixes are released.

Best regards,
Uday




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#5314; Package emacs. (Sun, 17 Jul 2016 04:30:02 GMT) Full text and rfc822 format available.

Message #26 received at 5314 <at> debbugs.gnu.org (full text, mbox):

From: Andrew Hyatt <ahyatt <at> gmail.com>
To: Uday S Reddy <u.s.reddy <at> cs.bham.ac.uk>
Cc: 5314 <at> debbugs.gnu.org
Subject: Re: bug#5314: Acknowledgement (23.1;
 Inconsistent treatment of auto-save files)
Date: Sun, 17 Jul 2016 00:29:29 -0400
Uday S Reddy <u.s.reddy <at> cs.bham.ac.uk> writes:

> Thanks, Stefan.  I will make a note to revise the VM code after the
> fixes are released.
>
> Best regards,
> Uday

Coming back to this after several years, I see that probably Stefan
checked in a fix as he said, since now (set-buffer-modified t) will not
change the value of (recent-auto-save-p).

This seems like it would fix the issues reported.  Let me know if I'm
mistaken, otherwise I'll close this as fixed in a few weeks.




Added tag(s) fixed. Request was from Andrew Hyatt <ahyatt <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 04 Aug 2016 01:35:01 GMT) Full text and rfc822 format available.

bug marked as fixed in version 25.2, send any further explanations to 5314 <at> debbugs.gnu.org and Uday S Reddy <u.s.reddy <at> cs.bham.ac.uk> Request was from Andrew Hyatt <ahyatt <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 14 Aug 2016 04:20:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 11 Sep 2016 11:24:04 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:02 GMT) Full text and rfc822 format available.

bug Marked as fixed in versions 26.1. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:02 GMT) Full text and rfc822 format available.

bug No longer marked as fixed in versions 25.2. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 01 Jan 2017 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 172 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.