emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Judith Bush <tunabreath@grey-cat.com>
To: emacs-orgmode@gnu.org
Subject: Bugreport: htmlized.el 1.43 and Org-mode Agenda export to html with C-x C-w has broken http links
Date: Mon, 25 May 2015 14:40:36 +0000 (UTC)	[thread overview]
Message-ID: <loom.20150525T163211-578@post.gmane.org> (raw)

I've recently installed emacs 24.5 on two different OS X Mavericks
machines, once with Mac Ports, once from the tarball. I didn't see
html as an option when using C-c C-e in org-mode, so i ran find across
the machine installed with tarball and couldn't find htmlize.el. I
fetched version 1.43 and put it in my load path: html now appears in
C-c C-e. (This loadpath is mirrored between the two machines.)

Now when i run C-x C-w at the agenda view, i have a satisfactory html
export with the exception of links. The URL includes the close
bracket, open bracket and first word of the link text. (Angle brackets
replaced with curly braces in hopes to preserve content across
rendering systems.)

{a href="https://oclc.webex.com/oclc/j.php?blahblahblah][Webex"}Webex{/a}

Note that the engine is able to figure out the end of the URL because
the second word in the link text in the org document becomes its own
second link, well formed:

{a href="https://docs.google.com/document/d/blahblah/edit][Engineering"}\
Engineering{/a}{a
href="https://docs.google.com/document/d/blahblah/edit"} Doc{/a}

This annoying behavior occurs on both machines.

Experiments on the macports machine result in the following. An export
of an org file to html via C-c C-e produces well formed links; an
export of the agenda via M-x org-export-dispatch produces well formed
links, but all the content is in one paragraph tag and all the lines
run together.

The orgfile source reads: '** 10:00 Team checkin -
 [[https://oclc.webex.com/oclc/j.php?MTID%blah][Webex]] -
 [[https://docs.google.com/document/d/blah_blah-blah/edit][Engineering
 Doc]]'

Confirmed in post at
http://stackoverflow.com/questions/30399029/org-mode-agenda-export-to-
html-with-c-x-c-w-has-broken-http-links

             reply	other threads:[~2015-05-25 14:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-25 14:40 Judith Bush [this message]
2018-04-28 14:00 ` Bugreport: htmlized.el 1.43 and Org-mode Agenda export to html with C-x C-w has broken http links Bastien

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=loom.20150525T163211-578@post.gmane.org \
    --to=tunabreath@grey-cat.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).