emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Davis <pfd@pfdstudio.com>
To: Thorsten Jolitz <tjolitz@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-mime-org-buffer-htmlize sending hangs ...
Date: Mon, 21 Jul 2014 10:14:21 -0400	[thread overview]
Message-ID: <m1k376ztmq.fsf@pdavismbp15.iscinternal.com> (raw)
In-Reply-To: <8761iqbzx5.fsf@gmail.com> (Thorsten Jolitz's message of "Mon, 21 Jul 2014 15:32:22 +0200")

Thank you, Thorsten,

Thorsten Jolitz <tjolitz@gmail.com> writes:

> Peter Davis <pfd@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

Thanks very much!


  reply	other threads:[~2014-07-21 14:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-21 13:15 org-mime-org-buffer-htmlize sending hangs Peter Davis
2014-07-21 13:32 ` Thorsten Jolitz
2014-07-21 14:14   ` Peter Davis [this message]
2014-07-21 15:29     ` Peter Davis
2014-07-21 16:23       ` Nick Dokos
2014-07-21 17:45         ` Peter Davis
2014-07-21 18:25           ` Nick Dokos
2014-07-21 19:00             ` Peter Davis
2014-07-22 16:05           ` Alan Schmitt
2014-07-22 16:42             ` Peter Davis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1k376ztmq.fsf@pdavismbp15.iscinternal.com \
    --to=pfd@pfdstudio.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tjolitz@gmail.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).