Re: Playlists getting deleted

Yoni Rabkin <[email protected]> Sun, 05 Jul 2026 22:41:48 -0400
Newsgroups gmane.emacs.emms.user
Message-ID <[email protected]>
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"