Re: Playlists getting deleted

George <[email protected]> Sat, 11 Jul 2026 21:33:51 +0100
Newsgroups gmane.emacs.emms.user
Message-ID <CAAh4ApOS9axWd3LBueHV4PjoJN67ZjDZ_p+eM8wfErwEFYFAcQ@mail.gmail.com>
--0000000000003191ef06565bc7ff
Content-Type: text/plain; charset="UTF-8"

Thanks!

On Mon, 6 Jul 2026 at 03:41, Yoni Rabkin <[email protected]> wrote:

> George <[email protected]> writes:
>
> > Hi there,
> >
> > Sometimes (I'm not quite sure when exactly) I open Emacs to find all of
> my
> > Emms playlists have disappeared...
>
> That's the tricky part; the "sometimes". Without a way to recreate the
> bug it's hard.
>
> I'll install the setup and check to see if I can observe it in the wild.
>
> > I assume the playlist buffers must've been killed before Emacs was
> killed.
> >
> > I've mapped "C-x k" to 'bury-buffer' so I don't accidently delete a
> > playlist when killing its buffer.
> >
> > Do you have an idea why this might be happening?
> >
> > Here's my config:
> >
> > (use-package emms
> >   :ensure t
> >   :init
> >   (emms-all)
> >   (add-hook 'emms-metaplaylist-mode-hook #'hl-line-mode)
> >   :hook
> >   (after-init . emms-history-load)
> >   :bind
> >   ("<f7>" . emms-playlist-mode-go)
> >   ("C-c e b" . emms-browser)
> >   ("<f6>" . emms-metaplaylist-mode-go)
> >
> >   (:map emms-playlist-mode-map
> >         ("C-x k" . bury-buffer)
> > ("DEL" . emms-metaplaylist-mode-go)
> > ("M-<up>" . emms-playlist-mode-shift-track-up)
> > ("M-<down>" . emms-playlist-mode-shift-track-down))
> >
> >   :config
> >   (require 'emms-history)
> >   (emms-mode-line-mode -1)
> >
> >   (setq emms-player-list '(emms-player-mpv)
> >         emms-info-functions '(emms-info-native))
> >   (setq-default emms-single-track t)
> >
> >   (setq-default
> >
> >    emms-source-playlist-default-format 'm3u
> >    emms-player-mpv-parameters '("--quiet" "--really-quiet"
> > "--no-audio-display" "--force-window=no"  "--fullscreen"
> > ;"--config-dir=~/.emacs.d/"
> > "--save-position-on-quit")))
> >
> > Thanks for your help!
> > George
>
> --
>    "Cut your own wood and it will warm you twice"
>

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

<div dir=3D"auto">Thanks!</div><div><br><div class=3D"gmail_quote gmail_quo=
te_container"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, 6 Jul 2026 at 0=
3:41, Yoni Rabkin &lt;<a href=3D"mailto:[email protected]">[email protected]<=
/a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">George &lt;<a href=
=3D"mailto:[email protected]" target=3D"_blank">[email protected]</=
a>&gt; writes:<br>
<br>
&gt; Hi there,<br>
&gt;<br>
&gt; Sometimes (I&#39;m not quite sure when exactly) I open Emacs to find a=
ll of my<br>
&gt; Emms playlists have disappeared...<br>
<br>
That&#39;s the tricky part; the &quot;sometimes&quot;. Without a way to rec=
reate the<br>
bug it&#39;s hard.<br>
<br>
I&#39;ll install the setup and check to see if I can observe it in the wild=
.<br>
<br>
&gt; I assume the playlist buffers must&#39;ve been killed before Emacs was=
 killed.<br>
&gt;<br>
&gt; I&#39;ve mapped &quot;C-x k&quot; to &#39;bury-buffer&#39; so I don&#3=
9;t accidently delete a<br>
&gt; playlist when killing its buffer.<br>
&gt;<br>
&gt; Do you have an idea why this might be happening?<br>
&gt;<br>
&gt; Here&#39;s my config:<br>
&gt;<br>
&gt; (use-package emms<br>
&gt;=C2=A0 =C2=A0:ensure t<br>
&gt;=C2=A0 =C2=A0:init<br>
&gt;=C2=A0 =C2=A0(emms-all)<br>
&gt;=C2=A0 =C2=A0(add-hook &#39;emms-metaplaylist-mode-hook #&#39;hl-line-m=
ode)<br>
&gt;=C2=A0 =C2=A0:hook<br>
&gt;=C2=A0 =C2=A0(after-init . emms-history-load)<br>
&gt;=C2=A0 =C2=A0:bind<br>
&gt;=C2=A0 =C2=A0(&quot;&lt;f7&gt;&quot; . emms-playlist-mode-go)<br>
&gt;=C2=A0 =C2=A0(&quot;C-c e b&quot; . emms-browser)<br>
&gt;=C2=A0 =C2=A0(&quot;&lt;f6&gt;&quot; . emms-metaplaylist-mode-go)<br>
&gt;<br>
&gt;=C2=A0 =C2=A0(:map emms-playlist-mode-map<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(&quot;C-x k&quot; . bury-buffer)<br>
&gt; (&quot;DEL&quot; . emms-metaplaylist-mode-go)<br>
&gt; (&quot;M-&lt;up&gt;&quot; . emms-playlist-mode-shift-track-up)<br>
&gt; (&quot;M-&lt;down&gt;&quot; . emms-playlist-mode-shift-track-down))<br=
>
&gt;<br>
&gt;=C2=A0 =C2=A0:config<br>
&gt;=C2=A0 =C2=A0(require &#39;emms-history)<br>
&gt;=C2=A0 =C2=A0(emms-mode-line-mode -1)<br>
&gt;<br>
&gt;=C2=A0 =C2=A0(setq emms-player-list &#39;(emms-player-mpv)<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0emms-info-functions &#39;(emms-info-n=
ative))<br>
&gt;=C2=A0 =C2=A0(setq-default emms-single-track t)<br>
&gt;<br>
&gt;=C2=A0 =C2=A0(setq-default<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 emms-source-playlist-default-format &#39;m3u<br>
&gt;=C2=A0 =C2=A0 emms-player-mpv-parameters &#39;(&quot;--quiet&quot; &quo=
t;--really-quiet&quot;<br>
&gt; &quot;--no-audio-display&quot; &quot;--force-window=3Dno&quot;=C2=A0 &=
quot;--fullscreen&quot;<br>
&gt; ;&quot;--config-dir=3D~/.emacs.d/&quot;<br>
&gt; &quot;--save-position-on-quit&quot;)))<br>
&gt;<br>
&gt; Thanks for your help!<br>
&gt; George<br>
<br>
-- <br>
=C2=A0 =C2=A0&quot;Cut your own wood and it will warm you twice&quot;<br>
</blockquote></div></div>

--0000000000003191ef06565bc7ff--