unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* find-file not pulling latest version.
@ 2002-06-11 22:23 Harvey J. Stein
  0 siblings, 0 replies; only message in thread
From: Harvey J. Stein @ 2002-06-11 22:23 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-06-11 22:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-11 22:23 find-file not pulling latest version Harvey J. Stein

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).