From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Sebastien Vauban" Newsgroups: gmane.emacs.help Subject: Programmatically access all the possible values of a defcustom Date: Wed, 29 Jan 2014 21:28:22 +0100 Organization: Sebastien Vauban Message-ID: <86fvo6jzx5.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1391027717 1242 80.91.229.3 (29 Jan 2014 20:35:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Jan 2014 20:35:17 +0000 (UTC) To: help-gnu-emacs-mXXj517/zsQ@public.gmane.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Wed Jan 29 21:35:25 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W8bqw-0001ps-H4 for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Jan 2014 21:35:18 +0100 Original-Received: from localhost ([::1]:45221 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8bqv-00072C-Rj for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Jan 2014 15:35:17 -0500 Original-Path: usenet.stanford.edu!newsfeed.news.ucla.edu!news.snarked.org!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Injection-Info: mx05.eternal-september.org; posting-host="6f05eaee171434c896d44feeaf7179f0"; logging-data="7244"; mail-complaints-to="abuse-VVbKFVtnif8H+i2N2EyTrmui9UKz+5OX@public.gmane.org"; posting-account="U2FsdGVkX1+9JRw+pXYMv838XxiAJZuj" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) X-Url: Under construction... X-Archive: encrypt Cancel-Lock: sha1:yavkb6QjK2094XoHB+8WcPVbSi4= sha1:nTc+XkwJxSD02kRFYvhi9sdjg8E= Original-Xref: usenet.stanford.edu gnu.emacs.help:203494 X-BeenThere: help-gnu-emacs-mXXj517/zsQ@public.gmane.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.help:95763 Archived-At: Hello, Is there a possibility to programmatically access all the values that a defcustom can take? The example I have in mind is `org-babel-load-languages' which can become any list with values such as: --8<---------------cut here---------------start------------->8--- (choice (const :tag "Awk" awk) (const :tag "C" C) (const :tag "R" R) (const :tag "Asymptote" asymptote) (const :tag "Calc" calc) (const :tag "Clojure" clojure) (const :tag "CSS" css) (const :tag "Ditaa" ditaa) ... --8<---------------cut here---------------end--------------->8--- I'd like to list them, not the default value, but the full list of languages. Any idea how to process? Best regards, Seb -- Sebastien Vauban