unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: "Clément Pit-Claudel" <cpitclaudel@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Updating defcustoms of a loaded library
Date: Fri, 28 Jul 2017 10:45:13 +0200	[thread overview]
Message-ID: <87a83p7xwm.fsf@rosalinde> (raw)
In-Reply-To: <75eee202-99ad-29f1-bdc0-34ca7a85336e@gmail.com> ("Clément Pit-Claudel"'s message of "Fri, 21 Jul 2017 19:51:13 +0200")

On Fri, 21 Jul 2017 19:51:13 +0200 Clément Pit-Claudel <cpitclaudel@gmail.com> 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)))
>> 
>> 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



      reply	other threads:[~2017-07-28  8:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-21 17:25 Updating defcustoms of a loaded library Stephen Berman
2017-07-21 17:33 ` Clément Pit-Claudel
2017-07-21 17:41   ` Stefan Monnier
2017-07-21 17:51     ` Clément Pit-Claudel
2017-07-28  8:45       ` Stephen Berman [this message]

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=87a83p7xwm.fsf@rosalinde \
    --to=stephen.berman@gmx.net \
    --cc=cpitclaudel@gmail.com \
    --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).