Re: [LIP] Elegant changelog generation in Emacs

alephnull-osWhnui/M7A+7tqfrXfpIp/[email protected] (Alok G. Singh)
Newsgroups gmane.user-groups.linux.india.programmers
Organization Home
Message-ID <[email protected]>
On 18 Jul 2007, [email protected] wrote:

> However, the default format adds only a date-based
> entry and doesn't store the time at which the entry was made. I was
> wondering whether someone who is using the system could tell me
> whether there is a way to alter this behaviour with Emacs' existing
> ChangeLog system,

>From the documentation for add-log-time-format
,----
| 
| add-log-time-format is a variable defined in `add-log.el'.
| Its value is 
| add-log-iso8601-time-string
| 
| 
| Documentation:
| Function that defines the time format.
| For example, `add-log-iso8601-time-string', which gives the
| date in international ISO 8601 format,
| and `current-time-string' are two valid values.
| 
| You can customize this variable.
`----

Setting this to current-time-string seems to do what you want.

> Also, is there a general custom followed for ChangeLogs in the FOSS
> world? From what I have seen of application ChangeLogs, they seem to
> vary for most software.

Most of these formats are side-effects of external utilities that
parse the changelog (to summarise in a release note, for
instance). Keeping to the default Emacs format has been sufficient for
my (albeit modest) requirements.

-- 
Alok

If you have to ask what jazz is, you'll never know.
		-- Louis Armstrong


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.