Rafael Laboissiere <[EMAIL PROTECTED]> wrote:

> Package: dpkg-dev-el
> Version: 24.9-2
> Severity: wishlist
> Tags: patch
> 
> Below is a patch to debian-changelog-mode.el that adds a hook for automatic
> inclusion of extra material in the changelog entries when creating a new
> version.  The hook is called debian-changelog-add-version-hook and contains
> at the startup a new function called
> debian-changelog-add-new-upstream-release, which includes the usual "New
> upstream release" entry.  This has been removed from
> debian-changelog-add-version.
> 
> For instance, I am using this hook privately like this:
> 
> (add-hook 
>   'debian-changelog-add-version-hook
>   (lambda () 
>     (save-excursion       
>       (forward-line -1)     
>       (beginning-of-line)
>       (insert "\n   NOT YET RELEASED!\n\n   +++ Changes by \n"))))
> 
> Please consider making this change or implementing something similar.

Interesting!  I'll look into this next week and will either use the
patch or add similar functionality.  I think the hook is a good idea
anyway, so I'll likely add it.  But having a defcustom to hold a default
entry might also be a good idea.

Merci !

Peter


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to