tramp-devel
[Top][All Lists]
Advanced

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

Re: Always "file changed on disk..."


From: Peter Woo
Subject: Re: Always "file changed on disk..."
Date: Sun, 27 Mar 2005 03:29:48 +0800
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

The first posting seems truncated after loop-back from the maillist. 
Have removed the byte-code part and hope that it is complete this time.
Cheers,
P.

Peter Woo wrote:

>Debug dump below...
>Cheers,
>P.
>
>Michael Albinus wrote:
>
>  
>
>>Peter Woo <address@hidden> writes:
>>
>> 
>>
>>    
>>
>>>Under cygwin emacs on my PC, when connected to a NT ftp server (method
>>>ftp), after 1st save of an edited file, subsequent saves (within a few
>>>minutes interval) will alway make emacs returns the msg:
>>>
>>>"foo.txt changed on disk; really edit the buffer?"
>>>   
>>>
>>>      
>>>
>>One should know where this message comes from. Maybe you can do the
>>following:
>>
>>M-: (setq debug-on-quit t)
>>
>>When that message pops up the next time, you enter "C-g". This will
>>result in a backtrace, which you could analyze (or send to the mailing
>>list).
>>
>> 
>>
>>    
>>
> [answer fn
>cursor-in-echo-area tem help-char buffer-backed-up nil message "%s
>changed on disk; really edit the buffer? (y, n, r or C-h) "
>file-name-nondirectory t read-char-exclusive help assoc ((110 . yield)
>(7 . yield) (121 . proceed) (114 . revert) (63 . help)) beep "Please
>type y, n or r; or ? for help" sit-for 3
>ask-user-about-supersession-help revert revert-buffer buffer-modified-p
>signal file-supersession "File reverted" yield "File changed on disk"
>"File on disk now will become a backup file if you save these changes."] 5)
>ask-user-about-supersession-threat("/address@hidden:/httpdocs/403.shtml")
>set-buffer-modified-p(t)
>byte-code("\nÅ\f!‡" [last-coding-system-used coding-system-used
>filename buffer-file-name mod-p set-buffer-modified-p] 2)
>ange-ftp-write-region(1 540
>"/address@hidden:/httpdocs/403.shtml" nil t)
>apply(ange-ftp-write-region (1 540
>"/address@hidden:/httpdocs/403.shtml" nil t))
>ange-ftp-hook-function(write-region 1 540
>"/address@hidden:/httpdocs/403.shtml" nil t)
>apply(ange-ftp-hook-function write-region (1 540
>"/address@hidden:/httpdocs/403.shtml" nil t))
>tramp-ftp-file-name-handler(write-region 1 540
>"/address@hidden:/httpdocs/403.shtml" nil t)
>apply(tramp-ftp-file-name-handler write-region (1 540
>"/address@hidden:/httpdocs/403.shtml" nil t))
>tramp-file-name-handler(write-region 1 540
>"/address@hidden:/httpdocs/403.shtml" nil t)
>write-region(1 540 "/address@hidden:/httpdocs/403.shtml" nil t
>"/address@hidden:/httpdocs/403.shtml")
>basic-save-buffer-2()
>basic-save-buffer-1()
>basic-save-buffer()
>save-buffer(1)
>* call-interactively(save-buffer)
>
>  
>




reply via email to

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