Roussanka Loukanova
rlouk****@stp*****
Wed Feb 14 01:10:38 JST 2007
Hi, On Tue, 13 Feb 2007, irodo****@irodo***** wrote: [...] >> I had that feature in the Emacs under Linux automatically, without adding >> anything to my .emacs. And I used to get an initial template for html >> content, including time stamp updating feature (with Date created and >> Last time updated), when I would start up a new file with extension .html. >> This feature works by default for Aquamacs under Mac too (I've just >> tested it). But I do not know how to get this with Carbon Emacs, which >> is my text editor for everything on my MacBook Pro Intel. > > However, this feature works with Carbon Emacs Jan 2007(v2) on my > PowerMac G4/PPC. I'm not sure, but this problem may occur only Intel > Mac. > > Could you try some commands on yor Mac? > > M-x html-helper-mode ; run on non-html file it seems working (I am only guessing, because I've never used this): I opened a test.tex file. After <M-x html-helper-mode>, the tex syntax coloring disappeared, but this was everything that I got. > M-x html-helper-mode-run ; run on empty buffer I've started up a new file "test" with no extension, After <M-x html-helper-mode-run> I got an html template (exactly similar to the one with Aquaemacs): <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <title></title> </head> <body> <h1></h1> <hr> <address></address> <!-- hhmts start --> <!-- hhmts end --> </body> </html> > M-: (html-helper-update-timestamp) I issued (i.e., typed) this in the mini-buffer of the above file: it seems working, because I got the time: <!-- hhmts start --> Last modified: Tue Feb 13 17:00:33 CET 2007 <!-- hhmts end --> When I saved this file as test.html, the time got updated to: <!-- hhmts start --> Last modified: Tue Feb 13 17:02:02 CET 2007 <!-- hhmts end --> But then, if I make changes and save them with Ctrl-x Ctrl-s, the time is not updated. If I issue again <M-: (html-helper-update-timestamp)>, I get the following in a new sub-window *Backtrace*: Debugger entered--Lisp error: (void-function html-helper-timestamp) (html-helper-timestamp) eval((html-helper-timestamp)) eval-expression((html-helper-timestamp) nil) call-interactively(eval-expression) I do not now what to do with this now :) Roussanka > If these commands not work, I think that Carbon Emacs's html-helper > package have fatal problem. > > Best regards, > > -- > Eiji Honjoh > > irodori RINGO - little tools for Mac OS X > http://irodori.sakura.ne.jp/ > _______________________________________________ > macemacsjp-english mailing list > macem****@lists***** > http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english >