From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wojciech Meyer Newsgroups: gmane.emacs.devel Subject: Re: autoload cookies for defcustoms Date: Tue, 31 Aug 2010 00:52:25 +0100 Message-ID: <8762yrr746.fsf@gmail.com> References: <2DC911234A9B4A6ABD34459FB8C26C1C@us.oracle.com> <87fwxxoio1.fsf@gmail.com> <4d7hj99qtc.fsf@fencepost.gnu.org> <87k4n8z3it.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1283213450 3844 80.91.229.12 (31 Aug 2010 00:10:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 Aug 2010 00:10:50 +0000 (UTC) Cc: Wojciech Meyer , Stefan Monnier , Drew Adams , 'Emacs-Devel devel' To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 31 02:10:44 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OqER1-0002nX-LG for ged-emacs-devel@m.gmane.org; Tue, 31 Aug 2010 02:10:43 +0200 Original-Received: from localhost ([127.0.0.1]:43572 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqER0-0005Xv-Vp for ged-emacs-devel@m.gmane.org; Mon, 30 Aug 2010 20:10:43 -0400 Original-Received: from [140.186.70.92] (port=36839 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqEPO-0004Tn-8z for emacs-devel@gnu.org; Mon, 30 Aug 2010 20:09:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OqEA7-00085Y-Iy for emacs-devel@gnu.org; Mon, 30 Aug 2010 19:53:16 -0400 Original-Received: from mail-ww0-f41.google.com ([74.125.82.41]:38123) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqEA7-00085Q-9H; Mon, 30 Aug 2010 19:53:15 -0400 Original-Received: by wwj40 with SMTP id 40so519175wwj.0 for ; Mon, 30 Aug 2010 16:53:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=StcbBRyeN2+UpoY3+TbTl1+3LmANe4WJgbcDz7GOO0Q=; b=qRNdDd0Hx4xhWotvPQiikddebpoT3HE+RSnTLahh4iHNsyxPzKEjRT50DfF/39NrSG Q7X5c5RfQarbn0QE3I9UDJ3SGdE4CpgxmEu+/t3YwiYzZNLkTe2y9sj7n6nADk8S/gSi 2rGz+HhQ9o0XuhU32qtCfL24m/4gRb2yi+RyE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=Pm+2va7XIEv8X9Kde/lcvdleR3DP6r187y1l/iL+W4An7Ap+qpvjjJyD2Oqf0yQ5ot brUTMMfoamO7cd3GUew0ZtMfNH1Y/heIQb7q3qtuwoTuwpwhvMm2ULIUvgohQJ9+BBRB GrKX4Z4h0vuGzmAxv/KPiH9E82Vt7s6t0smAo= Original-Received: by 10.227.157.84 with SMTP id a20mr5164063wbx.32.1283212394078; Mon, 30 Aug 2010 16:53:14 -0700 (PDT) Original-Received: from spec-desktop.specuu.com (host86-132-220-144.range86-132.btcentralplus.com [86.132.220.144]) by mx.google.com with ESMTPS id b23sm7025761wbb.22.2010.08.30.16.53.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 30 Aug 2010 16:53:13 -0700 (PDT) In-Reply-To: (Glenn Morris's message of "Mon, 30 Aug 2010 19:20:04 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:129465 Archived-At: Glenn Morris writes: > Wojciech Meyer wrote: > >> toplevel code evaluated). It is up to maintainers what to do with the >> patch, it just shows `defcustoms' with `autoload'. I might refine it if >> somebody comes up with rules to follow. > > You can't really come up with a rule. The problem is often historical. > People get used to using these variables in their .emacs without > loading the associated packages. Removing the autoloads breaks their > .emacs. And there's no compatible way to get from here to there (eg > you cannot mark an autoload obsolete, not that anyone would notice > anyway). > > Some examples of such problems are > > > http://lists.gnu.org/archive/html/emacs-devel/2008-03/msg00956.html > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2150 Thanks for pointing this out. Yes, I can see the problem, but wouldn't be that solved using some kind of dependency tracker and `require'? Cheers; Wojciech