[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ntemacs and tramp 2.1.7, 100% CPU problem
From: |
Michael Albinus |
Subject: |
Re: ntemacs and tramp 2.1.7, 100% CPU problem |
Date: |
Tue, 26 Dec 2006 22:52:20 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux) |
"Wagemans, Peter" <address@hidden> writes:
Hi,
> When tramp is loading, I end up with ntemacs using 100% CPU.
>
> The problem during loading can be avoided by making the following stop
> in the debugger and continue from there (by typing "c" twice):
>
> (debug-on-entry 'start-process-shell-command)
>
> The 100% CPU behaviour may surface again later in a session.
>
> A traceback from start-process-shell-command is reproduced below.
> Emacs appears to be encountering the following during load of
> tramp-util.el:
>
> (unless (tramp-exists-file-name-handler
> 'start-process-shell-command "" nil "ls")
> (defadvice start-process-shell-command
> ...
I've added the following patch to Tramp CVS which avoids calling
`tramp-exists-file-name-handler' for `start-process-shell-command' and
`call-process-shell-command'. You might check whether it works for you.
> Regards,
>
> Peter Wagemans
Best regards, Michael.
patch
Description: Text Data