Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jul 27, 2005
  1. @mwolson

    Release 3.01.91 (3.02 RC2).

    mwolson authored
    * lisp/muse.el (muse-version): Release 3.01.91 (3.02 RC2).
  2. @mwolson

    Escape email address and URL always.

    mwolson authored
    * lisp/muse-publish.el (muse-publish-markup-email): Move lower.  Always
      escape and publish email address as read-only, even when it's not
      marked up.
      (muse-publish-markup-url): Ditto for URL.
Commits on Jul 26, 2005
  1. @mwolson

    Inter-project output name fix.

    mwolson authored
    * lisp/muse-wiki.el (muse-wiki-resolve-project-page): I would've sworn
      that I had fixed this before.
  2. @mwolson

    Make coloring of verbatim greater-than sign same as publishing.

    mwolson authored
    * lisp/muse-colors.el (muse-colors-markup): Since we currently publish a
      greater-than sign surrounded by equal signs, display it in verbatim
  3. @mwolson

    Allow transform function for link descriptions. Bare email and URL fi…

    mwolson authored
    * lisp/muse-publish.el (muse-publish-url-transforms): Docfix.
      (muse-publish-desc-transforms): New option that contains the functions
      that will be called to transform a link description.
      (muse-publish-markup-word): Handle Yet Another Edge Case.
      (muse-publish-markup-email): Use
      `muse-publish-escape-specials-in-string'.  Don't publish if we have a
      double-quote on either side.
      (muse-publish-url): Apply description transforms.
      (muse-publish-markup-url): Don't publish if we have a double-quote on
      either side.
    * lisp/muse-wiki.el (muse-wiki-update-wikiword-regexp)
      (muse-wiki-wikiword-regexp, muse-wiki-use-wikiword): Minor docfixes.
      (muse-wiki-interwiki-delimiter): New option that indicates the
      interwiki delimiter to use.
      (muse-wiki-interwiki-replacement): New option that indicates the
      (muse-wiki-update-interwiki-regexp): Use muse-wiki-interwiki-delimiter.
      (muse-wiki-publish-pretty-title): Deal with EXPLICIT argument so that
      this can be added to muse-publish-desc-transforms.
      (muse-wiki-publish-pretty-interwiki): New function that replaces the
      interwiki delimiter with its replacement, but only when the given text
      is not an explicit link.
    * lisp/muse.el (muse-update-file-extension): New function made from the
      innards of the :set function in `muse-file-extension'.
  4. @mwolson

    Handle anchors in all publishing styles, as well as linking to them.

    mwolson authored
    * lisp/muse-publish.el (muse-publish-url): Publish links to anchors as
      (muse-publish-prepare-url): Don't touch links to anchors.
    * lisp/muse-docbook.el (muse-docbook-markup-strings): Add handler for
      'internal-link.  Treat centered text with
      <para role="center">...</para>.
      (muse-docbook-markup-paragraph): Slight regexp tweak.
      (muse-docbook-insert-anchor): Docfix.
      (muse-docbook-markup-anchor): Move lower in file.
    * lisp/muse-html.el (muse-html-markup-strings): Add handler for
      (muse-xhtml-markup-strings): Order list, no func change.
      (muse-html-markup-anchor): Move up in file, no func change.
    * lisp/muse-latex.el (muse-latex-markup-functions): Add rule for
      publishing anchors.
      (muse-latex-markup-strings): Add handler for 'internal-link.
      (muse-latex-insert-anchor, muse-latex-markup-anchor): New functions
      that insert an anchor around the next word or inside of a tag.
    * lisp/muse-texinfo.el (muse-texinfo-markup-functions): Add rule for
      publishing anchors.
    * lisp/muse-texinfo.el (muse-texinfo-markup-strings): Add handler for
      (muse-texinfo-insert-anchor, muse-texinfo-markup-anchor): New functions
      that insert an anchor before the next word or within a tag.
    * NEWS: Initial attempt at documenting changes since 3.01.
  5. @mwolson

    Generalize some blosxom helper functions.

    mwolson authored
    * examples/mwolson/muse-init.el (muse-project-alist): Adapt to new
      generalized helper functions.
      (my-muse-prepare-entry-for-xanga): Use muse-blosxom-extension rather
      than hard-coding it.  Use muse-with-temp-buffer.  Handle all kinds of
      relative links.
    * lisp/muse-blosxom.el: Update example in header.
      (muse-blosxom-new-entry): Use new names for helper functions.
      (muse-blosxom-get-categories, muse-blosxom-project-alist-entry)
      (muse-blosxom-project-alist-dirs): Move to muse-project.el.
    * lisp/muse-project.el (muse-project-recurse-directory): Renamed from
      (muse-project-alist-styles): Renamed from
      (muse-project-alist-dirs): Renamed from
      (muse-project-of-file): Use `muse-current-file'.
    * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Use
    * lisp/muse.el (muse-current-file): New function that returns the name of
      the currently visited or published file.
      (muse-page-name): Use `muse-current-file'.
  6. @mwolson

    muse-xml: definition lists, muse-docbook: center.

    mwolson authored
    * Makefile (, %.html): Use general argument in rule.
      (distclean): Add another cruft file.
    * experimental/muse-xml.el (muse-xml-markup-strings): Use <list
      type="definition"> for definition lists.
    * lisp/muse-docbook.el (muse-docbook-markup-strings): Replace <center>
      with <note>, since it's the closest thing I could find.
Commits on Jul 24, 2005
  1. @mwolson

    Minor namespace fix.

    mwolson authored
    * lisp/muse-colors.el (muse-colors-explicit-link): Use
      muse-match-string-no-properties rather than match-string-no-properties.
  2. @mwolson

    Correct breakage induced by previous patch.

    mwolson authored
    * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Don't use the local
      path as a fallback if we are publishing.
  3. @mwolson

    Make interwiki links work in a few more edge cases.

    mwolson authored
    * lisp/muse-project.el (muse-project-applicable-styles): Remove
      assertion, now that I have a good idea of the edge cases involved.
    * lisp/muse-wiki.el (muse-wiki-resolve-project-page): Handle case where
      the current file is not part of any Muse project, allowing interwiki
      links to be resolvable even then.  Don't return a relative path if we
      are not publishing.  For visiting links, the best thing is just to
      return the real path.
  4. @mwolson

    Fix warnings during font-lock, example tag highlighting.

    mwolson authored
    * lisp/muse-colors.el (muse-colors-region): Prevent "Wrong side of point"
      (muse-colors-tags): Make sure that no fontification occurs in <code> or
      <lisp> tags.
      (muse-unhighlight-region): Move higher up.
      (muse-colors-example-tag, muse-colors-literal-tag): Use
      `muse-unhighlight-region'.  Fix spelling goof.  Omit (goto-char end)
      since the point gets put in the right place automatically.
  5. @mwolson

    muse-xml: Separate section from title.

    mwolson authored
    * experimental/muse-xml.el (muse-xml-markup-strings): Add "level"
      attribute to sections.  Use separate <title> tag to handle the title of
      a section.  Thanks to drkm for the suggestion.
    * lisp/muse-mode.el (muse-mode): Code indentation, no func change.
    * lisp/muse-publish.el (muse-publish-markup-heading)
      (muse-publish-section-close): Pass level to markup strings for all
      section-related tags.
    * lisp/muse.el (muse-page-name): Handle case where buffer-file-name is
      not defined.
Commits on Jul 23, 2005
  1. @mwolson

    Include regexps from base styles. Fix muse-project-ignore-regexp and …

    mwolson authored
    …use it more.
    * lisp/muse-blosxom.el (muse-blosxom-get-categories): Don't include
      folders that match `muse-project-ignore-regexp'.
    * lisp/muse-project.el (muse-project-ignore-regexp): Correct an escape
      omission.  Add ",.*" to list of bad directory parts.
    * lisp/muse-project.el (muse-project-of-file): Ignore PATHNAME if it
      matches `muse-project-ignore-regexp'.
    * lisp/muse-publish.el: Install patch from Peter K. Lee.
      (muse-style-elements-list): New function that returns a list of
      references to ELEM in STYLE, including base styles.
      (muse-publish-markup-region): Use muse-style-elements-list rather than
      muse-style-elements when getting :regexps.
    * lisp/muse-publish.el (muse-style-element): Add docstring.
  2. @mwolson

    Initial implementation of muse-xml.el. End of section edge case.

    mwolson authored
    * AUTHORS: Add Peter K. Lee.
    * Makefile (experimental): New target that builds experimental programs.
      (distclean): Remove debian/dirs, a cruft file from the debian build
    * examples/mwolson/muse-init.el: Update.
    * examples/mwolson/muse-init.el ("\C-cpL"): Use a better function that
      prompts for the blog entry to visit.
    * experimental/Makefile: New file that causes experimental stuff to be
    * experimental/muse-xml.el: New file that provides the experimental XML
      publishing style.
    * lisp/muse-docbook.el (muse-docbook-markup-regexps): Re-order and fix
      comment strings.
    * lisp/muse-html.el (muse-html-markup-regexps): Ditto.
    * lisp/muse-publish.el (muse-publish-section-close): Deal with edge case
      involving end-of-file and paragraph detection.
    * lisp/muse-wiki.el: Minor header fix.
    * scripts/muse-build.el (load-path): Add "../experimental".
Commits on Jul 22, 2005
  1. @mwolson

    Try to fix <example> region coloring problem.

    mwolson authored
    * lisp/muse-colors.el (muse-colors-example-tag, muse-colors-literal-tag):
      If region is multiple lines, add '(font-lock-multiline t) to
      properties.  This should fix an annoying <example> region issue.
  2. @mwolson

    Don't publish implicit links that have a double-quote at begin or end.

    mwolson authored
    * lisp/muse-colors.el (muse-colors-implicit-link): Don't colorize if a
      double-quote exists at beginning or end.
    * lisp/muse-publish.el (muse-publish-markup-link): When link is implicit,
      don't colorize if a double-quote exists at beginning or end.
  3. @mwolson

    Fix failure to publish emphasis properly.

    mwolson authored
    * lisp/muse-publish.el (muse-publish-markup-word): Darn off-by-one
    * experimental/muse-wiki-old.el: Removed, since I'm happy with the state
      of muse-wiki.
  4. @mwolson

    Add a few common revision control directories to the ignore list.

    mwolson authored
    * lisp/muse-project.el (muse-project-ignore-regexp): Add types of
      directories to be ignored when building the file alist, such as those
      used for CVS and Arch revision control data.
Commits on Jul 21, 2005
  1. @mwolson

    Fix #2654: Append a newline when using pdf publishing style.

    mwolson authored
    * lisp/muse-latex.el (muse-latex-footer, muse-latexcjk-footer): Append a
      newline to the end.
Commits on Jul 20, 2005
  1. @mwolson

    5 levels of headings colorization; color bare URLs.

    mwolson authored
    * lisp/muse-colors.el (muse-colors-emphasized, muse-colors-markup):
      Really color up to 5 headings.
      (muse-colors-markup): Add muse-url-regexp.
      (muse-colors-explicit-link): Renamed from muse-colors-link.
      (muse-colors-implicit-link): Moved here from
      `muse-wiki-colors-wikiword' in muse-wiki.el.  We need it here since
      we'll be coloring URLs.
  2. @mwolson

    Don't emphasize if a word constituent follows the trailer.

    mwolson authored
    * lisp/muse-colors.el (muse-colors-emphasized, muse-colors-underlined)
      (muse-colors-verbatim): Don't colorize if a word constituent follows
      the trailer.
    * lisp/muse-publish.el (muse-publish-markup-word): Don't publish if a
      word constituent follows the trailer.
  3. @mwolson

    Add coloring for example, verbatim, and =signs=; anchor fix.

    mwolson authored
    * lisp/muse-colors.el (muse-verbatim-face): New face that is used to
      color <example>, <verbatim>, and =signs=.  Defaults to a shade of gray.
      (muse-colors-verbatim): Use `muse-verbatim-face'.
      (muse-colors-markup): Move =sign= interpreting down so it gets higher
      (muse-colors-tags): Add verbatim and literal tags.
      (muse-colors-example-tag): Use `remove-text-properties' instead of
      `set-text-properties', since the latter does not work consistently.
      (muse-colors-literal-tag): New function that strips all markup from the
      (muse-colors-link): Match against muse-explicit-link-regexp early on so
      that we can work around an annoying XEmacs issue.
    * lisp/muse-publish.el (muse-publish-markup-word): Make =signs=
      multi-line by default.
    * lisp/muse.el (muse-page-name): Handle case where we're given an empty
  4. @mwolson

    Link with anchor bugfix.

    mwolson authored
    * lisp/muse-colors.el (muse-link-face): Highlight links with anchors as
      valid, as long as the base is valid.
  5. @mwolson

    Link inside table issue, fixes read-only text error.

    mwolson authored
    * lisp/muse-docbook.el (muse-docbook-fixup-tables): Ignore read-only text
      inside tables so we don't get an error when links exist.
    * lisp/muse-html.el (muse-html-fixup-tables): Ditto.
    * lisp/muse-project.el (muse-project-publish): Don't take forced files
      into account when displaying the "All files published" message, unless
      they've actually been modified.
    * lisp/muse.el (muse-with-temp-buffer): If debug-on-error is non-nil,
      don't wrap in condition-case; we don't want the message to be muffled.
  6. @mwolson

    Permit infinitely-nested sections.

    mwolson authored
    * examples/QuickStart (Links): Use GNA link rather than johnw's site.
      (Deriving from an existing style): Mark up as a list.
    * lisp/muse-colors.el (muse-colors-outline-faces-list, muse-make-faces):
      Color an additional level of headings.
    * lisp/muse-docbook.el (muse-docbook-markup-strings): Add new
      section-other, section-other-end, and section-close strings.
      (muse-docbook-fixup-sections): Removed, since Muse now implements this
      through the 'section-close string.
    * lisp/muse-html.el (muse-xhtml-markup-strings): Omit newline from
      'begin-underline, since this messes up paragraph handling.  Use
      <h5></h5> for 'section-other.
      (muse-html-fixup-tables): New function that sorts the table parts so
      that order is head, foot, body.  Apparently XHTML needs this, and it
      seems like a good general practice, so we do it for HTML as well.
    * lisp/muse-latex.el (muse-latex-markup-strings): Use \\paragraph{} for
    * lisp/muse-publish.el (muse-publish-section-close): New function that
      determines where to put the section close given heading depth and
      inserts it.
      (muse-publish-markup-heading): Handle 'section-other and
      'section-other-end.  Call `muse-publish-section-close' at end of
    * lisp/muse-texinfo.el (muse-texinfo-markup-strings): Use @subsubheading
      for 'section-other.
  7. @mwolson

    muse-docbook: table and anchor fixes; many non-MULE XEmacs fixes.

    mwolson authored
    * lisp/muse-docbook.el: More suggestions from Dale Smith, and non-MULE
      XEmacs fixes.
      (muse-docbook-markup-regexps): Deal with new table algorithm.
      (muse-docbook-transform-content-type, muse-docbook-encoding) 
      (muse-docbook-finalize-buffer): Non-MULE XEmacs fix.
      (muse-docbook-markup-table): Use a better table algorithm, based on the
      one in muse-html.el.  Make sure a <tgroup> surrounds the body, head,
      and foot of the table.  Use informaltable rather than table.
      (muse-docbook-fixup-tables): New function that sorts all tables found
      in the published document so that the order is head, foot, body.
      (muse-docbook-markup-functions): Add anchor handler.
      (muse-docbook-markup-paragraph): Allow anchors to occur at beginning of
      (muse-docbook-markup-anchor, muse-docbook-insert-anchor): New functions
      that insert an anchor at point.
    * lisp/muse-html.el (muse-html-transform-content-type)
      (muse-html-encoding, muse-html-finalize-buffer): Non-MULE XEmacs fixes.
    * examples/QuickStart (Anchors and tagged links): Improve anchor example.
    * lisp/muse.el (muse-eval-lisp): XEmacs fix.
    * lisp/muse.el (muse-with-temp-buffer): XEmacs fix.  Include the body
      that was evaluated in the output.
Commits on Jul 19, 2005
  1. @mwolson

    muse-texinfo: Improve formatting for enddots, dots, underline.

    mwolson authored
    * lisp/muse-texinfo.el (muse-texinfo-markup-strings): Improve translation
      of enddots and dots.  For begin-underline and end-underline, use "_",
      since we don't have anything better.
  2. @mwolson

    muse-texinfo: Fix #2635 by adding `}' and `{' to specials list.

    mwolson authored
    * lisp/muse-texinfo.el (muse-texinfo-markup-specials): Add `{' and `}' to
      list.  This should fix #2635.
  3. @mwolson

    muse-texinfo fixes; use info-pdf to generate PDF doc for QuickStart.

    mwolson authored
    * Makefile.defs (VERSION): Prepare snapshot 3.01.arch.160.
    * debian/changelog: Ditto.
    * debian/control (Build-Depends-Indep): Add tetex-bin.
    * examples/Makefile (%.pdf): Use info-pdf, since it generates nicer
      output for me.
    * examples/QuickStart: Remove stray <comment> now that the bug that made
      it necessary is fixed.
    * lisp/muse-blosxom.el: Credit Björn Lindström for his excellent
    * lisp/muse-texinfo.el (muse-texinfo-header, muse-texinfo-footer): Move
      the contents from the footer to the header.
    * lisp/muse-texinfo.el (muse-texinfo-markup-table): Insert space before
      each number, not after.
    * lisp/muse.el (muse-eval-lisp): Minor whitespace fix.
    * lisp/muse.el (muse-with-temp-buffer): Throw a backtrace if an error
      happens when doing batch publishing.  Minor whitespace fix.
  4. @mwolson

    Handle a few more DocBook edge cases; all known DocBook issues are fi…

    mwolson authored
    * examples/QuickStart: Add "Write me." to empty sections at end so that
      they publish correctly with DocBook.
    * lisp/muse-docbook.el (muse-docbook-markup-paragraph): Handle case where
      paragraph starts with emphasis, example, link, or email address.
  5. @mwolson

    Handle embedded docbook footnotes and <literal> edge case.

    mwolson authored
    * lisp/muse-docbook.el: Implement more suggestions from Dale Smith.
     (muse-docbook-markup-strings): Use systemitem for example text.
     (muse-docbook-markup-paragraph): Allow for embedded footnotes that have
     <para></para> inside of them.
    * lisp/muse-html.el (muse-html-escape-string): Don't deal with '&<>"'
      here at all.
    * lisp/muse-publish.el (muse-publish-url-transforms): Add
      muse-publish-escape-specials-in-string to list by default.
    * lisp/muse-publish.el (muse-publish-escape-specials): New optional third
      argument IGNORE-READ-ONLY determines whether or not to ignore the
      read-only property when transforming text.  Add docstring.
      (muse-publish-markup-word): Use non-nil third argument to
      muse-publish-escape-specials when we're publishing `='-delimited text.
      This allows =<literal><tag></literal>= to work as intended.
    * lisp/muse-publish.el (muse-publish-escape-specials-in-string): Ignore
      arguments after the first so that we can include this in
    * lisp/muse-publish.el (muse-publish-prepare-url): Add docstring.
  6. @mwolson

    Misc. blosxom fixes, like category directive.

    mwolson authored
    * contrib/pyblosxom/ Add file extension.
    * contrib/pyblosxom/ (get_all_timestamps): Omit file
      extension.  This will allow Muse to specify it once a
      timestamps-writing routine gets written.
    * lisp/muse-blosxom.el (muse-blosxom-update-page-date-alist): Pay
      attention to the "category" directive, if it exists.  Use file-truename
      instead of expand-file-name for base directory.
    * lisp/muse-blosxom.el (muse-blosxom-new-entry): Add #category directive
      by default.
    * lisp/muse-project.el (muse-project): Add :timestamps to list of
      available tags, even though it doesn't do anything yet.
Commits on Jul 18, 2005
  1. @mwolson

    Small logic fix with temp files.

    mwolson authored
    * lisp/muse.el (muse-with-temp-buffer): Use buffer-live-p instead of
      buffer-name to determine whether the buffer is still around.
  2. @mwolson

    Make customize of muse-project-alist work in Emacs21 and XEmacs.

    mwolson authored
    * lisp/muse.el (muse-widget-type-value-create)
      (muse-widget-child-value-get, muse-widget-type-match): Minimum set of
      extra widgets from 'lazy type that are needed to get the
      `muse-project-alist' customize interface to work on XEmacs and Emacs21.
    * lisp/muse.el (muse-implicit-link-functions)
      (muse-explicit-link-functions): Remove predefined wiki-related options.
      These are added in muse-wiki via custom-add-option.
    * lisp/muse-mode.el (muse-mode-hook): Ditto.
    * lisp/muse-colors.el (muse-colors-emphasized): Use eq instead of memq.
    * lisp/muse-project.el (muse-project-alist-get): Turn :symbols into
      ":strings" to cope with Emacs21 and XEmacs.
      (muse-project-alist-set): Turn ":strings" back into ":symbols".
    * lisp/muse-project.el (muse-project): Derive from 'default rather than
      'lazy, since that is an Emacs CVS-ism.  Separate logical groups with
      newlines.  Control indentation.  Remove an unnecessary inlined repeat.
    * lisp/muse-project.el (muse-project-alist): Use cons instead of alist,
      since XEmacs doesn't support the alist widget.  Deal with case where no
      projects are defined, or a strange expression is used.
    * lisp/muse-wiki.el: Insinuate muse-wiki link handlers and mode hook
      stuff using custom-add-option.
Something went wrong with that request. Please try again.