The problem is that you're quoting (using the shorthand ') your variables,
which means they will appear as symbols in your list and not be substituted.

Compare this:

(setq muse-project-alist
      (list
       '("website"            ; my various writings
     ("~/Pages" :default "index")
     (:base "html" :path "~/public_html")
     (:base "pdf" :path "~/public_html/pdf"))
       (list "Info"
         (list muse-path :default "index")
         (list :base "html" :path (concat muse-path "\\HTML")))))

If you want a nicer muse-define-project syntax, write a method or play
around with a macro :)

// Martin

On Tue, Nov 2, 2010 at 7:30 PM, Peter Davis <[email protected]> wrote:

> I'm trying to set up Muse so that my projects (and ultimately my emacs
> setup files) live in a Dropbox folder.  I've set an environment variable,
> DROPBOX, to where the folder is mounted on my Win7 system.  However, I can't
> publish my projects.  My emacs init.el contains:
>
> (setq drop-box (getenv "DROPBOX"))
> (setq muse-path (concat drop-box "\\Muse"))
> (setq load-path (add-to-list 'load-path "~/emacsdir/muse/lisp"))
> (require 'muse-mode)
> (require 'muse-html)
> (require 'muse-latex)
> (require 'muse-project)
> (setq muse-project-alist
>           '(("website"            ; my various writings
>              ("~/Pages" :default "index")
>              (:base "html" :path "~/public_html")
>              (:base "pdf" :path "~/public_html/pdf"))
>             ("Info"
>              (muse-path :default "index")
>              (:base "html" :path (concat muse-path "\\HTML"))
>              )))
>
> But when I try to C-c C-p, I get:
>
>    Assertion failed: (file-name-directory path)
>
>
> Any clues about what I'm doing wrong, or how to fix it?
>
> Thank you!
>
> -pd
>
>
> --
> --------
> Peter Davis
>  The Tech Curmudgeon - http://www.techcurmudgeon.com
> Ideas Great and Dumb - http://www.ideasgreatanddumb.com
>
>
> _______________________________________________
> Muse-el-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/muse-el-discuss
>
_______________________________________________
Muse-el-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/muse-el-discuss

Reply via email to