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