not sure what the correct policy is but for emacs users one can use these macros (I think Anders first handed them) to change the time stamp when saving the file.
Johan ############################################## ; this fragment originally came from the web somewhere, but the outline-regexp ; was horribly broken and is broken in all instances of this code floating ; around. Finally fixed by Charl P. Botha <<a href="http://cpbotha.net/">http://cpbotha.net/</a>> (defun local-python-mode-hook () (setq outline-regexp "[^ \t\n]\\|[ \t]*\\(def[ \t]+\\|class[ \t]+\\)") ; enable our level computation (setq outline-level 'py-outline-level) ; do not use their \C-c@ prefix, too hard to type. Note this overides ;some python mode bindings (setq outline-minor-mode-prefix "\C-c") ; turn on outline mode (outline-minor-mode t) ; initially hide all but the headers (hide-body) (show-paren-mode 1) ; Add information to time-stamp function (setq time-stamp-start "__date__ = .* -- "; start of pattern time-stamp-end "\"" ; end of pattern time-stamp-active t ; do enable time-stamps time-stamp-line-limit 20 ; check first 20 lines time-stamp-format "%04y-%02m-%02d") ; date format ) (defun local-c++-mode-hook () ; Add information to time-stamp function (setq time-stamp-start "Last changed: "; start of pattern time-stamp-end "\n" ; end of pattern time-stamp-active t ; do enable time-stamps time-stamp-line-limit 20 ; check first 20 lines time-stamp-format "%04y-%02m-%02d") ; date format ) On 08/21/2012 10:48 AM, Joachim Berdal Haga wrote: > I was wondering -- is it necessary to keep the source headers up-to-date: > > Modified by Joachim B Haga 2012 > Last changed: 2012-08-20 > etc > > It's easy to forget, and the information is already in bzr in a much > more detailed and reliable form... > > -j. > > _______________________________________________ > Mailing list: https://launchpad.net/~dolfin > Post to : dolfin@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dolfin > More help : https://help.launchpad.net/ListHelp > _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : dolfin@lists.launchpad.net Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp