Work on nested list support for ordered and unordered lists.
commitf5487368be7c46fad99e7c67b9200a5656513265
authorMichael Olson <mwolson@gnu.org>
Thu, 29 Dec 2005 07:45:45 +0000 (29 07:45 +0000)
committerMichael Olson <mwolson@gnu.org>
Thu, 29 Dec 2005 07:45:45 +0000 (29 07:45 +0000)
treeabf2e3e634ac93d3835d71fd1c09e1f5d9853981
parent933b463e56750e46ad2a0a657aee204d4ef1b10d
Work on nested list support for ordered and unordered lists.

* lisp/muse-publish.el: Nested list support isn't quite finished, but
  progress is being made.
  (muse-publish-markup-regexps): Remove 2150 regexp since it doesn't seem
  useful at the moment.  Invoke `format' to get the general version of
  muse-list-item-regexp.
  (muse-publish-surround-text): Add INDENT argument that specifies the
  leading indentation to strip.  Default is all whitespace.  Loop until
  MOVE-FUNC returns nil.
  (muse-list-item-type): New function that figures out what kind of list
  we have, given its separator string.
  (muse-forward-paragraph): Make this slightly more general.
  (muse-forward-list-item): New function that moves forward to the next
  list item.  Non-nil is returned if we found another item of the same
  type, nil otherwise.
  (muse-publish-markup-list): Adapt unordered list and ordered list to
  perhaps do nested lists correctly, though this hasn't been tested.

* lisp/muse-regexps.el (muse-list-item-regexp): Use "%s" in place of
  initial whitespace for the sake of flexibility.  Call `format' on it to
  change it.
git-archimport-id: mwolson@gnu.org--2005/muse--main--1.0--patch-326
ChangeLog
lisp/muse-publish.el
lisp/muse-regexps.el