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


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: dalanicolai <at> gmail.com
Cc: 48748 <at> debbugs.gnu.org
Subject: bug#48748: 28.0.50; The xdg-mime-apps-files function contains a dolist over a cons of strings
Date: Mon, 31 May 2021 06:37:46 +0200
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




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.