[Pkg-octave-commit] rev 253 - trunk/www

Rafael Laboissiere rafael at costa.debian.org
Mon Sep 19 13:40:45 UTC 2005


Author: rafael
Date: 2005-09-19 13:40:45 +0000 (Mon, 19 Sep 2005)
New Revision: 253

Modified:
   trunk/www/DOG-Guidelines.txt
Log:
Added code for the "eval" line in the "Local Variables" section of the
debian/changelog files.


Modified: trunk/www/DOG-Guidelines.txt
===================================================================
--- trunk/www/DOG-Guidelines.txt	2005-09-19 13:40:00 UTC (rev 252)
+++ trunk/www/DOG-Guidelines.txt	2005-09-19 13:40:45 UTC (rev 253)
@@ -48,10 +48,21 @@
     Local Variables:
     debian-changelog-full-name: "Debian Octave Group"
     debian-changelog-mailing-address: "pkg-octave-devel at lists.alioth.debian.org"
+    eval: (add-local-hook
+      'debian-changelog-add-version-hook
+      (lambda ()
+        (save-excursion
+          (forward-line -1)
+          (beginning-of-line)
+          (insert "\n   NOT YET RELEASED!\n\n   +++ Changes by "
+            (or (getenv "DEBFULLNAME") (user-full-name)) "\n"))))
     End:
 
 This is a great help when using (X)Emacs with the debian-changelog-mode and
-hitting [(control) c] [(control) c].
+hitting [(control) c] [(control) v] for starting a new version entry of
+[(control) c] [(control) c] for closing an opened version entry.  Notice
+that for the "eval" code above to work, version 24.12-1 or later of the
+dpkg-dev-el must be installed.
 
 
 3. SVN repository
@@ -175,6 +186,9 @@
 
     --
 
+In (X)Emacs, the text shown above is automatically inserted, thanks to the
+"eval" code in the "Local Variables" section of the file (see section 2).
+
 Notice the absence of signature and release date.  dpkg-buildpackage will
 refuse to build a package with such an entry at the top of debian/changelog.
 




More information about the Pkg-octave-commit mailing list