From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Marshall Newsgroups: gmane.emacs.help Subject: Re: emacs slow on dired renaming Date: Sat, 05 Apr 2014 09:50:09 +0100 Organization: The first against the wall Message-ID: <8761motb26.fsf@capuchin.co.uk> References: <871txekiid.fsf@capuchin.co.uk> <87a9c28clz.fsf@capuchin.co.uk> <87lhvl6xog.fsf@capuchin.co.uk> Reply-To: robert@capuchin.co.uk NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1396688424 28603 80.91.229.3 (5 Apr 2014 09:00:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Apr 2014 09:00:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 05 11:00:18 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 1WWMSX-0004rZ-1h for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Apr 2014 11:00:17 +0200 Original-Received: from localhost ([::1]:53798 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWMSW-0000Ge-I7 for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Apr 2014 05:00:16 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 50 Original-X-Trace: individual.net 9wZ/lije/GOLyrNsncu/xA/lTZRSm5TDT4Ei9Ew2mEZO2fnIU= X-Orig-Path: faure.capuchin.co.uk!not-for-mail Cancel-Lock: sha1:qnqY5YUtlhzcyhTQsQ1o4MR+nPQ= sha1:TuA0kN+CtvzPjmUjAeJX6klhrs8= X-Home-Page: http://rmstar.blogspot.com/ User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:204727 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:96997 Archived-At: On Fri, Apr 04 2014, Eli Zaretskii wrote: >> 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. > In both cases (with and without -Q) renaming the 10 files - moving them from one directory to a subdirectory - (with both dired buffers displayed in the frame and using dired-dwim-target set to t to provide the default target and that's the same as in the slow case) there is no perceptible difference - both appear to be immediate. >> 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.)? > They're both directories within $HOME which is /dev/sdb7 - so both local. I'd suspect a dodgy disk if it wasn't for the delay vanishing on a restart - and I've been trying a new emacs session at the same time as the one which produces the delay - and the new one has no delay. > If you try renaming a single file with "M-x rename-file RET", does it > also take 2 sec? > There's no apparent delay Robert -- La grenouille songe..dans son château d'eau Links and things http://rmstar.blogspot.com/