From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Remote display-time-mail-file Date: Fri, 17 Sep 2010 22:59:36 +0200 Message-ID: <87aangnl1j.fsf@gmx.de> References: <837hil355j.fsf@gnu.org> <83zkvh1m4j.fsf@gnu.org> <87pqwdbdxs.fsf@gmx.de> <83r5gs1th2.fsf@gnu.org> <87ocbwnmkz.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1284758072 10101 80.91.229.12 (17 Sep 2010 21:14:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Sep 2010 21:14:32 +0000 (UTC) Cc: Eli Zaretskii , "emacs-devel@gnu.org" To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 17 23:14:30 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OwiGM-0001bv-5x for ged-emacs-devel@m.gmane.org; Fri, 17 Sep 2010 23:14:30 +0200 Original-Received: from localhost ([127.0.0.1]:44059 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Owi2A-00058V-0t for ged-emacs-devel@m.gmane.org; Fri, 17 Sep 2010 16:59:50 -0400 Original-Received: from [140.186.70.92] (port=38924 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Owi22-000568-H4 for emacs-devel@gnu.org; Fri, 17 Sep 2010 16:59:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Owi1z-0005EM-Qy for emacs-devel@gnu.org; Fri, 17 Sep 2010 16:59:42 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:41386 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Owi1z-0005EC-DE for emacs-devel@gnu.org; Fri, 17 Sep 2010 16:59:39 -0400 Original-Received: (qmail invoked by alias); 17 Sep 2010 20:59:37 -0000 Original-Received: from p4FC190C3.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [79.193.144.195] by mail.gmx.net (mp035) with SMTP; 17 Sep 2010 22:59:37 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1+P8UonrNSPtd+Psn/bmifHYm2loTYqutu4dMId3Y vuj7gZIhU6HAcn In-Reply-To: <87ocbwnmkz.fsf@gmx.de> (Michael Albinus's message of "Fri, 17 Sep 2010 22:26:20 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:130365 Archived-At: Michael Albinus writes: > Stefan Monnier writes: > >>> I wouldn't recommend to disable Tramp's file attributes cache at >>> all. There are serious performance improvements, using the cache. >> >> Isn't there some timeout on the cache entries? > > Some internal ones, like `tramp-completion-reread-directory-timeout'. I > could extend it for a general case. I'll check it next days. Maybe it's worth to mention, that `tramp-cache-inhibit-cache' does something like this: tramp-cache-inhibit-cache is a variable defined in `tramp-cache.el'. Its value is nil Inhibit cache read access, when `t'. `nil' means to accept cache entries unconditionally. If the value is a timestamp (as returned by `current-time'), cache entries are not used when they have been written before this time. If we use a relative time (number of seconds the cache is valid), and generalize this variable outside Tramp, it could serve our purposes. >> Stefan Best regards, Michael.