From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: Updating defcustoms of a loaded library Date: Fri, 28 Jul 2017 10:45:13 +0200 Message-ID: <87a83p7xwm.fsf@rosalinde> References: <87shhpsnvd.fsf@rosalinde> <2afff865-ff68-f607-f66c-a08f6e996e1c@gmail.com> <75eee202-99ad-29f1-bdc0-34ca7a85336e@gmail.com> 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 1501231561 23944 195.159.176.226 (28 Jul 2017 08:46:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 28 Jul 2017 08:46:01 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 28 10:45:53 2017 Return-path: Envelope-to: ged-emacs-devel@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 1db0u5-0005eW-9g for ged-emacs-devel@m.gmane.org; Fri, 28 Jul 2017 10:45:49 +0200 Original-Received: from localhost ([::1]:46839 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1db0uA-0002sf-TF for ged-emacs-devel@m.gmane.org; Fri, 28 Jul 2017 04:45:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1db0tc-0002sO-NX for emacs-devel@gnu.org; Fri, 28 Jul 2017 04:45:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1db0tZ-0006Gr-GN for emacs-devel@gnu.org; Fri, 28 Jul 2017 04:45:20 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:62858) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1db0tZ-0006EW-5u for emacs-devel@gnu.org; Fri, 28 Jul 2017 04:45:17 -0400 Original-Received: from rosalinde ([83.135.17.177]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MF4iR-1dLHRi3b35-00GHP9; Fri, 28 Jul 2017 10:45:13 +0200 In-Reply-To: <75eee202-99ad-29f1-bdc0-34ca7a85336e@gmail.com> (=?utf-8?Q?=22Cl=C3=A9ment?= Pit-Claudel"'s message of "Fri, 21 Jul 2017 19:51:13 +0200") X-Provags-ID: V03:K0:kc8z1Dyv66xT/sM+dIex9WmFH6syKT+PLYhlTt7GNqCbzP3ITbU KanYP9ULFYOKPFeUC69NlL0DdAuOHUfSA5pRSP8q6ZaxhTqg1oBdC3DIoP4aJtTnYwXWC1+ ZE8paLeLUPhvWfnzCCWVzhldPdP7t9qHzecfwmHMxd77uh3TKZ0q66gJd/Bo1b87D/LTdku 3Y5rT0TtAjyiWWzYmP8ZQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:5TyEzJbvIa8=:3w3u7JjPJXvSxC/HtoJvJb GlDQdPFbg1r1FMnrapYDzDhzB4qCMg32i4hXs9OQbsYg0QTny6fUX0HcsxowXKHxbOfFny+62 Lp1izMNLYc9QusHJNaelqKTk/YcfB0cF2DVUQSWQP/rRvQPbovRIGbIuuqOpZZL7s43TFJZVy I6DvdZCXUutWMrWqTn7IJWHIFMCTsn/UfsYAY5WS9w3xJ2YZgCunvqyOg6feGu0kjoPOdpvWM GOYUsmqfT7C+7eTfopfeGbkiVeUeivHol2ijz07Jx9ccKsdsajyM0XxsylFVBpHiw8DZFh7ww 1mxISTCNrOqV7XyAE1uvQX4eDVPQ2xSEfNZF5sIgTK/Dg/jzdkrOlRAvR8c909yu8p7bVfuUc 8lGzXjI+vPfAYsWheEO1/nvqjrBE9PtMUxdVNKirMFhZUx1eHS1Z4lJ944UB0V1KDNr9waqA+ uLu2LqkGW9XAVXpD08Il4FQss/q7CgP0OvfrPmoH5685Y43quLNM2gr3ZHXD+o8akZax4kTU8 /uY/u+r9QnNfb7tlXysA7nm+DTQXwKBgri0+xHiCKdjmOVekphg5nGR6We37AcSZ/yEms0Mm2 HKebpzh+gCnPEeHYefBFqdCiAo4wGerYCCQD+lI0UnL/ClzlU1V8kvIPwde0vMMSE+cc8zEST rANHkR/8xnMMUzqcAPd9Gtchnp62A1MyktB5XhfzxnG6iE0JwrnX1ToAoCKp1T/EU3VIUkI7n xHyLqtHCl71U/cmu9MX8JhAxJjJSpMOkOqtGv4DzsrDHDUm2nmg2mPITaPD4bt/IGpoFgO/P X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.19 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:217094 Archived-At: On Fri, 21 Jul 2017 19:51:13 +0200 Cl=C3=A9ment Pit-Claudel wrote: > On 2017-07-21 19:41, Stefan Monnier wrote: >>>> So I'm asking, is there a better way? >>> Yup, IIRC you can do this: >>> (put 'todo-filter-files 'custom-type `(set ,@(todo--files-type-list))) >>=20 >> It's less hideous, but isn't there a way to create a type that says "the >> set returned by this function"? > > Not that I know of. I'd be happy to learn something new, though! I guess it should be possible with define-widget? I put looking into it on one of my Todo lists, but in the mean time I'll reduce the hideousness with `put'. Thanks for the suggestion and the feedback. Steve Berman