forfan <[EMAIL PROTECTED]> writes:

>> "forfan forfan" <[EMAIL PROTECTED]> writes:
>>> Now, I can set different folders in one project in dot emacs file:
>>> (setq muse-project-alist
>>> '(("ProjectA"
>>> ("/somewhere/A"
>>>  "/somewhere/A/A-b"
>>>  "/somewhere/A/A-c"
>>>  :default "index")
>>>  (:base "xhtml"
>>>    :path "/somewhere/html"))))
>>>
>>> but all the project files are published to /somewhere/html.
>>> I trid to add different publish folders in :path section, but failed.
>>> Does muse support this operation?
>>>     
>>
>> Yes.  See examples/mwolson/muse-init.el, my muse-project-alist entry
>> for "Blog".  It's kind of ugly, I admit, but I can't think of a better
>> way to do it at the moment.
>>
>>   
> I added the following code to my .emacs.el
> ...
> ("A" (,@(muse-project-alist-dirs "~/A")
> :default "index"
> ,@(muse-project-alist-styles "~/A"
> "~/html/A"
> "xhtml"))
> .....
>
> It does not work. When edit muse file under ~/A and publish it with
> c-c c-p, muse ask me "publish project", it seems project A is not
> identified by muse.  What's wrong with my code?

I don't know what you mean by "publish project" here.   I need the
exact error message in order to be of help.

Often, you need to restart Emacs before that construct will work.  If
it still does not work after that, do C-h v muse-project-alist RET and
send me the entire output.

-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: Lisp, text markup, protocols -- Jabber: mwolson_at_hcoop.net
  /` |\ | | | Projects: Emacs, Muse, ERC, EMMS, Planner, ErBot, DVC
 |_] | \| |_| Reclaim your digital rights by eliminating DRM.
      See http://www.defectivebydesign.org/what_is_drm for details.

Attachment: pgpRoWrIHMoR0.pgp
Description: PGP signature

_______________________________________________
Muse-el-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/muse-el-discuss

Reply via email to