From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: emacs slow on dired renaming Date: Fri, 04 Apr 2014 17:02:49 +0300 Message-ID: <83wqf58a5y.fsf@gnu.org> References: <871txekiid.fsf@capuchin.co.uk> <87a9c28clz.fsf@capuchin.co.uk> <87lhvl6xog.fsf@capuchin.co.uk> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1396620192 26651 80.91.229.3 (4 Apr 2014 14:03:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Apr 2014 14:03:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 04 16:03:07 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WW4hz-0001tZ-6i for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Apr 2014 16:03:03 +0200 Original-Received: from localhost ([::1]:50118 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WW4hy-0000kv-S5 for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Apr 2014 10:03:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WW4hd-0000al-GT for help-gnu-emacs@gnu.org; Fri, 04 Apr 2014 10:02:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WW4hX-0005XF-3c for help-gnu-emacs@gnu.org; Fri, 04 Apr 2014 10:02:41 -0400 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:50367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WW4hW-0005Wr-Sn for help-gnu-emacs@gnu.org; Fri, 04 Apr 2014 10:02:35 -0400 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0N3I00N00EBR8K00@mtaout29.012.net.il> for help-gnu-emacs@gnu.org; Fri, 04 Apr 2014 17:04:55 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N3I00O57F47BX20@mtaout29.012.net.il> for help-gnu-emacs@gnu.org; Fri, 04 Apr 2014 17:04:55 +0300 (IDT) In-reply-to: <87lhvl6xog.fsf@capuchin.co.uk> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.185 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:96985 Archived-At: > From: Robert Marshall > Date: Fri, 04 Apr 2014 14:17:51 +0100 > > At the moment it's still under 2 sec for each file. When you start a new session, does the command run as fast as in "emacs -Q", or is it already significantly slower? If the latter, it might be better to bisect your .emacs until you find the part that causes the slowdown. > I've manually loaded > dired and dired-aux and now get the report which follows. The culprit > appears to be dired-in-this-tree (or the number of times its called as > its rather short) - at the moment I have 42 dired buffers open (and > dired-buffers confirms this) of which only 1 or 2 have subdirectories > also open within the buffer. > > I've opened a couple more dired buffers since starting but most of them were > open from the beginning (via desktop) and then there was no slowdown. I see nothing of interest in the profile. Does this happen with renaming any file/directory, or only with files on some specific filesystems? Are those filesystems local ore remote (NFS, Samba, etc.)? If you try renaming a single file with "M-x rename-file RET", does it also take 2 sec?