2008-07-07 18:08:56 |
Stephan Fabel |
bug |
|
|
added bug |
2009-06-07 20:11:03 |
irb6 |
description |
When creating a new Makefile by visiting a new file, a template of a Makefile is automatically inserted by Emacs. Included is a timestamp that will update as the file is saved. However, it deletes the comment sign while updating, thus causing the successive 'make' call to fail.
For example, this is how the Makefile lines 7 and 8 look like before a save, when visiting the new file:
## Started on Mon Jul 7 08:07:04 2008 Stephan Fabel
## Last update Mon Jul 7 08:07:04 2008 Stephan Fabel
After the save, it looks like this:
## Started on Mon Jul 7 08:07:04 2008 Stephan Fabel
Last update Mon Jul 7 08:08:06 2008 Stephan Fabel
There is no way other than deleting line 8 to circumvent this behavior. |
When creating a new Makefile by visiting a new file, a template of a Makefile is automatically inserted by Emacs. Included is a timestamp that will update as the file is saved. However, it deletes the comment sign while updating, thus causing the successive 'make' call to fail.
For example, this is how the Makefile lines 7 and 8 look like before a save, when visiting the new file:
## Started on Mon Jul 7 08:07:04 2008 Stephan Fabel
## Last update Mon Jul 7 08:07:04 2008 Stephan Fabel
After the save, it looks like this:
## Started on Mon Jul 7 08:07:04 2008 Stephan Fabel
Last update Mon Jul 7 08:08:06 2008 Stephan Fabel
There is no way other than deleting line 8 to circumvent this behavior.
This problem can be solved by fixing bug in
/usr/share/emacs-extra/misc/std_comment.el
One should find function "update-std-header ()". In this function there is a line
(insert-string (concat(std-get 'cc)
that should be changed to
(insert-string (concat (std-get 'cc)
|
|
2009-06-07 20:11:42 |
irb6 |
description |
When creating a new Makefile by visiting a new file, a template of a Makefile is automatically inserted by Emacs. Included is a timestamp that will update as the file is saved. However, it deletes the comment sign while updating, thus causing the successive 'make' call to fail.
For example, this is how the Makefile lines 7 and 8 look like before a save, when visiting the new file:
## Started on Mon Jul 7 08:07:04 2008 Stephan Fabel
## Last update Mon Jul 7 08:07:04 2008 Stephan Fabel
After the save, it looks like this:
## Started on Mon Jul 7 08:07:04 2008 Stephan Fabel
Last update Mon Jul 7 08:08:06 2008 Stephan Fabel
There is no way other than deleting line 8 to circumvent this behavior.
This problem can be solved by fixing bug in
/usr/share/emacs-extra/misc/std_comment.el
One should find function "update-std-header ()". In this function there is a line
(insert-string (concat(std-get 'cc)
that should be changed to
(insert-string (concat (std-get 'cc)
|
When creating a new Makefile by visiting a new file, a template of a Makefile is automatically inserted by Emacs. Included is a timestamp that will update as the file is saved. However, it deletes the comment sign while updating, thus causing the successive 'make' call to fail.
For example, this is how the Makefile lines 7 and 8 look like before a save, when visiting the new file:
## Started on Mon Jul 7 08:07:04 2008 Stephan Fabel
## Last update Mon Jul 7 08:07:04 2008 Stephan Fabel
After the save, it looks like this:
## Started on Mon Jul 7 08:07:04 2008 Stephan Fabel
Last update Mon Jul 7 08:08:06 2008 Stephan Fabel
There is no way other than deleting line 8 to circumvent this behavior.
------------------------------------------------------------------------------------------
This problem can be solved by fixing bug in
/usr/share/emacs-extra/misc/std_comment.el
One should find function "update-std-header ()". In this function there is a line
(insert-string (concat(std-get 'cc)
that should be changed to
(insert-string (concat (std-get 'cc)
|
|
2009-06-07 20:12:55 |
irb6 |
summary |
Timestamp in Makefile |
[SOLVED] Timestamp in Makefile |
|
2009-07-27 08:24:26 |
era |
affects |
emacs22 (Ubuntu) |
emacs-extra (Ubuntu) |
|
2009-07-27 08:25:17 |
era |
summary |
[SOLVED] Timestamp in Makefile |
std_comment.el: broken code for timestamp in Makefile |
|
2009-07-27 10:53:05 |
era |
emacs-extra (Ubuntu): status |
New |
Confirmed |
|