emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: n.goaziou@gmail.com
Cc: emacs-orgmode@gnu.org
Subject: Re: [patch][ox-html] Stylistic changes
Date: Sun, 16 Mar 2014 14:06:39 +0100	[thread overview]
Message-ID: <87lhwa5m3k.fsf@gmx.us> (raw)
In-Reply-To: <87d2hmsbuc.fsf@gmail.com> (Nicolas Goaziou's message of "Sun, 16 Mar 2014 10:59:39 +0100")

Nicolas Goaziou <n.goaziou@gmail.com> writes:

>> Second, for some reason ox-html replaces a couple of entities by
>> itself—rather than letting org-entities do it—but uses hex references
>> (or whatever), rather than a "nice" HTML character entity.  The second
>> patch fixes this.  (I naively assume that there is not a reason for
>> not using the pretty references).
>
> According to the log of the commit introducing the changes, there is
> a reason:
>
>
>   commit f2b2c8318fa8c2ce82208d717c649377c856802c
>   Author: Jambunathan K <kjambunathan@gmail.com>
>   Date:   Sat Mar 2 11:00:46 2013 +0530
>
>       Add Freemind Mindmap Back-End for Org Export Engine
>       
>       * contrib/lisp/ox-freemind.el: New file.
>       
>       * lisp/ox-html.el (org-html--tags, org-html-format-headline)
>       (org-html--format-toc-headline, org-html-checkbox)
>       (org-html-table-cell, org-html-timestamp)
>       (org-html-verse-block, org-html-special-string-regexps):
>       Replace named HTML entities with their numeric counterparts.
>       This keeps Freemind backend happy.
>
> So if the change is only stylistic, I see no reason to break
> compatibility with "ox-freemind.el".

Obviously not.  I should have checked with git-blame first, but I
honestly didn't remember that this tool existed.  Thanks!

—Rasmus

-- 
May the Force be with you

  reply	other threads:[~2014-03-16 13:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-16  0:33 [patch][ox-html] Stylistic changes Rasmus
2014-03-16  9:59 ` Nicolas Goaziou
2014-03-16 13:06   ` Rasmus [this message]
2014-03-17  2:17   ` Bastien
2014-03-17 17:01     ` Rick Frankel
2014-03-17 22:19       ` Rasmus
2014-03-18  0:35         ` Rick Frankel
     [not found]           ` <874n2w2n62.fsf@gmx.us>
2014-03-18 13:49             ` Rick Frankel
2014-03-18 19:46               ` Rasmus
2014-03-19 14:00                 ` Rick Frankel

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=87lhwa5m3k.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@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).