emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: make bootstrap fails due to grep autoload


From: Daniel Pfeiffer
Subject: Re: make bootstrap fails due to grep autoload
Date: Fri, 10 Sep 2004 21:26:03 +0200

Saluton,

Stefan Monnier <address@hidden> skribis:

> > ;;;###autoload
> > (define-compilation-mode grep-mode "Grep"
> 
> Why would anyone want to autoload `grep-mode'?

The current compile and its submodes put a first line like

cd ~/.emacs.d/cvs/      # -*-compilation-*-
cd ~/.emacs.d/cvs/      # -*-grep-*-

such that the output can be saved and later reused.  So having these modes be
autoloadable does make some sence.

> Maybe we want to put
> 
>         (autoload 'grep-mode "grep" nil t)
> 
> in compile.el so that code that does (require 'compile) in order to get
> `grep-mode' still works, but the autoload has nothing to do in loaddefs.el

This wouldn't fulfill the above need.  I'd have assumed that using the long
form of

;;;autoload (...)

would solve this, but I didn't understand what the comment (since removed)
said about that not working.

coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn
Daniel Pfeiffer

-- 
lerne / learn / apprends / lär dig / ucz się    Esperanto:
                              http://lernu.net/




reply via email to

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