Roussanka Loukanova
rlouk****@stp*****
Tue Feb 13 19:05:17 JST 2007
Hi, On Tue, 13 Feb 2007, irodo****@irodo***** wrote: > Hi Adrian, > > At Mon, 12 Feb 2007 20:10:42 -0500 (EST), > Adrian Burd wrote: >> I've just started to use the Carbon Emacs package (I've been a long >> time emacs user on Linux systems). >> I'm using a simplified version of my .emacs file from my Linux setups >> but for some reason, the automatic >> time stamp updating feature in html-helper is not working. On my >> Linux box, this allows for an automatic >> update of the time stamp on an html file when the file is saved after >> editing it. On the Mac however, >> the timestamp is automatically inserted in a new file on the first >> save after it is created, but after that, it >> is never automatically updated. 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. > > Please set html-helper-do-write-file-hooks to `t'. > > (setq html-helper-do-write-file-hooks t) I've put this in my ~/.emacs file, but it doesn't work. Even if I create a file with my own template for test.html file, and not even if I insert Timestamp delimiter: it does not save any time. It would be very nice to have these features for html files with Carbon Emacs. Roussanka > > # by default, this value is `t'. > > It means add html-helper-update-timesamp function to > local-write-file-hooks. If you overwrite hook in .emacs.el, > that settings may be lost. > > 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