[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tramp and file-precious-flag.
From: |
Michael Albinus |
Subject: |
Re: Tramp and file-precious-flag. |
Date: |
Sun, 18 Jul 2004 21:25:03 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
Luc Teirlinck <address@hidden> writes:
> If `file-precious-flag' is t, then if one saves a remote file using
> Tramp, the visited file modtime gets set to 0. As a result, there
> will be no warning when trying to save the buffer if the file changed
> on disk. This problem does not exist for local files.
Somehow, I'm not able to reproduce the behaviour. Scenario:
C-x C-f ~/123
M-: file-precious-flag -> t
M-: (file-attributes (buffer-name (current-buffer)))
-> (nil 1 1000 1000 (16634 52569) (16634 52242) (16634 52242) 125 "-rw-r--r--"
nil 476194 770)
editing ... saving
M-: (file-attributes (buffer-name (current-buffer)))
-> (nil 1 1000 1000 (16634 52660) (16634 52660) (16634 52660) 137 "-rw-r--r--"
nil 476526 770)
C-x C-f /ssh:localhost:~/123
M-: file-precious-flag -> t
M-: (file-attributes (buffer-name (current-buffer)))
-> (nil 1 1000 1000 (16634 52704) (16634 52660) (16634 52660) 137 "-rw-r--r--"
t (7 . 17774) (-1 2))
editing ... saving
M-: (file-attributes (buffer-name (current-buffer)))
-> (nil 1 1000 1000 (16634 52728) (16634 52728) (16634 52729) 118 "-rw-r--r--"
t (7 . 17443) (-1 2))
> Sincerely,
>
> Luc.
Best regards, Michael.
- Tramp and file-precious-flag., Luc Teirlinck, 2004/07/12
- Re: Tramp and file-precious-flag.,
Michael Albinus <=
- Re: Tramp and file-precious-flag., Luc Teirlinck, 2004/07/18
- Re: Tramp and file-precious-flag., Michael Albinus, 2004/07/22
- Re: Tramp and file-precious-flag., Luc Teirlinck, 2004/07/22
- Re: Tramp and file-precious-flag., Michael Albinus, 2004/07/23
- Re: Tramp and file-precious-flag., Luc Teirlinck, 2004/07/23
- Re: Tramp and file-precious-flag., Michael Albinus, 2004/07/24
- Re: Tramp and file-precious-flag., Luc Teirlinck, 2004/07/24
- Re: Tramp and file-precious-flag., Michael Albinus, 2004/07/25
- Re: Tramp and file-precious-flag., Richard Stallman, 2004/07/23