Make nested definition list items work much better.
commitf86aa761487c53b3957710363f439016d57ee5d3
authorMichael Olson <mwolson@gnu.org>
Sat, 11 Mar 2006 23:42:56 +0000 (11 23:42 +0000)
committerMichael Olson <mwolson@gnu.org>
Sat, 11 Mar 2006 23:42:56 +0000 (11 23:42 +0000)
treefb1d386c04bb31ed47f7a2e05239f02efe6a9b0d
parente5d655c880c952b3901db14f6de91e8423f4d3bb
Make nested definition list items work much better.

* lisp/muse-publish.el (muse-publish-surround-dl): Use
  `muse-forward-list-item'.  Don't pass indent and post-indent to the
  move function.
  (muse-publish-surround-text): If we are to determine the indentation,
  but have found no list items, set indent to the empty string.  If we
  are to determine indentation but have found an item, get all leading
  whitespace and set indent to it.  Never try to determine post-indent
  using the first line.  Try to contain the amount of "damage" a nested
  list item can do to wrapped list item text.

* lisp/muse-regexps.el (muse-list-item-regexp): Hone the definition list
  part so that it is easier to indicate the amount of desired initial
  whitespace.

* lisp/muse.el (muse-list-item-type): Make initial whitespace of a dl
  entry optional.
  (muse-forward-dl-term, muse-forward-dl-entry): Remove.  Functionality
  merged into `muse-forward-list-item'.
  (muse-forward-list-item-1): New function that determines whether a
  nested list item is found.
  (muse-forward-list-item): Move hairy nested list detection algorithm
  into `muse-forward-list-item-1'.  Be extra careful about terminating
  when we go past the boundary.
git-archimport-id: mwolson@gnu.org--2006/muse--main--1.0--patch-56
ChangeLog.2006
lisp/muse-publish.el
lisp/muse-regexps.el
lisp/muse.el