From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Bad value to a defcustom makes choices unavailable Date: Mon, 01 Aug 2005 22:38:22 +0200 Message-ID: <42EE883E.1050009@student.lu.se> References: <42EE43B6.2090409@student.lu.se> <200508011741.j71HflT04394@raven.dms.auburn.edu> <42EE60DA.6020701@student.lu.se> <200508011758.j71HwZS04956@raven.dms.auburn.edu> <42EE665A.3060208@student.lu.se> <200508011820.j71IKNr05302@raven.dms.auburn.edu> <42EE6A0C.7050807@student.lu.se> <200508012017.j71KHNa06030@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1122990076 13849 80.91.229.2 (2 Aug 2005 13:41:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 Aug 2005 13:41:16 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 02 11:52:10 2005 Return-path: Original-Received: from mail-relay.eunet.no ([193.71.71.242]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DztBI-0003xD-CJ for ged-emacs-devel@gmane.org; Tue, 02 Aug 2005 11:35:28 +0200 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by mail-relay.eunet.no (8.13.1/8.13.1/GN) with ESMTP id j71Ke2Gb092058 for ; Mon, 1 Aug 2005 22:40:03 +0200 (CEST) (envelope-from emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org) Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dzh7X-0007EM-F0 for ged-emacs-devel@m.gmane.org; Mon, 01 Aug 2005 16:42:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dzh7F-0007DE-KM for emacs-devel@gnu.org; Mon, 01 Aug 2005 16:42:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dzh7C-0007Av-6B for emacs-devel@gnu.org; Mon, 01 Aug 2005 16:42:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dzh7C-0007AU-1d for emacs-devel@gnu.org; Mon, 01 Aug 2005 16:42:26 -0400 Original-Received: from [81.228.8.164] (helo=pne-smtpout2-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DzhFe-0001Vo-Fy for emacs-devel@gnu.org; Mon, 01 Aug 2005 16:51:10 -0400 Original-Received: from [192.168.123.121] (83.249.205.6) by pne-smtpout2-sn2.hy.skanova.net (7.2.060.1) id 42B94E2900640C48; Mon, 1 Aug 2005 22:38:25 +0200 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Original-To: Luc Teirlinck In-Reply-To: <200508012017.j71KHNa06030@raven.dms.auburn.edu> 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:41417 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41417 Luc Teirlinck wrote: >Lennart Borgman wrote: > > Let us say that someone writes a defcustom in a package he distributes. > Later she/he for some reason changes the list of choices. If a user has > saved a value through custom that now no longer exists he can not > correct it through custom. > >Actually, I would guess that Custom will not allow you to set it to an >illegal value in your custom-set-variables form. Did you actually try >it? > > Of course I did not try... ;-) Sorry, no I did not try, but yes, custom-set-variables of course no nothing about the choices if the package is not loaded. And when I tested now I found that even in the case where the package is loaded custom will set the bad value.