bug-idutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-idutils] idutils.el -vs- package.el


From: Tom Tromey
Subject: [bug-idutils] idutils.el -vs- package.el
Date: Tue, 10 Jul 2007 19:35:35 -0600

I had to restart Emacs the other day due to a power failure :-) and I
noticed that I hadn't set up my load-path, etc, to find idutils.el.

Since I wrote package.el I've just been installing things like this
using the package system instead of manual hacking of my .emacs.  In
order for this to work, though, the .el file has to follow some of the
elisp comment guidelines.

This patch fixes up idutils.el.  However, it isn't perfect, since it
puts the package version number into the .el file.  I wasn't sure what
to do here ... I could put an autoconf substitution here, but
package.el only wants to see "dotted numeric" versions, and the CVS
idutils has a version of "cvs".

The other hunks, I think, should be uncontroversial.

In case you want to learn more about package.el:

    http://tromey.com/elpa/

Tom

2007-07-10  Tom Tromey  <address@hidden>

        * lisp/idutils.el: Fixed comments.
        (gid): Added autoload comment.

Index: lisp/idutils.el
===================================================================
RCS file: /sources/idutils/idutils/lisp/idutils.el,v
retrieving revision 1.3
diff -u -r1.3 idutils.el
--- lisp/idutils.el     26 Jun 2007 22:53:28 -0000      1.3
+++ lisp/idutils.el     11 Jul 2007 01:47:12 -0000
@@ -1,7 +1,9 @@
-;;; idutils.el -- emacs interface to `lid -R grep', a.k.a. `gid'
+;;; idutils.el --- emacs interface to `lid -R grep', a.k.a. `gid'
 ;;; Copyright (C) 1995, 1996, 2006, 2007 Free Software Foundation, Inc.
 ;;; Greg McGary <address@hidden>.
 
+;; Version: 4.2
+
 ;; This file is part of GNU idutils.
 
 ;; GNU idutils is free software; you can redistribute it and/or modify
@@ -47,6 +49,7 @@
   "Specialization of compilation-mode for use with gid."
   nil)
 
+;;;###autoload
 (defun gid (args)
   "Run gid, with user-specified ARGS, and collect output in a buffer.
 While gid runs asynchronously, you can use the \\[next-error] command to
@@ -66,3 +69,5 @@
                       (regexp-quote args))))
 
 (provide 'idutils)
+
+;;; idutils.el ends here




reply via email to

[Prev in Thread] Current Thread [Next in Thread]