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

  JMdB> I just define a new style for each project, like so...
  >> 
  >> 
  JMdB> (muse-derive-style "bioont-06-xhtml" "html" :header

  JMdB> Thanks! For header and footer it works; I tried to add a line:
  JMdB> :extension ".php"

Yeah, I've had this working. This comes from something I wrote

;; define an ht style. 
(muse-derive-style "ht" "html"
                   :after     'muse-ht-finalize-buffer
                   :strings   'muse-ht-markup-strings
                   :browser   'muse-ht-browse-file
                   :suffix    'muse-ht-extension
                   :header    'muse-ht-header
                   :footer    'muse-ht-footer)
  
(defvar muse-ht-extension ".ht")

Haven't used this for ages, but I assume that it is still working. I
can't remember whether I passed in the variable for completeness or
because it needs a variable. Anyway, you might try this

(setq blah-extension ".blah")

(muse-derive-style "blah" "blah"
                   :suffix 'blah-extension)


if the simpler 

(muse-derive-style "blah" "blah"
                   :suffix ".php")

doesn't work. 


 


  JMdB> and that one doesn't seem to be recognized :-( ...
  >> 
  JMdB> | I also posted recently, the muse-settings package which
  JMdB> allows me to | do this using a file in the same directory as
  JMdB> the .muse files (my | project alist form was getting silly).

  JMdB> Was it posted in this list (I didn't find it)?


Yeah, I did. At least I think so. Attached it again, in case not. 

Beware, this is something I knocked up recently, because I really
wanted it. It works for me, but I haven't started to use it in a more
complex fashion yet. In short, it may well crash on you. 

Cheers

Phil


Attachment: muse-settings.el
Description: application/emacs-lisp

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

Reply via email to