emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: Peter Davis <pfd@pfdstudio.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-mime-org-buffer-htmlize sending hangs ...
Date: Tue, 22 Jul 2014 18:05:06 +0200	[thread overview]
Message-ID: <m2ppgxwf9p.fsf@top-wifi.irisa.fr> (raw)
In-Reply-To: <53CD51A7.9090209@pfdstudio.com> (Peter Davis's message of "Mon, 21 Jul 2014 13:45:11 -0400")

[-- Attachment #1: Type: text/plain, Size: 1153 bytes --]

On 2014-07-21 19:45, Peter Davis <pfd@pfdstudio.com> writes:

> Alas, despite years of emacs abuse, I have not managed to master even
> the rudiments of emacs lisp, and don't even know how to edebug.

To get you started, you could try the following.

- set up two emacs frames
- in one frame, do a "M-x describe-function" then type the name of the
  function of interest (smtpmail-send-it iirc)
- there will be a link to smtpmail.el, follow it
- this will take you to the definition of the function, there type "C-u
  C-M-x" to tell emacs you want to edebug it
- now in the other frame, do what you need to do to trigger the bug
- when the function is called, you should see a small triangle in the
  fringe showing the point being executed. You can step through the
  different instructions by hitting space, and you will see in the echo
  area the results of the computations

You can interrupt the debugging at any time by hitting 'q'. And if you
no longer want to debug that function, hit "C-M-x" while in the
function's source code, or restart emacs.

Try it, it's fun! ;-)

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7

[-- Attachment #2: Type: application/pgp-signature, Size: 494 bytes --]

  parent reply	other threads:[~2014-07-22 16:05 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
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 [this message]
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=m2ppgxwf9p.fsf@top-wifi.irisa.fr \
    --to=alan.schmitt@polytechnique.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=pfd@pfdstudio.com \
    /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).