From: Lars Ingebrigtsen <larsi@gnus.org>
To: dalanicolai@gmail.com
Cc: 48748@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 [thread overview]
Message-ID: <87o8crmsbp.fsf@gnus.org> (raw)
In-Reply-To: <84bd27a3c27c489402603116e32f27bdeb9fb85e.camel@gmail.com> (dalanicolai@gmail.com's message of "Sun, 30 May 2021 20:00:42 +0200")
dalanicolai@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
next prev parent reply other threads:[~2021-05-31 4:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-30 18:00 bug#48748: 28.0.50; The xdg-mime-apps-files function contains a dolist over a cons of strings dalanicolai
2021-05-31 4:37 ` Lars Ingebrigtsen [this message]
2021-05-31 6:38 ` dalanicolai
2021-05-31 6:40 ` dalanicolai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o8crmsbp.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=48748@debbugs.gnu.org \
--cc=dalanicolai@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).