all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Comments on setopt
@ 2022-02-14 23:01 Philip Kaludercic
  2022-02-15  3:40 ` Po Lu
  2022-02-15  9:32 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 26+ messages in thread
From: Philip Kaludercic @ 2022-02-14 23:01 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: emacs-devel


Hi Lars,

I'm glad to see the recent addition of the setopt macro.  Having have
experimented with similar macros in the past, I wanted to raise these
points:

- Unless it makes more sense for `customize-set-variable' to take care
  of it, should there be some type checking with errors or warnings if
  the value doesn't match the type of a user option?

- As `customize-set-variable' is being used directly, the "user" theme
  is modified, and a customisation might be mirrored in
  `custom-set-variables'.  This can lead to the unfortunate situation
  where your setopt configuration is overriden by the
  `custom-set-variables', depending on when and how you load `custom-file'
  and when and how the `custom-set-variables' was generated.

- While I don't mind it really, I can imagine that others might object
  to the "long" name, when compared to setq.  Would a default alias like
  "seto" or "setc" be worth it or not?

-- 
	Philip Kaludercic



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

end of thread, other threads:[~2022-02-19 23:42 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-14 23:01 Comments on setopt Philip Kaludercic
2022-02-15  3:40 ` Po Lu
2022-02-16  4:12   ` Richard Stallman
2022-02-16  7:04     ` Rudolf Adamkovič
2022-02-16  9:52       ` Phil Sainty
2022-02-16 13:23         ` Stefan Monnier
2022-02-16 22:34           ` Phil Sainty
2022-02-16 22:42             ` Stefan Monnier
2022-02-16 22:57           ` Philip Kaludercic
2022-02-16  7:13     ` Po Lu
2022-02-19  4:54       ` Richard Stallman
2022-02-19  5:07         ` Po Lu
2022-02-19  8:47           ` Eli Zaretskii
2022-02-19 11:13         ` Lars Ingebrigtsen
2022-02-19 11:52           ` Mathias Dahl
2022-02-19 12:35             ` Dmitry Gutov
2022-02-19 14:41           ` Name for `setopt` (was: Comments on setopt) Stefan Monnier
2022-02-19 18:31           ` Comments on setopt Philip Kaludercic
2022-02-19 23:42           ` [External] : " Drew Adams
2022-02-15  9:32 ` Lars Ingebrigtsen
2022-02-15 13:15   ` Stefan Monnier
2022-02-15 17:20     ` Philip Kaludercic
2022-02-17 11:27     ` Lars Ingebrigtsen
2022-02-15 17:17   ` Philip Kaludercic
2022-02-15 19:22   ` Juri Linkov
2022-02-17 11:28     ` Lars Ingebrigtsen

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.