GNU bug report logs - #48748
28.0.50; The xdg-mime-apps-files function contains a dolist over a cons of strings

Previous Next

Package: emacs;

Reported by: dalanicolai <at> gmail.com

Date: Sun, 30 May 2021 18:01:02 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: dalanicolai <dalanicolai <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 48748 <at> debbugs.gnu.org
Subject: Re: bug#48748: 28.0.50; The xdg-mime-apps-files function contains a
 dolist over a cons of strings
Date: Mon, 31 May 2021 08:40:27 +0200
[Message part 1 (text/plain, inline)]
Also for the explanation +1

On Mon, 31 May 2021 at 08:38, dalanicolai <dalanicolai <at> gmail.com> wrote:

> Great! Thank you...
>
> On Mon, 31 May 2021 at 06:37, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
>
>> dalanicolai <at> gmail.com writes:
>>
>> > On Fedora with KDE, evaluating the function `xdg-mime-apps-files`
>> > (after
>> > loading the library `xdg`) causes a wrong argument error.
>> >
>> > The error is caused by the first dolist receiving a cons of strings
>> > (the desktop argument is and definitely should be a string). That cons
>> > should become a list.
>>
>> I'm guessing the code was only tested when XDG_CURRENT_DESKTOP isn't
>> defined -- then that cons is the right thing.  I've now pushed a fix to
>> Emacs 28 that should work when XDG_CURRENT_DESKTOP is defined, too.
>>
>> --
>> (domestic pets only, the antidote for overdose, milk.)
>>    bloggy blog: http://lars.ingebrigtsen.no
>>
>
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 360 days ago.

Previous Next


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