From: Jambunathan K <kjambunathan@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Footnote changes creates [REGRESSION] in xhtml/odt exporters
Date: Mon, 29 Aug 2011 15:25:27 +0530 [thread overview]
Message-ID: <81d3fofsog.fsf@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 152 bytes --]
Footnote changes creates [REGRESSION] in xhtml/odt exporters. The
required details are in the attached org file.
Caught by my test.org file :-).
--
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: footnote-regression.org --]
[-- Type: text/x-org, Size: 2381 bytes --]
#+TITLE: footnote-regression.org
#+AUTHOR:
#+EMAIL: kjambunathan@JAMBU-NETBOOK
#+DATE: 2011-08-29 Mon
#+DESCRIPTION:
#+KEYWORDS:
#+LANGUAGE: en
#+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+LINK_UP:
#+LINK_HOME:
#+XSLT:
* COMMENT Bug Description
With very minimal emacs, do
1. M-x load-library RET org-html.el RET
1. M-x load-library RET org-xhtml.el RET
2. C-x C-f footnote-regression.org RET
3. M-x org-export-as-xhtml-and-open RET
4. Note that the title of this document ends up in the footnote
definitions.
Hint: I am seeing that the value returned by
`org-export-preprocess-string' in the before and after commits are
different.
* Second headline
Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur[fn:inlabel:an inline
footnote][fn:inlabel2:[[http://www.google.com][google]] this].
* COMMENT How Emacs is invoked
"C:\Program Files\emacs-24.0.50\bin\runemacs.exe" --debug-init -Q -L ~/src/org-mode/lisp -L ~/src/org-mode/contrib/lisp --visit footnote-regression.org"
* COMMENT Commit that causes regression
git bisect bad
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[baf7dde28ef8730c558a6cf3c789d7400dbc51c6] org-footnote: allow non Org mode files to have no footnote tag
* COMMENT The good one
commit baf7dde28ef8730c558a6cf3c789d7400dbc51c6
Author: Nicolas Goaziou <n.goaziou@gmail.com>
Date: Tue Aug 16 20:02:30 2011 +0200
org-footnote: allow non Org mode files to have no footnote tag
* lisp/org-footnote.el (org-footnote-tag-for-non-org-mode-files):
notify the opportunity to set the variable to the empty string.
(org-footnote-normalize, org-footnote-create-definition): carefully
check for inserted newlines and presence of the footnote
tag.
commit cb906e440661f102fd004cb7c8792c2498018858
Author: Nicolas Goaziou <n.goaziou@gmail.com>
Date: Tue Aug 16 18:10:15 2011 +0200
org-footnote: re-use global regexps when possible
* lisp/org-footnote.el (org-footnote-at-definition-p): re-use
org-footnote-definition-re.
next reply other threads:[~2011-08-29 9:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-29 9:55 Jambunathan K [this message]
2011-08-29 11:08 ` Footnote changes creates [REGRESSION] in xhtml/odt exporters Nicolas Goaziou
2011-08-29 11:55 ` Jambunathan K
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=81d3fofsog.fsf@gmail.com \
--to=kjambunathan@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).