Re: tramp ($Id: tramp.el,v 2.0.2.1 2001/02/28 18:10:31 grossjoh Exp $); undo returns file to unsaved state with saved flag set
On 03 Jun 2001, Daniel Pittman wrote: Generally, using `verify-visited-file-modtime', as I understand. Since tramp does not implement this, I don't know what Emacs would do... Hm. H Hmm... I'm really confused. For it works fine if I enter a letter, it only fails with undo. Do you know any details on when does Emacs call verify-visited-file-modtime? I suppose if the Perl file-attributes implementation is used, Tramp could implement that operation, too. kai -- ~/.signature: No such file or directory
Re: tramp ($Id: tramp.el,v 2.0.2.1 2001/02/28 18:10:31 grossjoh Exp $); undo returns file to unsaved state with saved flag set
On Thu, 03 May 2001, [EMAIL PROTECTED] wrote: At times, I will save a file (point a), make a few changes, and then save the file again (point b). I'll then realize that the changes were a complete mistake and C-_ back to point a without saving (which I shall call point c). For some reason, when using tramp, I notice that the this file is changed from the saved version flag (the `**' on the status line) is not set for points a, b, or c. This is, of course correct for point a b, but not for c. Oh, boy. I have no idea how Emacs works when you do that. Hm. Hm. I can reproduce the behavior. But how does Emacs normally know that the file has changed? Hm. Does anybody know what is going on behind the scenes? kai -- ~/.signature: No such file or directory
Re: tramp ($Id: tramp.el,v 2.0.2.1 2001/02/28 18:10:31 grossjoh Exp $); undo returns file to unsaved state with saved flag set
On 03 Jun 2001, Kai Großjohann wrote: [...] Oh, boy. I have no idea how Emacs works when you do that. Hm. Hm. I can reproduce the behavior. But how does Emacs normally know that the file has changed? Hm. Does anybody know what is going on behind the scenes? Generally, using `verify-visited-file-modtime', as I understand. Since tramp does not implement this, I don't know what Emacs would do... You might start looking there, anyway. Daniel -- Standards of excellence are not chiseled in stone. They are constantly being redefined. It is important to recognize that what was graded excellent last year may not be so this year. That is why we must keep mastering new skills. -- Bob Biehl
Re: tramp ($Id: tramp.el,v 2.0.2.1 2001/02/28 18:10:31 grossjoh Exp $); undo returns file to unsaved state with saved flag set
On 03 Jun 2001, Kai Großjohann wrote: On 03 Jun 2001, Daniel Pittman wrote: Generally, using `verify-visited-file-modtime', as I understand. Since tramp does not implement this, I don't know what Emacs would do... Hm. H Hmm... I'm really confused. For it works fine if I enter a letter, it only fails with undo. I can't say for sure that it's related to the problem you describe, but it sounds suspiciously like it, from some of the things I noted with TRAMP2. Do you know any details on when does Emacs call verify-visited-file-modtime? I suppose if the Perl file-attributes implementation is used, Tramp could implement that operation, too. I don't know that much about the internals of Emacs, sorry. XEmacs certainly uses it every time it wants to find out if a file has changed behind it's back... Daniel -- ...Two and two are four. Sometimes, Winston. Sometimes they are five. Sometimes they are three. Sometimes they are all of them at once. You must try harder. It is not easy to become sane. -- George Orwell, _1984_