Next: , Previous: Index Menu, Up: Top


11 Change Logs

PHP mode can help generate ChangeLog files, a widely-adopted format for documenting the changes made to source code–especially software. PHP mode and Emacs will determine the current function, file name, author information and date and use it all to prepare a properly formatted ChangeLog entry in the file.

The add-change-log-entry commands can be run from within a buffer containing a PHP buffer, or from a buffer in Diff mode with a revision patch to a PHP source file. See Diff Mode.

C-x 4 a
Add an entry in a ChangeLog file opened in another window, or add a new line to the already begun entry (add-change-log-entry-other-window). Provides the file name and the respective function name, when applicable, for the current point. The point can be in a PHP source file, or in the hunk of a diff file.1 This command will also add the current author and date to the entry.

Footnotes

[1] See Diff Mode.