[Bug 246354] Re: std_comment.el: broken code for timestamp in Makefile

2009-11-27 Thread Paul Huygen
It seems that the value of kill-whole-line may cause the update function to eat the lines following the last update line. If this value is non-nil. the update function kills the last update line including the end-of-line character and generates a new last update line as a prefix to the

[Bug 246354] Re: std_comment.el: broken code for timestamp in Makefile

2009-11-27 Thread Paul Huygen
The following modification seems to fix the problem that I described in previous message: In the function definition of update-std-header in file std_comment.el, replace the lines: (kill-line) (rotate-yank-pointer 1) by: (let ((beg (point)))

[Bug 246354] Re: std_comment.el: broken code for timestamp in Makefile

2009-10-15 Thread claudel
I get identical problems when opening latex documents. The %% comments in front of the Last update lines is eaten by the macro that changes the time. This is not the case for bash scripts for instance. This could be related to my emacs setup but the template feature just appeared

[Bug 246354] Re: std_comment.el: broken code for timestamp in Makefile

2009-07-27 Thread era
In order to reproduce this, you need to enable Templates support and Automatique [sic] timestamp update when installing emacs-extra (or enable these options at run-time; I assume there is a way to do that, although the general impression of the quality of this package will make you take few things

[Bug 246354] Re: std_comment.el: broken code for timestamp in Makefile

2009-07-27 Thread era
The proposed patch does not appear to solve the issue for me. The syntax error is certainly an error, but correcting it does not cause the reported problem to go away. (Jaunty live CD, emacs22, emacs-extra 0.1) -- std_comment.el: broken code for timestamp in Makefile

[Bug 246354] Re: std_comment.el: broken code for timestamp in Makefile

2009-07-27 Thread era
When opening a Makefile, the default mode is GNUmakefile-mode. Manually switching to M-x makefile-mode works around the problem that std_header.el does not have the correct settings for GNUmakefile-mode. The syntax error in std_comment.el does not seem to affect this at all. It seems mildly