Thank you, Thorsten, Thorsten Jolitz <tjol...@gmail.com> writes:
> Peter Davis <p...@pfdstudio.com> 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