emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [HTML] subtree export reverted back to absolute H level behavior
Date: Wed, 27 Feb 2013 11:49:24 -0700	[thread overview]
Message-ID: <CAJcAo8sO7Shi3nfbj_Rp+Cv4jpssQjw1Q7Xw6X=BF208W0cnDw@mail.gmail.com> (raw)

The old exporter had a bug where exporting a subtree would start H
levels at the level in the file.

Thus, the top level being exported could be H8 if it were indented to
that level.  Or H38 if it were indented to that level.

IMO better behavior is relative.

===

The new exporter seemed to fix this, but it seems to have gone back to
the old behavior in a recent commit on git master.

It is excellent to make the new emulate the old as much as possible;
this reduces bugs and impact on people.  But does anybody rely on
absolute levels for subtree export?  My guess would be no, but I could
be wrong.

===

Recent commit caused this change in output:

-<h3 id="sec-1">An intriguing and fun question</h3>
+<h7 id="sec-0-0-0-0-1">An intriguing and fun question</h7>

Hope I've not misunderstood something here.  I can't run the
dispatcher directly because I get other issues.

Samuel

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  ANYBODY
can get it.  There is no hope without action.

             reply	other threads:[~2013-02-27 18:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-27 18:49 Samuel Wales [this message]
2013-02-27 19:15 ` [HTML] subtree export reverted back to absolute H level behavior Samuel Wales
2013-02-27 19:52 ` Nicolas Goaziou
2013-02-27 20:29   ` Samuel Wales
2013-02-27 20:59     ` Nicolas Goaziou
2013-02-27 21:23       ` Samuel Wales
2013-02-27 22:25         ` Nicolas Goaziou
2013-02-28  2:53           ` Samuel Wales

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='CAJcAo8sO7Shi3nfbj_Rp+Cv4jpssQjw1Q7Xw6X=BF208W0cnDw@mail.gmail.com' \
    --to=samologist@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).