all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Is Customize's UI separated from the backend?
@ 2021-04-11  4:59 scame via Users list for the GNU Emacs text editor
  2021-04-11 21:53 ` FW: [External] : " Drew Adams
  0 siblings, 1 reply; 2+ messages in thread
From: scame via Users list for the GNU Emacs text editor @ 2021-04-11  4:59 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

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?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* FW: [External] : Is Customize's UI separated from the backend?
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Drew Adams @ 2021-04-11 21:53 UTC (permalink / raw)
  To: Help-Gnu-Emacs (help-gnu-emacs@gnu.org)

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-11 21:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` FW: [External] : " Drew Adams

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.