emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-mime-org-buffer-htmlize sending hangs ...
Date: Mon, 21 Jul 2014 15:32:22 +0200	[thread overview]
Message-ID: <8761iqbzx5.fsf@gmail.com> (raw)
In-Reply-To: 53CD1255.3080206@pfdstudio.com

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

,----
| top
`----

on the command-line to see if Emacs uses 100pc CPU?

> 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

-- 
cheers,
Thorsten

  reply	other threads:[~2014-07-21 13:45 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 [this message]
2014-07-21 14:14   ` Peter Davis
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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=8761iqbzx5.fsf@gmail.com \
    --to=tjolitz@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).