From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Davis Subject: Re: org-mime-org-buffer-htmlize sending hangs ... Date: Mon, 21 Jul 2014 10:14:21 -0400 Message-ID: References: <53CD1255.3080206@pfdstudio.com> <8761iqbzx5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9ENc-000375-KY for emacs-orgmode@gnu.org; Mon, 21 Jul 2014 10:15:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9ENW-0008Pg-H9 for emacs-orgmode@gnu.org; Mon, 21 Jul 2014 10:15:52 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:49065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9ENW-0008Pa-Ct for emacs-orgmode@gnu.org; Mon, 21 Jul 2014 10:15:46 -0400 Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id E07D922072 for ; Mon, 21 Jul 2014 10:15:45 -0400 (EDT) In-Reply-To: <8761iqbzx5.fsf@gmail.com> (Thorsten Jolitz's message of "Mon, 21 Jul 2014 15:32:22 +0200") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Thorsten Jolitz Cc: emacs-orgmode@gnu.org Thank you, Thorsten, Thorsten Jolitz writes: > Peter Davis writes: > >> I've used org-mode-org-mime-htmlize in the past to send email from >> org, via Gnus. However, recently I've discovered that after I edit the >> To: field and enter C-c C-c, I get "Sending via mail..." in the >> mini-buffer, and then emacs just sits there, apparently hung. Typing >> C-g enough times brings it back, but the mail never gets sent. > > Does Emacs really hang or is it still responsive? Did you try moving > point or so? These messages sometimes don't disappear although the work > is long finished. Did you try Actually, Emacs itself does not hang, but the sending process appears to hang. I've waited 10 or 15 minutes, and the message in the mini-buffer never changes and the operation never completes. (I've noticed on another system that after the "Sending via mail..." message, the mini-buffer displays other messages as the message is sent.) > ,---- > | top > `---- > > on the command-line to see if Emacs uses 100pc CPU? I don't think it's using 100%, but it's using enough CPU that the Mac keeps displaying the spinning beachball as I hover over the Emacs window. >> I have started running Gnus in a different emacs concurrently on the >> same machine (On OS X, I run org-mode in emacs-mac-port, and run Gnus >> in Aquamacs), using the same .gnus.el, but I would not expect that to >> cause any problems. >> >> Any suggestions as to what may be going on here, or how to trouble >> shoot it? I really like sending nicely formatted emails from org. > > Just had a similar problem. > Try this, if Emacs actually really hangs: > > 1. M-x load-library RET org-elements.el > > 2. do as described (-> make Emacs hang) > > 3. send from command line > > ,---- > | kill -s usr2 4352 > `---- > > (get the PID with 'ps -e | grep emacs') > > or, equivalently (?) > > ,---- > | pkill --signal usr2 emacs > `---- > > 4. go back to emacs and check/copy&send the *Backtrace* buffer Emacs isn't hung, but maybe there's some useful information somewhere else? Thanks very much! -pd