From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: defcustom: changing from defvar - order of execution Date: Fri, 06 May 2005 13:38:59 -0400 Organization: Bell Sympatico Message-ID: <87k6mcgsts.fsf-monnier+gnu.emacs.help@gnu.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1115401988 15595 80.91.229.2 (6 May 2005 17:53:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 6 May 2005 17:53:08 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 06 19:53:01 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DU6zt-0001g0-VZ for geh-help-gnu-emacs@m.gmane.org; Fri, 06 May 2005 19:52:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DU77f-0006iJ-75 for geh-help-gnu-emacs@m.gmane.org; Fri, 06 May 2005 14:00:23 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.news.ucla.edu!cyclone.bc.net!snoopy.risq.qc.ca!News.Dal.Ca!ursa-nb00s0.nbnet.nb.ca!nf3.bellglobal.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:8/qw8VAa/niWY7WqUiliasVlIxI= Original-Lines: 22 Original-NNTP-Posting-Host: 67.71.26.61 Original-X-Complaints-To: abuse@sympatico.ca Original-X-Trace: news20.bellglobal.com 1115401139 67.71.26.61 (Fri, 06 May 2005 13:38:59 EDT) Original-NNTP-Posting-Date: Fri, 06 May 2005 13:38:59 EDT Original-Xref: shelby.stanford.edu gnu.emacs.help:130729 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:26381 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26381 > I see things like this fairly commonly, at the top level of the standard > Emacs libraries: All these examples don't seem relevant since nowhere is it suggested to the user to load the library in her .emacs. > To me, it makes sense to generally avoid using user options at the top level > of the library that defines them, but I'm not sure such avoidance is always > feasible. In any case, as the above examples show, the standard libraries > are themselves full of counter examples. What makes more sense is to discourage loading of packages in .emacs. Instead users should only set vars, setup autoloads, ... > No doubt I'm still missing something - please help me understand. I want to > fix the "bug in the elisp library" in question, but I don't know how to > proceed. I want a user to be able to just load the library and go Why would she need to load the library? Stefan