unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: emacs-devel@gnu.org
Subject: Re: Bad value to a defcustom makes choices unavailable
Date: Mon, 01 Aug 2005 20:29:32 +0200	[thread overview]
Message-ID: <42EE6A0C.7050807@student.lu.se> (raw)
In-Reply-To: <200508011820.j71IKNr05302@raven.dms.auburn.edu>

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.

  parent reply	other threads:[~2005-08-01 18:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-01 15:45 Bad value to a defcustom makes choices unavailable Lennart Borgman
2005-08-01 17:41 ` Luc Teirlinck
2005-08-01 17:50   ` Lennart Borgman
2005-08-01 17:58     ` Luc Teirlinck
     [not found]       ` <42EE665A.3060208@student.lu.se>
     [not found]         ` <200508011820.j71IKNr05302@raven.dms.auburn.edu>
2005-08-01 18:29           ` Lennart Borgman [this message]
2005-08-01 20:17             ` Luc Teirlinck
2005-08-01 20:38               ` Lennart Borgman
2005-08-02 16:09             ` Per Abrahamsen
2005-08-02 17:26               ` Lennart Borgman
2005-08-03 10:24                 ` Per Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42EE6A0C.7050807@student.lu.se \
    --to=lennart.borgman.073@student.lu.se \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).