Re: Somewhat reliable multimedia management for Emacs?

[email protected] Tue, 30 Jun 2026 12:23:15 -0400
Newsgroups gmane.emacs.emms.user
Message-ID <[email protected]>
Erica Qi <[email protected]> writes:

> Setopt would only have special functionality over setq if
> Emms actually implemented it. So setopt doesn't actually
> provide any advantage over setq at the current time.
>

I think that you are correct that it is not required and all
of the users of EMMS would not be affected if they did not
change their =E2=80=98setq=E2=80=99 expressions to =E2=80=98setopt=E2=80=99=
 for the EMMS user
options, unless and until EMMS decided to make use of the
=E2=80=98custom-set=E2=80=99 form that is available to user options.

It is something for the EMMS maintainer(s) to be aware of
(as should all maintainers of Emacs Lisp packages) so that
they can consider migrating to using =E2=80=98setopt=E2=80=99 or not.  It is
recommended by Emacs for the reasons given earlier.

Be aware that there have been instances of Emacs users
encountering problems when using =E2=80=98setq=E2=80=99 instead of =E2=80=
=98setopt=E2=80=99
for user options.  These problems have been because the
=E2=80=98custom-set=E2=80=99 was not carried out for those user options.  If
you see a variable that is a user option, your best course
is to use =E2=80=98setopt=E2=80=99 in place of =E2=80=98setq=E2=80=99 so th=
at you do not
have to know whether the =E2=80=98custom-set=E2=80=99 is being used by a
user option.  Because the syntax of =E2=80=98setopt=E2=80=99 is identical to
=E2=80=98setq=E2=80=99, the change to =E2=80=98setopt=E2=80=99 is trivial.

--=20
The lyf so short, the craft so long to lerne.
- Geoffrey Chaucer, The Parliament of Birds.