Re: Somewhat reliable multimedia management for Emacs?

[email protected] Tue, 30 Jun 2026 09:45:33 -0400
Newsgroups gmane.emacs.emms.user
Message-ID <[email protected]>
Yoni Rabkin <[email protected]> writes:

>
> This is the typical response if no tracks were added.
>
> An Emms setup can be as simply as this (just an example):
>
>      (emms-all)
>      (setq emms-player-list '(emms-player-vlc)
>            emms-info-functions '(emms-info-native))
>

The descriptions of =E2=80=98emms-player-list=E2=80=99 and
=E2=80=98emms-info-functions=E2=80=99 say that these variables are user
options (instead of ordinary variables).

Starting with Emacs 29, =E2=80=98setopt=E2=80=99 is recommended in place of
=E2=80=98setq=E2=80=99 for user options.  This has two advantages over
=E2=80=98setq=E2=80=99.  From the docstring for =E2=80=98setopt=E2=80=99:

  1. It allows the authors to use a =E2=80=98custom-set=E2=80=99 form for
     the user option, if desired.

  2. It emits a warning when the type of the value specified
     does not match the type of the user option (especially
     useful for new users of a given option).

Possibly, this could be used in the next version of EMMS?

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