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 20:29:32 +0200 Message-ID: <42EE6A0C.7050807@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> 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 1122995282 13766 80.91.229.2 (2 Aug 2005 15:08:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 Aug 2005 15:08:02 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 02 17:08:01 2005 Return-path: Original-Received: from mail-relay.eunet.no ([193.71.71.242]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DzyK5-0003SI-F3 for ged-emacs-devel@gmane.org; Tue, 02 Aug 2005 17:04:53 +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 j71IZxRk039233 for ; Mon, 1 Aug 2005 20:36:00 +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 1DzfBU-0003qh-4S for ged-emacs-devel@m.gmane.org; Mon, 01 Aug 2005 14:38:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DzfAy-0003ka-Qm for emacs-devel@gnu.org; Mon, 01 Aug 2005 14:38:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DzfAr-0003hc-MU for emacs-devel@gnu.org; Mon, 01 Aug 2005 14:38:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DzfAr-0003fN-Br for emacs-devel@gnu.org; Mon, 01 Aug 2005 14:38:05 -0400 Original-Received: from [81.228.11.98] (helo=pne-smtpout1-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DzfEr-0001HT-CY for emacs-devel@gnu.org; Mon, 01 Aug 2005 14:42:13 -0400 Original-Received: from [192.168.123.121] (83.249.205.6) by pne-smtpout1-sn1.fre.skanova.net (7.2.060.1) id 42B813B00065DC5A; Mon, 1 Aug 2005 20:29:32 +0200 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Original-To: Luc Teirlinck In-Reply-To: <200508011820.j71IKNr05302@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:41424 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41424 Luc Teirlinck wrote: >Lennart Borgman wrote: > > Maybe I am misunderstanding you, but in my case I want another value > than the available choices to be an error. I want the user to be able to > correct this by choosing one of the available alternatives (ie if they > were available). > >The illegal value could only have been obtained by the user setting it >outside Custom, for instance with a setq in his .emacs. The user can >not reliably correct the problem through Custom, he has to correct the >problem where the problem originated (probably .emacs). > > 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. Perhaps the user does not know elisp at all. I think it would be good then if the list of choices were available.