help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Coding Convections - Enabling a feature by loading a file


From: Stefan Monnier
Subject: Re: Coding Convections - Enabling a feature by loading a file
Date: 04 Jun 2003 17:13:45 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>>>> "Peter" == Peter S Galbraith <address@hidden> writes:
> feature').  But what is the rationale behind the loading of a package
> having no visisble effect?  If the only purpose of a package is to

A package might be loaded implicitly by something like `customize'
just to get the list of groups/variables it offers.  You wouldn't
want to turn a feature ON just because you're browsing some of the
related variables (you might even be browsing something that you didn't
know was related).

>      (require 'bar-cursor)
>      (bar-cursor-mode 1)
> instead of only:
>      (require 'bar-cursor)

It should be only

   (bar-cursor-mode 1)

because bar-cursor-mode should be autoloaded.


        Stefan


reply via email to

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