mode/with-mode

Subject: mode/with-mode
From: Jon Haugsand <Jon.Haugsand@xxxxx>
Date: 23 Aug 1999 15:24:50 +0200

I frequently come up with a need to use mode and with-mode with
parameters. Why isn't this included in the dsssl spec and/or Jade?
Here is an example:

(mode menu colored-items

(element title (if (member (data (current-node)) colored-items)
                   (make element gi: "font" attribute: (list......))))

)

...

(with-mode menu (current-node) '("important" "main menu"))

-- 
Jon Haugsand
  Norwegian Computing Center, <http://www.nr.no/engelsk/> 
  <mailto:haugsand@xxxxx>  Pho: +47 22852608 / +47 22852500, 
  Fax: +47 22697660, Pb 114 Blindern, N-0314 OSLO, Norway



 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread