bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#41493: 26.3; Error in MPC directory browser


From: john muhl
Subject: bug#41493: 26.3; Error in MPC directory browser
Date: Tue, 31 Dec 2024 13:26:21 -0600
User-agent: Gnus/5.13 (Gnus v5.13)

Stefan Kangas <stefan@marxist.se> writes:

> Matthieu Lemerre <racin@free.fr> writes:
>
>> While discovering MPC I customized the MPC host variable, started MPC,
>> clicked on the Menu to "Add a new browser", then selected Directory.
>> If I click on one of my directories (that mostly contain
>> subdirectories), I get the following error:
>>
>> cl--assertion-failed: Assertion failed: (or (null alist) (memq (caar
>> alist) mpc--proc-alist-to-alists-starters))
>
> Copying in the maintainer of mpd.el here.  Any ideas?

The attached patch fixes it for me. The cause seems to be that the
returned alist for a directory browser has entries for (directory
...) and (Last-Modified ...) and the code was only getting rid of
the former only. That leftover (Last-Modified ...) would then trip
up the assert in mpc--proc-alist-to-alists when it checks with
mpc--proc-alist-to-alists-starters.

Attachment: 0001-Fix-directory-browsers-in-mpc-Bug-41493.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]