From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Emacs hangs sometimes for no reason Date: Mon, 16 Jan 2017 08:32:55 -0800 Message-ID: <87eg03art4.fsf@ericabrahamsen.net> References: <375517626d9045a99b6c008b5aaf62dd@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <87pojobni4.fsf@ucl.ac.uk> <874m10i8o3.fsf@ericabrahamsen.net> <87pojnmopx.fsf@luisa.c0t0d0s0.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cTAEF-00006n-JW for emacs-orgmode@gnu.org; Mon, 16 Jan 2017 11:33:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cTAEB-0001So-M8 for emacs-orgmode@gnu.org; Mon, 16 Jan 2017 11:33:55 -0500 Received: from [195.159.176.226] (port=51000 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cTAEB-0001SS-F2 for emacs-orgmode@gnu.org; Mon, 16 Jan 2017 11:33:51 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cTADX-00047A-MY for emacs-orgmode@gnu.org; Mon, 16 Jan 2017 17:33:11 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Michael Welle writes: > Hello, > > Eric Abrahamsen writes: > [...] >> I used to get this a lot, and always due to some interaction between the >> cache and flyspell. It hasn't happened to me for several months, though >> (Emacs from git, org-plus-contrib from the package manager). Who knows >> why... > I have no problem (in this department ;)) with Org (Org and Emacs 25, > both, are from git), but sometimes Emacs hangs when I write an email > with wanderlust. It seems to hang for a minute or maybe longer, most > times I key in a couple of C-g and then go on. I got triggered by > flyspell, that is active in wl as well. Hmm. Flyspell apparently has a few mechanisms for avoiding this sort of thing, see the option flyspell-delayed-commands and flyspell-delay. Org already does some manipulation of delayed commands (maybe that's why I don't see these hangs anymore...?), perhaps you could try that in wl as well. Eric