emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Salazar <cycleofsong@gmail.com>
To: Eric Schulte <schulte.eric@gmail.com>, org-mode <emacs-orgmode@gnu.org>
Subject: how can I use plain-text URLs in org-mime?
Date: Mon, 24 Aug 2015 12:53:52 -0400	[thread overview]
Message-ID: <CAE+_6TyUHPvFOvkd34pyUe4QERCtZpK2EAM8q=9-qQdj+tkSAg@mail.gmail.com> (raw)

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

Hi Eric and others,

I'm using org-mime-htmlize to send email, but I'm having trouble with
plain-text links (i.e. not org-mode formatted links with square brackets,
but URLs by themselves) and with image links (again, not org-mode format).

Say I have an org-mode file with this subtree:

,----
|
|  * foo
|  http://google.com
|
|  http://i.imgur.com/kJn0xNs.jpg
|
`----

These work as desired when I org-export to HTML. The URL gets converted to
a clickable <a href> anchor, and the image gets displayed as an <img src>
image.

How do I get this same behavior in org-mime? When I try to email this same
content using message-mode and org-mime-htmlize, I get this:

Lisp error: (args-out-of-range 0 0)
get-text-property(0 face)
org-activate-plain-links

The full debug: https://gist.github.com/c06c92fb223dacb694c1

Thanks!

[-- Attachment #2: Type: text/html, Size: 1315 bytes --]

                 reply	other threads:[~2015-08-24 16:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CAE+_6TyUHPvFOvkd34pyUe4QERCtZpK2EAM8q=9-qQdj+tkSAg@mail.gmail.com' \
    --to=cycleofsong@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=schulte.eric@gmail.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).