[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: |
Thu, 22 Jul 2004 22:35:37 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
Luc Teirlinck <address@hidden> writes:
> Sorry, what I meant was not that the modtime in `file-attributes'
> would get set to 0, what I meant was that (visited-file-modtime)
> returns 0 after a precious file is saved using Tramp. I just double
> checked with emacs -q with a file made precious using:
>
> -*- file-precious-flag: t; -*-
OK, now I got. Fixed in Tramp CVS, sync with Emacs CVS will follow
next stable Tramp.
In fact, the problem was due to documentation vagueness of
`write-region'. It is said, that modtime of visited file must be
updated in case `visit' is equal t. Nothing is said if `visit' is a
string. But the code of `write-region' shows it must be updated always
when `visit' is not nil. Is it worth a documentation clarification?
> Sincerely,
>
> Luc.
Best regards, Michael.
- Tramp and file-precious-flag., Luc Teirlinck, 2004/07/12
- Re: Tramp and file-precious-flag., Michael Albinus, 2004/07/18
- Re: Tramp and file-precious-flag., Luc Teirlinck, 2004/07/18
- Re: Tramp and file-precious-flag.,
Michael Albinus <=
- 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