emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] Re: Wiki with one main and somesub-directories


From: Michael Olson
Subject: [emacs-wiki-discuss] Re: Wiki with one main and somesub-directories
Date: Thu, 21 Jul 2005 12:38:24 -0500
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

"Pascal Quesseveur" <address@hidden> writes:

>>"CM" == Chris McMahan <address@hidden> writes:
>
>   CM> Is there some form of directory recursion within Muse? If not,
>   CM> is there a way I can separate the dozens of pages I have
>   CM> within my planner directory into some semblance of
>   CM> organization?

Actually, come to think of it, it's not "multiple :path" tags.  Here's
an example project entry that explains it better.

'(
  ("Blog"
   ("/home/mike/proj/wiki/blog"
    "/home/mike/proj/wiki/blog/website"
    "/home/mike/proj/wiki/blog/quotes"
    "/home/mike/proj/wiki/blog/projects"
    "/home/mike/proj/wiki/blog/personal"
    :default "guestbook")
   (:base "my-blosxom"
    :path "/home/mike/personal-site/site/blog"
    :include "/blog/[^/]+$")
   (:base "my-blosxom"
    :path "/home/mike/personal-site/site/blog/website"
    :include "/website/")
   (:base "my-blosxom"
    :path "/home/mike/personal-site/site/blog/quotes"
    :include "/quotes/")
   (:base "my-blosxom"
    :path "/home/mike/personal-site/site/blog/projects"
    :include "/projects/")
   (:base "my-blosxom"
    :path "/home/mike/personal-site/site/blog/personal"
    :include "/personal/"))
 [other projects]
)

If you've got muse-blosxom loaded, that can be abbreviated as the
following.  Make sure you put a backtick "`" rather than a single
quote "'" before the muse-project-alist definition, though.

`(
  ("Blog"
   (,@(muse-blosxom-project-alist-dirs "~/proj/wiki/blog")
    :default "guestbook")
    ,@(muse-blosxom-project-alist-entry "~/proj/wiki/blog"
                                        "~/personal-site/site/blog"
                                        "my-blosxom"))
  [other projects]
)

Hmm, really should generalize this and stick it in muse-project.el ...

-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: anime, Debian, XHTML, wiki, Emacs Lisp
  /` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #pulug
 |_] | \| |_| Jabber: mwolson_at_hcoop.net

Attachment: pgpvl4Ft14YLa.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]