On 2008-05-12 18:05 +0200, Pierre Habouzit wrote:

> On Mon, May 12, 2008 at 03:36:07PM +0000, Sven Joachim wrote:
>> Depending on emacsen-common should be enough, see #435023.  Pulling in
>> 86k is not so much of a bloat, I think.
>
>   Well, the policy explicitly marks that as forbidden, but if it's not,
> then yeah, it's totally acceptable. I'll add it in a next upload then.

It might be even better to just skip byte-compilation and use the
uncompiled file, /usr/share/emacs/site-lisp/cmake-mode.el.  That's in
line with the emacsen policy:

,----
| 5) Packages with only marginal emacs relevance
| 
|    Generally, if a normal package just contains some emacs helper
|    files, and does not need to perform any byte-compilation or other
|    emacs dependent activities upon installation (for performance or
|    other reasons), then it is not necessary to specify a dependency on
|    emacsen or any flavor of emacs, and the package may just include
|    files located in the standard emacs add-on directories.
`----

Some other packages, e.g. mercurial and tcsh, do that.  And since
cmake-mode.el is very small, the performance penalty of loading it
uncompiled is totally negligible.  Plus, you avoid the need of
maintaining the cmake.emacsen-{install,remove} scripts.  You should keep
cmake.emacsen-startup for setting up the autoloads, though.

Sven



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

Reply via email to