Re: about muse-browse-result
Michael Olson <[email protected]> Mon, 08 May 2006 04:59:21 -0400
| Newsgroups | gmane.emacs.wiki.general |
|---|---|
| Message-ID | <[email protected]> |
"kid kid" <[email protected]> writes: > Hello! I'm using muse 3.02.6 and GNU Emacs 22.0.50.1 . After I wrote a > page and publish the project using C-c C-p, I use M-x > muse-browse-result to preview the result. But it look for the > published file in the current directory ignoring what I've defined in > my muse-project-alist and of course, it can't find the published file > in the current directory where the source file is put. I follow the > function of muse-browse-result and find that it call > muse-publish-get-style to fetch the styles that may contains the > ``:path'' property, but muse-publish-get-style simply return value in > muse-publishing-styles, totally ignores what's defined in > muse-project-alist. It says the variable ``muse-publishing-styles'' > get automatically generated when loading publishing styles, but it > seems not contains the publishing path? So I hacked > muse-publish-get-style form > >[snip] Thanks for the detailed report! I had known about this for a while and filed a bug in our bug-tracker, but had not fixed it yet. I've now committed a fix for this behavior in the development version of Muse. I chose to modify `muse-publish-get-style' to accept an optional argument to specify the styles to use. Then, I modified `muse-browse-result' to take the styles in the current project and prepend their base name before passing to `muse-publish-get-styles', so that completion works. -- Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/ Interests: Emacs Lisp, text markup, protocols -- Jabber: mwolson_at_hcoop.net /` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #PurdueLUG |_] | \| |_| Project involvement: Emacs, Muse, Planner, ERC, EMMS _______________________________________________ emacs-wiki-discuss mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss
signature.asc
(application/pgp-signature, 190 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEXwhs+1Ho2POo0xkRAsAQAJ9H9itwHLb9BzGPQfW83cwHJBpkrwCdGbj+ vAploeLcZ90mfV8bQ0mea+4= =6Qpd -----END PGP SIGNATURE-----