From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: Defcustoms, how do users find them? Date: Tue, 17 Nov 2009 12:24:21 -0500 Message-ID: <9ivdh9awu2.fsf@fencepost.gnu.org> References: <87ocn1fnko.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258478686 15418 80.91.229.12 (17 Nov 2009 17:24:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Nov 2009 17:24:46 +0000 (UTC) Cc: Emacs-Devel devel To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 17 18:24:39 2009 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.50) id 1NARnA-0008B3-P9 for ged-emacs-devel@m.gmane.org; Tue, 17 Nov 2009 18:24:37 +0100 Original-Received: from localhost ([127.0.0.1]:35237 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NARnA-00089O-8g for ged-emacs-devel@m.gmane.org; Tue, 17 Nov 2009 12:24:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NARn5-00088L-6x for emacs-devel@gnu.org; Tue, 17 Nov 2009 12:24:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NARn0-00085t-OT for emacs-devel@gnu.org; Tue, 17 Nov 2009 12:24:30 -0500 Original-Received: from [199.232.76.173] (port=44761 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NARn0-00085q-G5 for emacs-devel@gnu.org; Tue, 17 Nov 2009 12:24:26 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:48102) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NARn0-00010a-4S for emacs-devel@gnu.org; Tue, 17 Nov 2009 12:24:26 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1NARmv-0004aV-EP; Tue, 17 Nov 2009 12:24:21 -0500 X-Spook: unclassified enigma Bin Laden Plame codes Tony Blair BRLO X-Ran: bl'f7nY%sGC*L1&GnW3n8Vc/YjRIOs)!\%1<0DGh3DLI"|N-q_~dv~Xq<< X-Hue: green X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:117104 Archived-At: Juri Linkov wrote: > ** Remove unnecessary autoload cookies from defcustoms. > This needs a bit of care, since often people have become used to > expecting such variables to always be defined, eg when they modify > things in their .emacs. > > I'm not sure what does mean "This needs a bit of care"? I had in mind situations like bug#2150. Sometimes people have got used to doing things like: (setq foo-var (concat "more-foo\\|" foo-var)) or (add-to-list 'foo-var "more-foo") ie assuming foo-var is bound before foo-mode is loaded. There's no compatible way to change such things to being non-autoloaded, nor is there a way to warn "this won't be autoloaded in future".