From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alex Schroeder Newsgroups: gmane.emacs.devel Subject: Re: time values Date: Sun, 11 Jul 2004 16:35:28 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87brimvcgf.fsf@emacswiki.org> References: <200407110033.i6B0XLF08165@raven.dms.auburn.edu> <86llhrq7ed.fsf@rumba.de.uu.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1089556690 10185 80.91.224.253 (11 Jul 2004 14:38:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 11 Jul 2004 14:38:10 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Jul 11 16:38:03 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BjfSt-0000Im-00 for ; Sun, 11 Jul 2004 16:38:03 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BjfSt-00038y-00 for ; Sun, 11 Jul 2004 16:38:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BjfVA-0003MB-CN for emacs-devel@quimby.gnus.org; Sun, 11 Jul 2004 10:40:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BjfV2-0003M5-5v for emacs-devel@gnu.org; Sun, 11 Jul 2004 10:40:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BjfUy-0003Lt-Bx for emacs-devel@gnu.org; Sun, 11 Jul 2004 10:40:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BjfUy-0003Lq-AX for emacs-devel@gnu.org; Sun, 11 Jul 2004 10:40:12 -0400 Original-Received: from [62.2.95.247] (helo=smtp.hispeed.ch) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BjfQV-00088U-2C for emacs-devel@gnu.org; Sun, 11 Jul 2004 10:35:35 -0400 Original-Received: from confusibombus (80-218-1-188.dclient.hispeed.ch [80.218.1.188]) by smtp.hispeed.ch (8.12.6/8.12.6/tornado-1.0) with ESMTP id i6BEZTDB004119 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Sun, 11 Jul 2004 16:35:30 +0200 Original-Received: from alex by confusibombus with local (Exim 4.34) id 1BjfQP-0000hA-Cc; Sun, 11 Jul 2004 16:35:29 +0200 Original-To: Kai Grossjohann Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAACkElEQVR42s1a0bLsIAgzjv// y7kPd9pVKxKVdk6fzux2C4EAwR6QZBpcQEopIf3Fq3a52Lfh0Mjjk99zcWYBwA2ihEen9jVxfAf/ u0+Y2HQwNoVw4Dx34trRV6NSjiLPmfPt77jwiBxB/3PnZ3B2AGxzHnGu0wcBwAIAyQwZGvQhiFcy YLOFQcSB/MS82n3ec37vykNqRFTX9rVWR2U5+pZNIggll0CUOQN9BDdm1LfBmcZxIEqjL6r2JU/D galaB7Zg4jlY2ulnIx9OR4iMRl38CAFyKaA8jAxE7lNn650VKMULZ/54crqn0YQCJGQliebXkFIK hwqmGm28cgsSjz/hzRCMneQEwMjVoH3gWTtMPgIslJUV5uIluvUEkyzU+gUGQO62e9NuSdZCzNOM fDPC87iCqfE9gHinsIrSL16TPBfrYIeHzqKU90a50jCh54EcrgAUFo5ibzvebgr/I66USQ0CspQp IVSoBQK3WswDDIndIraHxoglqOjM1d044PQvu1NY0EHtqQR/XwJ+PeCs0x2dSlApZVw4MPER23PD 7JekoHxrqTRod/2Gx5nhx5dfAJhqPt7tDMIZxNN/7lOIaparPn7ZQ88drlORC2eLWXowxIq4gHTh VN1BSmsHoxYAbPWDTuGQuuecS+aYQUYpfr0YqPQOuuUk5tApK077+2xfOYP+XyWEIwPcE49lvT9N y2+wU2KylGGp4yxlALcm6fSlmgk62yfSsfNunDl5d6W91MBUoZw679YAJoMMkhijuXdFOL+khaL2 s+g3zy4APQuQvSc/BNAYnkl6E8ivYtEHJXa1dihE3zgnKMdNgN8DiIwgA17NykUMvFDQ+LALvXXI BuBLAHv/DvBmc/0HzR03PqXmLcQAAAAASUVORK5CYII= In-Reply-To: <86llhrq7ed.fsf@rumba.de.uu.net> (Kai Grossjohann's message of "Sun, 11 Jul 2004 10:23:38 +0200") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:25579 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25579 Kai Grossjohann 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. Then a > single code base could be used to support Emacs 21.3 as well as 21.4. Maybe you can use (and (not (equal (visited-file-modtime) 0)) (consp (cdr (visited-file-modtime)))) ? It returns nil when (visited-file-modtime) is 0 or a list of at least two elements. Alex. -- .O. http://www.emacswiki.org/alex/ ..O Schroeder's fourth law: OOO None of your friends and coworkers share your taste in music.