Re: Somewhat reliable multimedia management for Emacs?

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

> 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?

That example is just that; an example. It's from the quickstart section
of the Emms manual. I can change the documentation to use setopt no
problem though.

--=20
   "Cut your own wood and it will warm you twice"