Re: Somewhat reliable multimedia management for Emacs?

"Fran Burstall (Gmail)" <[email protected]> Tue, 30 Jun 2026 15:45:01 +0100
Newsgroups gmane.emacs.emms.user
Message-ID <CADxS8ihjeita43dYEFchp3SqOdfqHd0qC5_OoOPfoWyS0XDbug@mail.gmail.com>
--0000000000005302150655799f5f
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

>
> Also, the command =E2=80=98emms-setup-discover=E2=80=99 generates =E2=80=
=98setq=E2=80=99
> expressions instead of =E2=80=98setopt=E2=80=99 expressions.  I expect th=
at
> you know if there are other functions that could be updated
> to use =E2=80=98setopt=E2=80=99.


Hmmm, this would force the minimum emacs version with which emms is
compatible to be 29, no?  Is that desirable?

---Fran



On Tue, 30 Jun 2026 at 15:16, <[email protected]> wrote:

> Yoni Rabkin <[email protected]> writes:
>
> >>
> >> 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 use=
r
> >> options (instead of ordinary variables).
> >>
> >> Starting with Emacs 29, =E2=80=98setopt=E2=80=99 is recommended in pla=
ce 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.
>
> Also, the command =E2=80=98emms-setup-discover=E2=80=99 generates =E2=80=
=98setq=E2=80=99
> expressions instead of =E2=80=98setopt=E2=80=99 expressions.  I expect th=
at
> you know if there are other functions that could be updated
> to use =E2=80=98setopt=E2=80=99.
>
> --
> The lyf so short, the craft so long to lerne.
> - Geoffrey Chaucer, The Parliament of Birds.
>
>

--0000000000005302150655799f5f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left:=
1px solid rgb(204,204,204);padding-left:1ex" class=3D"gmail_quote">Also, th=
e command =E2=80=98emms-setup-discover=E2=80=99 generates =E2=80=98setq=E2=
=80=99<br>expressions instead of =E2=80=98setopt=E2=80=99 expressions.=C2=
=A0 I expect that<br>you know if there are other functions that could be up=
dated<br>to use =E2=80=98setopt=E2=80=99.</blockquote><div><br></div><div c=
lass=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif">Hmm=
m, this would force the minimum emacs version with which emms is compatible=
 to be 29, no?=C2=A0 Is that desirable?</div><div class=3D"gmail_default" s=
tyle=3D"font-family:arial,helvetica,sans-serif"><br></div><div class=3D"gma=
il_default" style=3D"font-family:arial,helvetica,sans-serif">---Fran</div><=
div class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif=
"><br></div><div class=3D"gmail_default" style=3D"font-family:arial,helveti=
ca,sans-serif"><br></div></div><br><div class=3D"gmail_quote gmail_quote_co=
ntainer"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, 30 Jun 2026 at 15:16=
, &lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:<b=
r></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex=
;border-left:1px solid rgb(204,204,204);padding-left:1ex">Yoni Rabkin &lt;<=
a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&g=
t; writes:<br>
<br>
&gt;&gt;<br>
&gt;&gt; The descriptions of =E2=80=98emms-player-list=E2=80=99 and<br>
&gt;&gt; =E2=80=98emms-info-functions=E2=80=99 say that these variables are=
 user<br>
&gt;&gt; options (instead of ordinary variables).<br>
&gt;&gt;<br>
&gt;&gt; Starting with Emacs 29, =E2=80=98setopt=E2=80=99 is recommended in=
 place of<br>
&gt;&gt; =E2=80=98setq=E2=80=99 for user options.=C2=A0 This has two advant=
ages over<br>
&gt;&gt; =E2=80=98setq=E2=80=99.=C2=A0 From the docstring for =E2=80=98seto=
pt=E2=80=99:<br>
&gt;&gt;<br>
&gt;&gt;=C2=A0 =C2=A01. It allows the authors to use a =E2=80=98custom-set=
=E2=80=99 form for<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0 the user option, if desired.<br>
&gt;&gt;<br>
&gt;&gt;=C2=A0 =C2=A02. It emits a warning when the type of the value speci=
fied<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0 does not match the type of the user option (es=
pecially<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0 useful for new users of a given option).<br>
&gt;&gt;<br>
&gt;&gt; Possibly, this could be used in the next version of EMMS?<br>
&gt;<br>
&gt; That example is just that; an example. It&#39;s from the quickstart se=
ction<br>
&gt; of the Emms manual. I can change the documentation to use setopt no<br=
>
&gt; problem though.<br>
<br>
Also, the command =E2=80=98emms-setup-discover=E2=80=99 generates =E2=80=98=
setq=E2=80=99<br>
expressions instead of =E2=80=98setopt=E2=80=99 expressions.=C2=A0 I expect=
 that<br>
you know if there are other functions that could be updated<br>
to use =E2=80=98setopt=E2=80=99.<br>
<br>
-- <br>
The lyf so short, the craft so long to lerne.<br>
- Geoffrey Chaucer, The Parliament of Birds.<br>
<br>
</blockquote></div>

--0000000000005302150655799f5f--