From: Drew Adams <drew.adams@oracle.com>
To: "Help-Gnu-Emacs (help-gnu-emacs@gnu.org)" <help-gnu-emacs@gnu.org>
Subject: FW: [External] : Is Customize's UI separated from the backend?
Date: Sun, 11 Apr 2021 21:53:32 +0000 [thread overview]
Message-ID: <SA2PR10MB4474CBDBF8B736045AF8FD58F3719@SA2PR10MB4474.namprd10.prod.outlook.com> (raw)
In-Reply-To: YzJ3XVAy3dxCMgIDKVuyZRK7fhPArXmepEY1U9Gf15OtJfSJsvBXZENUDWwlcAoMAyKv7sVuYT4rBEFAEcj5rc5MtdJzyzpJQUenPAnmY2k=@protonmail.com
Forwarding to the list. Bitten by the "Reply All"
doesn't work when replying to some (a couple) users.
-----Original Message-----
Sent: Sunday, April 11, 2021 2:34 PM
To: 'scame' <laszlomail@protonmail.com>
> Just wondering: if someone wants to create an alternative Customize UI (e.g.
> if GTK is compiled in then popping up a GTK dialog box with GTK widgets) then
> is the UI part in Customize separated from the backend, so it's only a matter
> of reimplementing the UI calls or is the whole thing engtangled right now?
Pretty much, separate, yes. Just call the relevant
functions, to change values, save them, revert to
backed-up values (or standard values), etc.
This page I wrote a while ago might help with some
of the understanding:
https://www.emacswiki.org/emacs/CustomizingAndSaving
As for UIs for visually changing things, e.g.
incrementally, which you can then save (or not),
this page may help with that, at least as food for
thought:
https://www.emacswiki.org/emacs/DoReMi
Icicles also offers direct manipulation for changing
options and faces. Like Do Re Mi it lets you change
things incrementally, but you can also use completion.
https://www.emacswiki.org/emacs/Icicles
And Facemenu and FacemenuPlus can also help change
settings (which you can then save).
https://www.emacswiki.org/emacs/FaceMenuPlus
I encourage people designing and implementing more
and better UIs for _direct manipulation_ of UI
appearance and behavior (settings). These libraries
can hopefully serve as some food for thought.
Emacs has a lot you can use to do things differently,
or better, than what it offers out of the box.
Unfortunately, the Custom code (e.g. custom.el and
cus-*.el) is hard to fathom. It's not one of the
easiest interfaces for "asking Emacs" itself, as
you may have already discovered.
prev parent reply other threads:[~2021-04-11 21:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-11 4:59 Is Customize's UI separated from the backend? scame via Users list for the GNU Emacs text editor
2021-04-11 21:53 ` Drew Adams [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=SA2PR10MB4474CBDBF8B736045AF8FD58F3719@SA2PR10MB4474.namprd10.prod.outlook.com \
--to=drew.adams@oracle.com \
--cc=help-gnu-emacs@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.