From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Defcustoms, how do users find them? Date: Wed, 18 Nov 2009 11:57:47 +0200 Organization: JURTA Message-ID: <87skccrwgg.fsf@mail.jurta.org> References: <87ocn1fnko.fsf@mail.jurta.org> <9ivdh9awu2.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258540024 20208 80.91.229.12 (18 Nov 2009 10:27:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Nov 2009 10:27:04 +0000 (UTC) Cc: Emacs-Devel devel To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 18 11:26:57 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 1NAhj1-0008TO-8a for ged-emacs-devel@m.gmane.org; Wed, 18 Nov 2009 11:25:23 +0100 Original-Received: from localhost ([127.0.0.1]:59836 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAhj0-0001rp-E7 for ged-emacs-devel@m.gmane.org; Wed, 18 Nov 2009 05:25:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NAhc2-0005IU-7A for emacs-devel@gnu.org; Wed, 18 Nov 2009 05:18:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NAhbx-0005Fo-H3 for emacs-devel@gnu.org; Wed, 18 Nov 2009 05:18:09 -0500 Original-Received: from [199.232.76.173] (port=37387 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAhbx-0005FY-8p for emacs-devel@gnu.org; Wed, 18 Nov 2009 05:18:05 -0500 Original-Received: from smtp-out3.starman.ee ([85.253.0.5]:58040 helo=mx1.starman.ee) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NAhbv-00014d-Jj; Wed, 18 Nov 2009 05:18:03 -0500 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.31.20.cable.starman.ee [82.131.31.20]) by mx1.starman.ee (Postfix) with ESMTP id 81C983F4122; Wed, 18 Nov 2009 12:17:54 +0200 (EET) In-Reply-To: <9ivdh9awu2.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 17 Nov 2009 12:24:21 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:117168 Archived-At: >> ** 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". So there is "no way back" and removing autoload will cause another bug report about failures in ~/.emacs that customizes that option. Then I don't how to fix bugs like bug#4387. -- Juri Linkov http://www.jurta.org/emacs/