unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Heerdegen via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: editable-list widgets: how to create one child automatically
Date: Fri, 15 Mar 2024 13:53:30 +0100	[thread overview]
Message-ID: <87frwrodv9.fsf@web.de> (raw)
In-Reply-To: 3bd67ed7-9bad-4012-8af4-fad1af876fea@gmail.com

Mauro Aranda <maurooaranda@gmail.com> writes:

> So I think a better way is to provide a matching value for the find
> widget that will allow it to create its children with their default
> values.

Thank you very much.  I think your analysis is correct.

But this approach sounds inconvenient: I would have to maintain default
values of inner widgets in separate code locations (right?), and I would
also have to remember that I need to update the structure of the default
value of the "big" widget to be in sync with the structure of the widget
definition, should I once change it.

So, that the outer widget forces a value that I did not even specify
explicitly does not seem so useful to me.

Michael.




      reply	other threads:[~2024-03-15 12:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-13  7:23 editable-list widgets: how to create one child automatically Michael Heerdegen
2024-03-13 10:41 ` Mauro Aranda
2024-03-14  1:58   ` Michael Heerdegen via Users list for the GNU Emacs text editor
2024-03-14 11:19     ` Mauro Aranda
2024-03-15 12:53       ` Michael Heerdegen via Users list for the GNU Emacs text editor [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=87frwrodv9.fsf@web.de \
    --to=help-gnu-emacs@gnu.org \
    --cc=michael_heerdegen@web.de \
    /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.
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).