Jean Magnan de Bornier <[EMAIL PROTECTED]> writes:

> I have tried to define header, footer, extension on a per project basis,
> but have not succeeded until now; here is what I wrote in .emacs (last 3
> lines):
>
> (setq muse-project-alist
>       '(("Papiers" 
>        ("~/Papiers" :default "nouveau")
>        (:base "html" :path "~/Papiers/html")
>        (:base "latex" :path "~/Papiers/latex")
>        (:base "pdf" :path "~/Papiers/latex"))
>       ("blog" ; ou site univ
>        ("~/journal" :default "index")
>        (:base "journal-html" :path "~/journal/bloc-notes")
>        (:base "journal-rdf" :path "~/journal/bloc-notes"))
>       (setq muse-html-header "~/.muse/bloc/haut")
>       (setq muse-html-footer "~/.muse/bloc/bas")
>       (setq muse-html-extension ".php")
> )) 
>
> My emacs accepts to read the .emacs file but is not happy when I C-c C-p
> to publish the project:
>
> Wrong type argument: listp, muse-html-header

Try this.  Hmm, I should improve the "Projects" chapter of the Muse
manual to mention these things.

(setq muse-project-alist
      '(("Papiers"
         ("~/Papiers" :default "nouveau")
         (:base "html" :path "~/Papiers/html")
         (:base "latex" :path "~/Papiers/latex")
         (:base "pdf" :path "~/Papiers/latex"))
        ("blog" ; ou site univ
         ("~/journal" :default "index"
          :set (muse-html-header "~/.muse/bloc/haut"
                muse-html-footer "~/.muse/bloc/bas"
                muse-html-extension ".php"))
         (:base "journal-html" :path "~/journal/bloc-notes")
         (:base "journal-rdf" :path "~/journal/bloc-notes"))
        ))

-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: Emacs 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: pgpZ4xoRxe1PB.pgp
Description: PGP signature

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

Reply via email to