Work on getting to the point where we can resolve project interwiki links.
commite248de6f2889c68c3713a2fa8e3204e89b00730b
authorMichael Olson <mwolson@gnu.org>
Wed, 6 Jul 2005 06:39:21 +0000 (6 06:39 +0000)
committerMichael Olson <mwolson@gnu.org>
Wed, 6 Jul 2005 06:39:21 +0000 (6 06:39 +0000)
tree8cdbb0ef249deaf22a5a16f8b90375c28c9722e6
parenta25dd931440d61ab50fbe2aafde42b479d40d926
Work on getting to the point where we can resolve project interwiki links.

* lisp/muse-blosxom.el (muse-blosxom-markup-date-directive): Use
  `muse-publishing-current-file'.

* lisp/muse-project.el (muse-project-of-file): Ditto.

* lisp/muse-project.el (muse-project-applicable-styles): New function
  that returns the usable styles for a file, given either a list of
  styles or a project name.  This is useful for removing styles that will
  be ignored for a file.
  (muse-project-publish-file): Split :include and :exclude processing
  into `muse-project-applicable-styles'.

* lisp/muse-publish.el (muse-publish-output-name): Use
  `muse-publishing-current-file'.

* lisp/muse-publish.el (muse-publish-file): Don't set `muse-current-file'.

* lisp/muse-wiki.el (muse-wiki-update-interwiki-regexp): Recognize
  project names.

* lisp/muse-wiki.el (muse-wiki-transform-wikiword): Don't cause project
  names to be uninterpreted.  Remove need for muse-assoc-string.

* lisp/muse-wiki.el (muse-wiki-resolve-project-page): First draft of
  function that will be called to fetch a link to a page from a Muse
  project from the output file of the currently-published file.  This is
  commented out for now since I ran out of energy.

* lisp/muse-wiki.el (muse-wiki-handle-interwiki): Use
  `muse-wiki-resolve-project-page' for handling Muse project interwiki
  links, but only when no match was found in `muse-wiki-interwiki-alist'.
  Handle case where no interwiki can be found, even though this should
  never happen.

* lisp/muse-wiki.el (muse-mode-hook): Update `muse-wiki-interwiki-regexp'
  whenever Muse mode is entered.  That way we don't have to enter an
  extra command in our .emacs.

* lisp/muse.el (muse-current-file): Remove this, since a variable called
  `muse-publishing-current-file' already exists that does the same thing.
  How embarrassing.

* lisp/muse.el (muse-page-name): Use `muse-publishing-current-file'.

* lisp/muse.el (muse-assoc-string): Remove this, since we no longer need
  to use it.

git-archimport-id: mwolson@gnu.org--2005/muse--main--1.0--patch-91
ChangeLog
lisp/muse-blosxom.el
lisp/muse-project.el
lisp/muse-publish.el
lisp/muse-wiki.el
lisp/muse.el