bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#4239: 23.1.50; Pause during Emacs startup with recentf-mode


From: Stephen Berman
Subject: bug#4239: 23.1.50; Pause during Emacs startup with recentf-mode
Date: Mon, 24 Aug 2009 13:02:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

On Mon, 24 Aug 2009 12:22:31 +0200 Michael Albinus <michael.albinus@gmx.de> 
wrote:

> Stephen Berman <stephen.berman@gmx.net> writes:
>
>>> Could you, please, start Emacs from gdb? When it is stalled, interrupt
>>> it, and show the backtrace.
>>
>> Here it is; I hope it helps shed some light on the problem.
>
> It does, indeed:
>
>> Lisp Backtrace:
>> "dbus-call-method" (0xbfffc504)
>> "byte-code" (0xbfffc5b0)
>> "dbus-ping" (0xbfffc844)
>
> So for whatever reasons, one of the three dbus-ping calls in
> tramp-gvfs.el hangs (for the default 25 sec timeout of D-Bus calls).
>
> Could you, please, check the following patch? It restricts every
> dbus-ping to 0.1 sec. It will still leave a short delay for you, but
> this might be tolerable.

To test whether the patch fixes the problem I presumably have to wait
till I reboot the machine, which may not be till tomorrow.  Does it
suffice to simply apply the patch and restart Emacs, or do I need to
redump or rebuild Emacs?

Thanks for the quick response.

Steve Berman

PS: If the patch works, before you commit it you should, in the doc
string of dbus-ping, change "25.000" to "25,000": `.' and `,' have the
opposite roles in German and English numerals.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]