From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: How to customize an option to a dynamic value (computed by lisp form) Date: Fri, 26 Aug 2016 07:28:59 -0700 (PDT) Message-ID: <86785f1e-022c-4946-8a28-39c72eb26d5d@default> References: <87k2f69hvb.fsf@kuiper.lan.informatimago.com> <83832586-765e-4df4-917a-98458247d829@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1472221804 3197 195.159.176.226 (26 Aug 2016 14:30:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 26 Aug 2016 14:30:04 +0000 (UTC) Cc: "Pascal J. Bourguignon" , help-gnu-emacs@gnu.org To: Jorge Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 26 16:29:56 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bdI8p-0008PG-4N for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Aug 2016 16:29:55 +0200 Original-Received: from localhost ([::1]:60772 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdI8m-00021N-N7 for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Aug 2016 10:29:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdI89-00020O-FZ for help-gnu-emacs@gnu.org; Fri, 26 Aug 2016 10:29:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bdI84-0006wD-BS for help-gnu-emacs@gnu.org; Fri, 26 Aug 2016 10:29:12 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:35225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdI84-0006ud-2K for help-gnu-emacs@gnu.org; Fri, 26 Aug 2016 10:29:08 -0400 Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u7QET4A2032312 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 26 Aug 2016 14:29:04 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id u7QET3n7030675 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 26 Aug 2016 14:29:04 GMT Original-Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u7QET1kI009808; Fri, 26 Aug 2016 14:29:01 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6753.5000 (x86)] X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111208 Archived-At: > I want one elisp function that, even when called non-interactively, > respects custom-set and does type-checking. You might want to `M-x report-emacs-bug'. It is for enhancement requests as well as bugs. > > A variable value is always "static", by definition of the word > > "value". It's not clear (to me) just what you are looking for. > > I am sorry. By "static value" I meant "literal". What does that mean? A variable has a single, static, literal value at any time. That's what a value is. What you are looking for is still unclear (to me). Hopefully it is clearer to others, and they can help more.