emacs-devel
[Top][All Lists]
Advanced

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

Re: time values


From: Andreas Schwab
Subject: Re: time values
Date: Sun, 11 Jul 2004 15:35:38 +0200
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

Kai Grossjohann <address@hidden> writes:

> It would be great if there was a way for Tramp to find out whether
> the new-style or the old-style value should be returned.

Does tramp actually have to contruct any such value?  From a cursory look
it only has to process the return value of visited-file-modtime, which is
easy to handle both ways.  But probing the correct style is not difficult
either, you just have to call visited-file-modtime once in a dummy buffer
visiting any random file (which does not need to exist) and examine the
returned value.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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