GNU bug report logs - #41493
26.3; Error in MPC directory browser

Previous Next

Package: emacs;

Reported by: Matthieu Lemerre <racin <at> free.fr>

Date: Sat, 23 May 2020 21:03:02 UTC

Severity: normal

Found in version 26.3

Full log


Message #11 received at 41493 <at> debbugs.gnu.org (full text, mbox):

From: john muhl <jm <at> pub.pink>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: Matthieu Lemerre <racin <at> free.fr>, 41493 <at> debbugs.gnu.org,
 Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#41493: 26.3; Error in MPC directory browser
Date: Tue, 31 Dec 2024 13:26:21 -0600
[Message part 1 (text/plain, inline)]
Stefan Kangas <stefan <at> marxist.se> writes:

> Matthieu Lemerre <racin <at> 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.

[0001-Fix-directory-browsers-in-mpc-Bug-41493.patch (text/x-patch, attachment)]

This bug report was last modified 160 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.