bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

find-file not pulling latest version.


From: Harvey J. Stein
Subject: find-file not pulling latest version.
Date: Tue, 11 Jun 2002 18:23:40 -0400

In GNU Emacs 19.34.3 (sparc-sun-solaris2.5.1, X toolkit) of Tue Sep 17 1996 on 
sun4000

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I visit the file ezoasyc.f, which happens to be version 1.99 from a
corresponding RCS file:

   /bbsrc/tools/tags/apputil$ ls -l ezoasyc.f*
   -r--r--r--   1 hjstein  general    80774 Jun 10 22:47 ezoasyc.f
   lrwxrwxrwx   1 op       general       26 May 23 20:52 ezoasyc.f,v -> 
/bbsrc/apputil/ezoasyc.f,v
   -rw-r--r--   1 op       general      473 May 23 20:52 ezoasyc.f.TAGS

The latest version in the ,v file is 1.100.

I want to get the latest version, so I do:

   (let ((file   (buffer-file-name)))
              (kill-buffer ())          ; Kill current buffer
              (delete-file file)
              (find-file file))

This results in version 1.99 being pulled out again!

This happens because (vc-workfile-version
"/bbsrc/tools/tags/apputil/ezoasyc.f") returns 1.99 even after the
file's buffer has been deleted and the file's been removed from said
directory.

The problem seems to be that the caching of values is broken.
Presumably certain things need to be flushed from cache when buffers
are deleted, and that isn't occurring.

This seems pretty fundamentally broken...


Recent input:
backspace d - f i l e SPC C-e ) return escape x b u 
g tab backspace backspace backspace e m a tab b tab 
C-h a b u g return C-x o C-s C-a C-v C-l escape x r 
e p o r t SPC e m a SPC b tab return ( backspace f 
i n d - f i l e SPC o n t backspace backspace backspace 
n o t SPC p u l l i n g SPC l a t e s t SPC v e r s 
i o n . return

Recent messages:
Note: file is write protected [2 times]
#<buffer ezoasyc.f>
Quit
Loading apropos...
Loading apropos...done
Type C-x 4 b RET to restore the other window.  M-C-v to scroll the help.
Loading emacsbug...
Loading emacsbug...done
Loading mailalias...
Loading mailalias...done



reply via email to

[Prev in Thread] Current Thread [Next in Thread]