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: Reverting *Locate* buffers. Date: Thu, 29 Jun 2006 23:58:08 +0200 Message-ID: <87bqsb8w0f.fsf@gmx.de> References: <200606260327.k5Q3Rfpd013691@jane.dms.auburn.edu> <853bdsmkey.fsf@lola.goethe.zz> <200606280158.k5S1wJCu004606@jane.dms.auburn.edu> <17569.64920.191861.355581@localhost.localdomain> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1151618343 19260 80.91.229.2 (29 Jun 2006 21:59:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 29 Jun 2006 21:59:03 +0000 (UTC) Cc: pbreton@cs.umb.edu, teirllm@dms.auburn.edu, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 29 23:59:01 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fw4XL-0004Bw-PW for ged-emacs-devel@m.gmane.org; Thu, 29 Jun 2006 23:59:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fw4XL-0002tz-Dv for ged-emacs-devel@m.gmane.org; Thu, 29 Jun 2006 17:58:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fw4X7-0002pb-8w for emacs-devel@gnu.org; Thu, 29 Jun 2006 17:58:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fw4X6-0002oL-Q2 for emacs-devel@gnu.org; Thu, 29 Jun 2006 17:58:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fw4X6-0002o3-HI for emacs-devel@gnu.org; Thu, 29 Jun 2006 17:58:44 -0400 Original-Received: from [213.165.64.21] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1Fw4jj-0000wN-Md for emacs-devel@gnu.org; Thu, 29 Jun 2006 18:11:48 -0400 Original-Received: (qmail invoked by alias); 29 Jun 2006 21:58:43 -0000 Original-Received: from p54BDBE53.dip0.t-ipconnect.de (EHLO localhost.local) [84.189.190.83] by mail.gmx.net (mp029) with SMTP; 29 Jun 2006 23:58:43 +0200 X-Authenticated: #3708877 Original-To: raman@users.sf.net In-Reply-To: <17569.64920.191861.355581@localhost.localdomain> (T. V. Raman's message of "Tue, 27 Jun 2006 20:55:04 -0700") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 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:56309 Archived-At: "T. V. Raman" writes: > While on the error message regarding tramp, I've found that tramp > being around causes *a lot* of recursive expand file calls --- > try running edebug on anything that calls expand-file-name to see > what I mean. > > Basically, tramp should only fire on the "head" of the path > being expanded -- at present it appears to fire for *each* path > component. That happens in `file-truename'. Every path component must be checked for being a symlink. During this check, other primitive file name operations are called, which call then `expand-file-name'. In Tramp 2.1, several file name operations cache their result; therefore much less calls are necessary. Best regards, Michael.